Thank you Simon!
You're inspiring a follow up question:could one make a function in scheme
that splits on | and transforms my input into your example then?

\parallelMusicExtended    #'((chordmode . chords) voiceA (lyricmode .
lyricsOne) (lyricmode . lyricsTwo))   {
  c2. |
  c2 e8 c |
  ma -- zing __ _ |
  grace that __ _ |

  c2.:7/g |
  e2 d4 |
  grace how |
  taught my |
}

and that'll call what you typed? Is that a thing?
(I mean: it looks at each pair, and if it's (foo bar) it uses \foo for
variable bar)

I seem to recall the | in parallelMusic is not a real barcheck, it's just a
segmentation point, I've used this before, when I occasionally need a
couple bars because of my baree macros, for example (you can't open brace,
then use | inside, so if the barree spans a couple bars, I just put the |
at the second bar's end, and all seems to work just fine).



On Sun, Mar 15, 2026 at 12:07 PM Simon Albrecht <[email protected]>
wrote:

> Obviously,
>
> \parallelMusic #'(chords voiceA lyricsOne lyricsTwo) {
>    \chordmode { c2. } |
>    c2 e8 c |
>    \lyricmode { ma -- zing __ _ } |
>    \lyricmode { grace that __ _ } |
> }
>
> [...] should work.
>
>

-- 
Luca Fascione

Reply via email to