Trevor: Thanks for helping me over the learning curve.
Mark -----Original Message----- From: Trevor Daniels [mailto:[email protected]] Sent: Sunday, August 18, 2013 12:48 AM To: Mark Stephen Mrotek; [email protected] Subject: Re: purpose of commands Hi Mark This snippet is rather contrived and misleading. I think it should be removed from the docs, or at least replaced with one which shows when the definition of voiceFive is really necessary - when explicitly defining voices. First, the \voicexxx commands are unnecessary when using the << {}\\{}>> construct. They have to be placed here only because the voices are entered in the incorrect order. If instead the five voices are entered from voice one to voice five in order omitting voice four everything works fine without having to define \voiceFive, as shown below. The bar "||" has no effect in the position shown. It should be at the end of one of the five music expressions. Try this: % voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice) \relative c'' { \time 3/4 \key d \minor \partial 2 << { % \voiceOne a4. a8 e'4 e4. e8 f4 d4. c8 \bar "||" } \\ { % \voiceTwo d,2 d4 cis2 d4 bes2 } \\ { % \voiceThree f'2 bes4 a2 a4 s2 } \\ % no voice four \\ { % \voiceFive s2 g4 g2 f4 f2 } >> } or this voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice) \relative c'' { \time 3/4 \key d \minor \partial 2 << \new Voice { \voiceOne a4. a8 e'4 e4. e8 f4 d4. c8 \bar "||" } \new Voice { \voiceTwo d,2 d4 cis2 d4 bes2 } \new Voice { \voiceThree f'2 bes4 a2 a4 s2 } \new Voice { \voiceFive s2 g4 g2 f4 f2 } >> } Trevor ----- Original Message ----- From: "Mark Stephen Mrotek" <[email protected]> To: <[email protected]> Sent: Sunday, August 18, 2013 7:55 AM Subject: purpose of commands > Hello: > > > > The attached snippet, commands.ly, is from > > http://www.lilypond.org/doc/v2.16/Documentation/notation/multiple-voices.htm > l. > > > > 1. What is the purpose/effect of the first line? > > 2. What is the purpose/effect of the command \bar "||" before > voiceTwo? > > > > Thank you. > > > > Mark > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user > _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
