Skip to content

Flow Notation

Pitches, rhythms, bar lines, frame directives, marks, lyrics, harmony, and score edits in Flow.

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.
1FAndante = 92Morn-inglighta-cross 2Dm7Gm7thestreet,the 3BC7bellsbe-ginto 4Fchime. MORNING BELL1
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 treble
staff Vc Cello bass
staff Vox Voice treble sung
staff Tpt "Trumpet in Bb" treble sounds M2 down
staff PR+PL Piano treble+bass
staff Dr Drums percussion lines 5
bars 32
pickup 1/4
0 time 4/4
0 key Am
  • Staff syntax: staff <Id> <name> <clef> [sounds <interval> up|down] [sung].
  • 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 C D E F G A B Middle C (C4 = middle C quarter note)
Octave 5 c d e f g a b 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 r2
69 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).

Category Syntax
Articulations -. staccato, -> accent, -- tenuto, -^ marcato, -! staccatissimo, -_ portato, :espr, :stress, :unstress
Fingerings -1 to -5, -T (thumb), -3_4 (substitution), -p -i -m -a -c (guitar RH), -0 to -9 and -1-3 (brass)
Dynamics :ppp :pp :p :mp :mf :f :ff :fff :sfz :fp :sf :fz :rfz :rf :niente :dyn="sub. p"
Hairpins :< 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)
Ornaments & repeats :tr, :tr=db, :turn=db/B, :mordent=B, :prall=db, :gliss, :port, :arp, :nonarp, :8 :16 :32 :64 (tremolo; :32{C2 E} two-note tremolo)
Pauses & breath :fermata (.short, .long, .veryshort, .verylong, .henzeshort, .henzelong), :breath, :caesura, :lv
Noteheads & SMuFL :x, :dia, :ghost, :ox, :tri, :square, :rect, :slashed, :circled, :wedge, :highest, :lowest, :cluster, :head=<SMuFL>, :sym=<SMuFL>

Append ? to make a mark editorial (C4(? D) E~? E:f?).

Fields (ch, at, lyr)

Bar-level fields follow the bar’s notes in strict order: ch, at, lyr (plus fig, rn, fn for harmonic analysis).

  • ch (chord symbols and diagrams): The first symbol may stand bare; every subsequent symbol specifies its beat (@beat).
    85 Gtr: C1 ch Gm7 C7@3 | / ch G=320003 F=133211/134211@3
    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/8
17 key D
20 Vc clef tenor
1 tempo Brightly q=152
30-32 tempo rit.
17 mark
18 mark B
5-8 repeat
7-8 ending 1
9 ending 2
16 barline double
33 sign segno
48 jump D.S. al Coda
13 Tpt text harmon mute
5 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.
  • Doubling / instrument changes: 27 Rd1 instrument Clarinet sounds M2 down, then 40 Rd1 instrument Flute.
  • 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).
  • Percussion: Named kit pitches (bd, sn, ss, rim, hh, hho, hhp, hhho, cymc, cymr, rb, tomh, tommh, tomml, toml, tomf, etc.), sticking (-R, -L), and techniques (:rimshot, :z, :drag, :choke, :dead, :ghost).
  • Guitar & Tab: 0 Tab tuning E,, A,, D, G, B, E, 0 Tab capo 3, notes with :str=<n> (frets derive from pitch, tuning, and capo), :bend=A, :prebend=A, :release=G, :dive=C,, :return, :hammer, :pull, :tap, :slide, :strum.up, :strum.down.
  • Strings & Brass/Jazz: :upbow, :downbow, :snap, :open, :spicc, :harm=g'', :shift, -+ (stopped), :halfopen, :flutter, :tongue.double, :fall, :doit, :scoop, :plop, :rip, :harmon.open.

Edit Verbs

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
1Allegro = 124 2 3 4 STRING STUDY1

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:

After Editnotate engine · SVG
1 mark A
1 Vln add :mp
1@n1-@n4 Vln add slur
2 Vln add -.
3-4 Vln add :<
4@n1 Vln add :f
Allegro = 124A 2 3 4 STRING STUDY1
The engine applies all six lines atomically and re-engraves the system with collision-free spacing.
Operation Example Effect
add 12@n2 Tpt add -> / 3-5 Vln1,Vln2 add :< / 9@n1-@n3 Vox add slur Add a mark to one note, every note in a range, or span a line mark across a range
del 8 Vox del :fermata / 9-12 Fl del dynamics / 17 del key Remove a specific mark, a mark category (dynamics, hairpins, articulations, slurs, ties, beams, fingerings, marks, lyr, ch), or a frame directive
pitch 9@n3 Tpt pitch eb Change the pitch of one note
dur 9@3 Vln dur 4. Change a note’s duration (rests fill any gap)
put 12@2.5 Vln put c8 d4. Overwrite notation starting at a beat
clear 9-12 Fl clear Replace bars with rests
copy 9-12 Fl copy to Cl / 5-8 all copy at 21 / 3-4 Ob copy to Cl at 9 P8 down Copy music across staves, bars, or intervals in sounding pitch
cue 9-12 Tpt cue to Vox Copy bars as silent cue notes
transpose 21- all transpose M2 up / 71 PR/2 transpose P8 down Transpose bars (and concert keys when targeting all)
respell 20 Vox respell c# db Enharmonically respell matching pitches
cut 12-15 cut Delete bars from every staff
insert 10 insert 2 / 0 insert 2 Insert empty bars after bar N (or before bar 1 with 0)
rename 13 rename 12A Rename a bar number
staff / drop staff Fl2 Flute treble after Fl / drop Fl2 Add or remove a staff

Type to search…

↑↓ navigate↵ selectEsc close