Hi Tobias, This topic is also of interest to me, so I googled for "lilypond piano reduction" and eventual found the vocal template with automatic piano reduction, from which I derived the example below. It uses \partcombine which, perhaps unfortunately, takes only two arguments. However, I found that I could put two rhythmically similar parts in << >> and get the desired effect.
HTH,
Mike
sopMusic = \relative c'' {
e4 e e8[( d)] e4
}
mezzoMusic = \relative c'' {
c4 c c8[( b)] c4
}
altoMusic = \relative c' {
e4 f d e
}
tenorMusic = \relative c' {
g4 a f g
}
bassMusic = \relative c {
c4 c g c
}
\score {
<<
\new PianoStaff <<
\new Staff <<
\set Staff.printPartCombineTexts = ##f
\partcombine << \sopMusic \mezzoMusic >> \altoMusic
>>
\new Staff <<
\clef bass
\set Staff.printPartCombineTexts = ##f
\partcombine \tenorMusic \bassMusic
>>
>>
>>
}
On Thu, Dec 30, 2010 at 5:21 AM, Phil Holmes <[email protected]> wrote:
> Just checking - you can obviously do what you want from a presentation
> perspective, since you've provided an example that looks like it came from
> LilyPond. I presume you did this using chords, but you want to avoid using
> chords in your application?
>
> The way I would do this would be to use:
>
> \override NoteColumn #'ignore-collision = ##t
>
> and then set the alto and soprano parts in voiceOne, and the tenor part in
> voiceTwo. You do not need to set these for the duration of the piece, so
> when you cross the tenor part to the other stave, you can put the command
> \voiceTwo in the alto part and it will now be set into the second voice. You
> can also set \voiceOne for the tenor part. You may also want to do:
>
> \override NoteColumn #'ignore-collision = ##f
>
> at the same point.
>
> Let us know how you get on.
>
> --
> Phil Holmes
>
>
> ----- Original Message ----- From: "Tobias Braun" <
> [email protected]>
> To: "Phil Holmes" <[email protected]>
> Cc: <[email protected]>; "LilyPond User Group" <
> [email protected]>
> Sent: Thursday, December 30, 2010 1:50 AM
> Subject: Re: Staff change in piano music - a general approach?
>
>
>
> Sorry about the "reply all" thing, I forgot that.
>
> I wasn't aware I was sending an HTML e-mail, sorry. That must have been my
> webmail client.
>
> What I actually want to achieve is to have it look as uncluttered as
> possible. It should be easy to read when playing it on the piano. I'd
> basically like to merge all three voices into as few stems as possible. E.g.
> the notes of the first beat in measure 1 which basically form a chord
> consisting of three notes of the same duration played at the same time
> should appear as "stacked", not next to each other. There is no need to be
> able to distinguish the individual voices.
>
> As this is kind of hard to describe, please have a look at the attached
> PDF. I guess I'd prefer the first measure to look like "Variant 1", but
> "Variant 2" would be acceptable as well. (I achieved this sample PDF through
> <> chord syntax, which is not of much use to me as I already have the
> individual voices in continuous form.)
>
> Regards,
> Tobias
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
<<attachment: partcombine.png>>
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
