mirror of https://github.com/patacrep/patacrep.git
Browse Source
* Preparing for parsing of `{define: FOO}` statements * Brackets can now contain several space-separated chords (as in `[A/A B#]`).pull/79/head
Louis
9 years ago
7 changed files with 80 additions and 77 deletions
@ -1,13 +1,16 @@ |
|||||
\[ |
\[ |
||||
((- content.key -)) |
(*- for chord in content.chords -*) |
||||
(* if content.alteration == '#' *)#(* endif -*) |
(* if not loop.first *) (* endif *) |
||||
(* if content.alteration == 'b' *)&(* endif -*) |
((- chord.key -)) |
||||
(* if content.modifier *)((content.modifier))(* endif -*) |
(* if chord.alteration == '#' *)#(* endif -*) |
||||
(* if content.add_note *)((content.add_note))(* endif -*) |
(* if chord.alteration == 'b' *)&(* endif -*) |
||||
(* if content.bass -*) |
(* if chord.modifier *)((chord.modifier))(* endif -*) |
||||
/ |
(* if chord.add_note *)((chord.add_note))(* endif -*) |
||||
((- content.bass[0] -)) |
(* if chord.basskey -*) |
||||
(* if content.bass[1] == '#' *)#(* endif -*) |
/ |
||||
(* if content.bass[1] == 'b' *)&(* endif -*) |
((- chord.basskey -)) |
||||
(* endif -*) |
(* if chord.bassalteration == '#' *)#(* endif -*) |
||||
|
(* if chord.bassalteration == 'b' *)&(* endif -*) |
||||
|
(* endif -*) |
||||
|
(* endfor -*) |
||||
] |
] |
||||
|
Loading…
Reference in new issue