Language Reference
An OpenScofo score is a plain-text .scofo file. It combines configuration, musical events, and computer actions.
// Minimal score
BPM 60
NOTE C4 1
sendto delay [1]
NOTE D4 1
delay 1 tempo sendto granular [open]
File Structure
| Element | Purpose | Reference |
|---|---|---|
| Comments | Human notes in the score | Comments |
| Configuration | Tempo, sample rate, low-level settings | Configuring a Score |
| Events | What OpenScofo listens for | Musical Events |
| Actions | What the computer does | Computer Actions |
| Lua | Optional custom logic | Lua |
File Extension and Editors
Use .scofo.
- VS Code: OpenScofo Language Parse extension
- Neovim: OpenScofo Neovim configuration
- Browser: OpenScofo Online Editor

Comments
// one-line comment
/*
multi-line comment
*/
See also: Core Language Concepts.