Sorry! I pressed the send button mistakenly! Here's the message: I see! Actually, if I'm not mistaken \partcombine is suited for only two voices. But there's hope: See if this is what you expect: (Notice that for the other voices I used skips instead of rests, so the rest would be placed in the normal position. There may be different ways of adjusting that)
%% Example starts music = \relative c' { c4 c8 c8 c4 \oneVoice r4 } musicTwo = \relative c' { e4 e8 e8 e4 s4 } musicThree = \relative c' { g4 g8 g8 g4 s4 } \score { << \new Staff = test { \new Voice << \voiceOne \music \musicTwo \musicThree >> } \new Staff { \relative c' { <c e g>4 <c e g>8 <c e g>8 <c e g>4 r4 } } >> } \paper { ragged-right = ##t } %% Example ends One problem you may run into is that all the ties will have the same direction. In this case you could change their direction tweaking TieColumn properties. Eduardo ----- Original Message ----- From: Simon Dahlbacka To: Eduardo Vieira Cc: lilypond-user@gnu.org Sent: Wednesday, June 21, 2006 10:57 AM Subject: Re: DYI \chordcombine On 6/21/06, Eduardo Vieira <[EMAIL PROTECTED]> wrote: Hi! Isn't \partcombine what you need? well... No, as can be seen from the example. (depending on if the \oneVoice:s are commented or not, I get different, but equally bad results.) Basically, I want to input the music as non-chords, but want lilypond to view them as chords. %% Example starts music = \relative c' { %\oneVoice c4 c8 c8 c4 r4 } musicTwo = \relative c' { %\oneVoice e4 e8 e8 e4 r4 } musicThree = \relative c' { %\oneVoice g4 g8 g8 g4 r4 } \score { << \partcombine { \partcombine \music \musicTwo } \musicThree \new Staff { \relative c' { <c e g>4 <c e g>8 <c e g>8 <c e g>4 r4 } } >> } \paper { ragged-right = ##t } %% Example ends ----- Original Message ----- From: Simon Dahlbacka To: lilypond-user@gnu.org Sent: Tuesday, June 20, 2006 3:49 PM Subject: DYI \chordcombine I've been wanting something like \chordcombine, i.e. combine multiple voices into chords if they occur at the same time and same duration (possible edge cases not taken into account right now) How hard would it be to put together something like that myself, (a person knowing close to nothing about scheme, but programmer by profession). That is, is it feasible, or should I just forget it right away? regards, Simon _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user