Hello,

>>The first problem is that the function doesn't actually work syntactically if 
>>I want to omit one of the voices.

Well, if you opt to type all four voices (as though they are resting) using s, 
your code actually really works to your favor. Here’s my attempt (replace lines 
"\relative b’ {“ until “}” with the following:

%%%BEGIN%%%

{
  \key b \minor
  \time 3/4
  \voices 
  { fis''4 g'' fis''8 e'' | fis''4. s4. | b'8 e'' d'' cis'' d'' b' |ais'4. g'8 
fis' e'! | b'4 a'! g'16   fis' ( g'8 )   | \tweak Dots.extra-offset #'(-1.15 . 
0) cis''4. d''8 e''4 } 
  { d''4 d'' s | \tweak Dots.extra-offset #'(0 . 1) d''4. e''8 d'' cis'' | g'4 
e' eis' | fis'4. s4. | s2. | s2.  }
  { fis'4 s cis'' | s2. | s2. | s2. | fis'4 e' s4 | g'2 fis'4 } 
  { b4 e' a' | d'4. s4. | s2. | s2. | d'4 cis' b| a2 ais4 }
}

%%%END%%%

NB: I ended up not using \relative; I don’t like \relative pitch entries; it 
somehow confuses me (haha). It’s also perhaps because I typeset lots of 
non-tonal pieces so WYSIWYG makes most sense to me.

What Choan suggested may be useful to you, too. That said, your scheme code 
works and thanks for giving me (us) something to read, decipher, and study.

Yoshi

-- -- --
Yoshiaki Onishi
https://github.com/yoshiakionishi/lilypond-snippets






Reply via email to