lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DYI \chordcombine


From: Simon Dahlbacka
Subject: Re: DYI \chordcombine
Date: Wed, 21 Jun 2006 16:57:22 +0300



On 6/21/06, Eduardo Vieira <address@hidden> 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: address@hidden
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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]