Flow Notation encodes the musical content of a number: staves, bars, pitches, rhythms, articulations, dynamics, lyrics, chord symbols, and edits. Every document consists of head declarations, frame lines, and bar lines.
Flow Notation → Engraved Scorenotate engine · SVG
staff Vox Voice treble sung
bars 4
1 time 4/4
1 key F
1 tempo Andante q=92
1 Vox: r4 C8:mp D F4 F8 G ch F lyr Morn- ing light a- cross
| A4( G8 F) G4:mf:< A ch Dm7 Gm7@3 lyr the _ _ street, the
| c4-. d-. c-> Bb:!:ff ch Bb C7@3 lyr bells be- gin to
| A2. r4 ch F lyr chime.
Every bar sums to its meter; dynamics, slurs, hairpins, chord symbols, and lyrics attach directly to the Flow line.
Document Head
Declare every staff, total bar count, optional pickup, and opening meter and key explicitly. Flow has no implicit defaults for clefs, time signatures, or keys.
staff Fl Flute treblestaff Vc Cello bassstaff Vox Voice treble sungstaff Tpt "Trumpet in Bb" treble sounds M2 downstaff PR+PL Piano treble+bassstaff Dr Drums percussion lines 5bars 32pickup 1/40 time 4/40 key Am
Staff IDs: Must start with a capital letter (Fl, Vln1, K1R). Every subsequent line references the staff by its ID, never by its display name. Quote names containing spaces ("Trumpet in Bb").
Braced keyboards: Join two staves with + (staff PR+PL Piano treble+bass). Each staff has its own bar lines.
Clefs:treble, bass, alto, tenor, treble8 (8 below), treble^8 (8 above), bass8, bass^8, bass15, treble15, treble^15, treble8?, soprano, mezzo, baritone, baritoneF, subbass, french, percussion lines <n>, tab, tab.french, tab.italian. No clef alters what letter represents a pitch.
Pickups:pickup 1/4 creates bar 0 of that length. Opening time and key lines then stand at bar 0 instead of bar 1.
Custom bar names:bars 1-8 8A 8B 9-32 names bars explicitly.
Places and Staff Selectors
Every line outside the head starts with a place, followed by a staff selector when the line targets specific staves.
Place
Meaning
9
Bar 9
9-12
Bars 9 through 12
9-
Bar 9 through the end of the number
9@3
Bar 9, beat 3 (beats always count quarter notes from 1; in 6/8, beats are @1 and @2.5)
9@3-11@2
Beat 3 of bar 9 through beat 2 of bar 11
9@1-@3
Beat 1 through beat 3 inside bar 9
9@2+1/3
Sub-grid offset (one-third of a quarter after beat 2)
9@n3, 9@last
Third note or last note of bar 9
9@end
Barline at the end of bar 9
Staff selectors accept a single ID (Vox), a comma-separated list (Vln1,Vln2), all, or a specific voice (Vln/2).
Bar Lines
A bar line writes up to four consecutive bars of one staff: <bar> <StaffId>: <bar1> | <bar2>. Bars count forward from the starting bar number. Every bar of every staff is written; runs of silent bars collapse into one rest line (1-26 Vox: R).
5 Vox: r4 E8 G c4 B8 A | G2. r4 | R | %
R alone in a bar is a whole-bar rest (R:fermata adds a fermata).
% repeats the previous bar. %% in each of two consecutive bars repeats the prior two bars; %%%% in four bars repeats the prior four.
%4 repeats the preceding beat (a quarter note long).
Pitch and Accidentals
Octaves are encoded by letter case and octave marks, never digits. A digit after a pitch is always a rhythmic length.
Octave
Pitches
Reference
Octave 2
C,,D,, … B,,
Low cello / bass
Octave 3
C,D, … B,
Below middle C
Octave 4
CDEFGAB
Middle C (C4 = middle C quarter note)
Octave 5
cdefgab
Octave above middle C (c2 = C5 half note)
Octave 6
c'd' … b'
Two octaves above middle C
Octave 7
c''
Three octaves above middle C
Accidentals:# (sharp), b (flat), ## (double sharp), bb (double flat). Write every sounding accidental on every note; accidentals do not carry across a bar and key signatures do not add them.
Microtones and editorial accidentals: Quarter tones use + (e+), #+ (e#+), d (ed), bd (ebd), or :cents=-14. Courtesy, bracketed, and editorial accidentals use !, ?, and ^ (f!4, f?4, Bb^4).
Lengths, Rests, Chords, Ties, and Slurs
Lengths:1 (whole), 2 (half), 4 (quarter), 8, 16, 32, 64, 128, 256, 512, 1024, plus 0 (breve), 00 (longa), 000 (maxima). Add . or .. for single or double dots.
Sticky lengths: Omitting a length reuses the preceding note’s length. Always state the length on the first note of every bar, every voice, inside a tuplet or grace group { }, and the first note immediately after a group.
Rests:r4 (visible rest), s4 (invisible spacer rest). Every bar’s durations must sum to its active meter.
Chords:<C E G>2, ordered low to high. q repeats the previous chord with its own marks: <D F A>4 q-. q-. q->. Per-pitch marks attach inside the angle brackets: <C-1 E~ G-5>4.
Ties and slurs:~ ties to the next note of the same pitch (C2~ | C4; ~C2 for an incoming tie at a second ending). Parentheses draw slurs (C4( D E)), nesting as C4(( D) E( F)).
Tuplets, Grace Notes, Voices, Beams, and Groups
65 PR: 3:2{C8 D E} r4 r2 | 5:4{C16 D E F G} r4 r269 PR: {c16 d} e4 {/b8} c4 r2 | << e2 d4 c / c4 B G2 >>141 Ob: c8[ r d] r r2 | c16:feather.accel[ d e f] r4 r2
Tuplets: Always specify both ratio numbers (3:2{C8 D E}, 5:4{...}, 7:8{...}). Lengths stand on notes inside the braces, never after }. Tuplets may nest (3:2{c8 d 3:2{e16 f e}}) or cross barlines with + (3:2{D2 E4~}+ | 3:2{E4 F2}).
Grace notes:{c16 d} c4 (acciaccatura/appoggiatura) and {/b8} c4 (slashed).
Voices:<< upper / lower >> (up to four voices separated by /), each summing to the same span.
Manual beaming:c8[ r d] beams explicitly; :nobeam forces flags; :split breaks inner beams; :feather.accel[ and :feather.rit[ draw feathered beams.
Groups::cue{c8 d e4} (silent cue notes), :opt{c8 d} (optional notes), :x{c4 c} (cross noteheads), :nostem{C4 D E}, :spoken{G8 G G4}, :box{c8 d e f} (repeat freely; :box=10s{...} for duration).
Ossia:c4 d e f ossia c8 d e f g a b c'.
Marks, Dynamics, and Lines
Marks attach directly after a note’s length in any order (C4-.:mf).
:< crescendo, :> diminuendo, closed by :! on the destination note (E4:mp:< F G A:!:f; :<.niente, :>.niente)
Spanner lines
Start with :name, end with :!name on the last note (c4:8va d e f:!8va; also :8vb, :15ma, :15mb, :22ma, :22mb, :cresc, :dim, :ped, :sost, :uc, :vib, :pm, :ring, :barre=1, :paren, :bracket, :lig, :color)
Supports slash chords (C7/E), alterations (G7#9, Am7b5, C7alt), (C7) optional, [Gb7] alternative, C7(omit3), D^C polychords, N.C., and guitar diagrams (C=x32010@3). / alone in a bar draws beat slashes; :beat{...} and :slash{...} draw beat or rhythm slashes inline.
at (mid-note marks): Places marks at exact beats inside sustained notes or on barlines: C1:p at :<@2 :!@4 :f@4, C1 at :fermata@end.
lyr (lyrics): Valid on sung staves. One syllable per sounding note (skipping rests, grace notes, and tied continuations). Use hyphens (walk- ing), _ for melismas (E4( F) G2 lyr A- _ men), ~ for elisions (mi~a), "..." for multi-word syllables or reserved words ("two words", "at"), and *word* for stress. Additional verses use lyr2, lyr3; voice-specific lyrics use lyr/2.
Analysis fields:fig (figured bass, G,2 A, fig 6 7@3, 4/2, _), rn (Roman/Nashville numerals, C1 rn I V7/V@3), fn (harmonic functions, C1 fn T D@3).
Frame Lines
Frame lines govern meter, key, tempo, rehearsal marks, repeats, barlines, instruments, and text. Each holds from its bar until replaced by the next line of its kind.
9 time 6/817 key D20 Vc clef tenor1 tempo Brightly q=15230-32 tempo rit.17 mark18 mark B5-8 repeat7-8 ending 19 ending 216 barline double33 sign segno48 jump D.S. al Coda13 Tpt text harmon mute5 text Vamp
Meter: Standard (4/4, 6/8, C, cut), additive (2+2+3/8, 2/4+3/8), alternating (3/4 6/8), irrational (4/3), fractional (2.5/4), mensuration (mens=O), free time (time none), single-bar override (12 length 2/4), and per-staff meter (1 Vln time 3/4).
Keys: Always written in concert pitch (1 key Bb); transposing staves display their transposed signatures automatically. Override a single staff with 17 Tpt key Ab written or 1 Cl key none. Modes (1 key E dorian) and custom signatures (1 key sig=Bb,Eb,F#) are supported.
Tempo: Words, metronome marks (q=80, q.=q), swing (swing, swing=16, straight), and spanners (30-32 tempo rit.).
Form:mark (auto-labelled by house) or mark B, repeat [x4], ending 1,2, barline (double, final, heavy, heavy-double, dashed, dotted, tick, short, none, normal), sign (segno, coda, segno2, coda2), jump (D.S. al Coda, D.C. al Fine, Fine, To Coda, Segue), pass (9-12 Tpt pass 2, pass 1,3, pass last), divisi (9-12 Vln divisi 2).
Words by role:text (default player direction; omit staff for system-wide), expr (dolce), state (PLAY, a 2), with (+Bass), name (Nell), ensemble (Ens//Women/Men), dialogue (NELL: Morning!//ABBOT: Late again.), stage (Lights fade), sync (01:00:37:14 door slams). Use // for line breaks.
Transposition, Instruments, and Specialized Staves
Transposing staves: Notes, chord symbols, and pitch-valued marks on a transposing staff (sounds M2 down, sounds P5 down, sounds M6 down, sounds P8 down) are stored in written pitch. Intervals on copy and transpose operate in sounding pitch; the engine computes each target staff’s written transposition automatically.
Keyboard: Cross-staff groups (:below{G8 E}, :above{c8 e}, :other{C8 D}), pedals (:ped, :!ped:ped, :ped.half, :sost, :uc), :arp.across, :patch=11, organ pedals (:lheel, :rheel, :ltoe, :rtoe), :accordion=121, harp pedals (12 Hp harp D C# B E F G A).
Every edit line modifies the score without renumbering bars until a then separator. Rewriting a bar line replaces its notes and only the fields present on that line (9 Vox: lyr2 now the updates verse 2 while keeping notes and other fields).
Before and After a Flow Edit
Start with a bare four-bar violin phrase:
Before Editnotate engine · SVG
1 time 4/4
1 key D
1 tempo Allegro q=124
1 Vln: d4 e f# g | a4 f# d2 | g4 f# e d | e2. r4
Apply six Flow edit lines to add rehearsal mark A, dynamics, a phrase slur, staccato dots on bar 2, and a crescendo hairpin into bar 4: