K:C T:Demo Features %% (optional) title of the song C:Mozart %% (optional) composer of the song M:4/4 %% (optional. default is 4/4) meter L:1/8 %% (optional. default is eighth) unit -- meter of isolated note %% %% (optional) 'comment', rest of line ignored when parsing %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% W: Optional comment fields: W: W: T: title of the song W: C: composer of the song W: K: (default is C major) key -- set by the key and mode you choose W: M: (default is 4/4) meter W: L: (default is eighth) unit -- meter of isolated note W: P: part title, appears above the following line of notes) W: \% 'comment', rest of line ignored when parsing W: W: Header / comment examples: W: W:T:Demo Features W:C:Mozart W:K:Am W:M:4/4 W:L:1/8 W:P:Main Theme W:\% this is a comment % "W: fields, such as \" Option comment fields\" appear below the song. See below!" 0 | "regular \ home octave simply uses digits [12]" 12 | "low octave uses commas [1,2,]" 1,2, | "a higher octaves uses tick(s) after the digits [1'2']" 1'2' | "transpose down an octave with [1,2, is @- 12] " 1,2, @- 12 | "transpose (back) with @+ up [@+ 12 is 12]" @+ 12 12 | "reset octaves [@+@+@+@+@+ @@ 11]" @+@+@+@+@+ @@ 11 | "only go up so far [@+@+@+@+@+ 12]" @+@+@+@+@+ 12 @@ | "similarly, only go down so far [@-@-@-@-@- 1''2'']" @-@-@-@-@- 1''2'' | "similarly, only go up so far with ticks [1'''''''''''']" @@ 1'''''''''''' | "transpose down just one note [1, is -1 and -1' is 1]" @@ 9999 -11, -1'1 | "up one note [+11 is 1'1]" @@ +11 1'1 | "sharp [^2]" ^2 | "flat [_3]" _3 | "natural irrespective of scale [=3] (try D major)" !courtesy!=3 | "rest [0] " 0 || % P: Length: Without duration modifiers, isolated notes are . . 0 P: . . 2 units (default 1/4), notes in cluster are 1 unit (default 1/8) "an isolated quarter [ 1 ]" 1 | "two eighths [12]" 12 | "four 16s [.1234]" .1234 | "dots keep halving [.12.3456]" .12.3456 | "o reverses dot [.12o3]" .12o3 | "modifiers: [1a 1b (lowercase 1B) 1c]" 1a 1b 1c | "more modifiers: slashes [1<1slash> 1<2slash> 1<3slash>]" 1/ 1// 1/// | % P: Sugar / Abbreviation "short (16th in 4\4, 8th in 6\8) - long [ 1<2 ]" 1<2 | "long (dotted-eighth in 4\4, quarter in 6\8) - short [ 1>2 ]" 1>2 | "short long short [1<2>3]" 1<2>3 | "single quote after space dot or o repeats note [ 1 .22o' ]" 1 .22o' | "also immediately after another one [ 1.'' '.'2 ]" 1.'' '.'2 | "and even with sugar [ 1<' 2>' 3<'>' ] " 1<' 2>' 3<'>' | " 2' equals 9 [ 2'9 ]" 2'9 | " 1' equals 8 [ 1'8 ]" 1'8 | P: Miscellany "some macros" | ::do:: ::re:: ::mi:: | "courtesy DS -- [ !D.S.! ]" !D.S.! 1 | "courtesy segno -- [!segno!]" !segno! 2 | "quote not beginning with roman-numeral (non-chord)" 1 | 2 | K:C "I quote beginning with roman I in C becomes C" 1 | 2 | K:Eb "I quote beginning with I, in Eb, becomes Eb" 1 | 2 | K:Cm "i begins with lowercase i, in Cm, becomes Cm" 1 | 2 | "misc fun with \"quotes\" yeah" 1 | 2 | K:C "P:Part B (works above next staff)" | P: Part B "Endings, eg 1st and 2nd -- |[a 1 |[b 2 " 00 | |[a 1 |[b 2 || " Multi stops: [58]d " [58]d | " (does not recognize 'isolated') [468] but can say [468]b " [468] [468]b || K:Cm " K:Cm .1234 .5432 1 " .1234 .5432 1 | K:C Phr =E =e " K:C Phr =E =e .1234 .5432 1" .1234 .5432 1 | K:C Phr " K:C Phr (no thirds mentioned) .1234 .5432 1" .1234 .5432 1 | M:4/4 " M:4\4 1 1>2 | 1<2 | 1<2>1" 1 1>2 | 1<2 | 1<2>1 | M:3/8 " M:3\8 1 1>2 | 1<2 | 1<2>1" 1 1>2 | 1<2 | 1<2>1 | " shuffle by || section: || 13 || .1234 .5678 || 31 || " 0 || 13 || .1234 .5678 || 31 || "End of demo..." 1 8 1 ||