On Thu, Feb 21, 2013 at 04:35:01PM -0800, lilyp...@umpquanet.com wrote: > > Then we could engrave that page in lilypond and post a link back > to the list saying "That page took me x minutes with Lilypond. > Here's the PDF showing how it looks, whaddya think?"
I don't do any ensemble scoring to speak of, but I used to play french horn, so I decided to take a crack at one wishlist example from the blog, the ability to: 1) label a staffgroup with a centered instrument name, instead of only being able to label each separate staff of the group; 2) splitting out separate instrument parts whilst also being able to flexibly combine parts on the conductor's score. Very old hat for most of the veterans on here, to be sure. My meager attempt is attached, with only one non-default bit of formatting. I wasn't sure, but I sort of remembered that horn scores are usually grouped 1st and 3rd, 2nd and 4th. Apologies if I have mis-numbered the individual parts. I will say that the merging of noteheads onto stems is probably the weak spot in my knowledge. The lower staff happened by chance, because all the stems naturally go up. The upper staff required setting both voices to 'voiceOne' to make the stems line up, and that probably wouldn't be the best solution in a larger example. Is there a better way to merge noteheads when possible, while keeping reasonable voiceOne / voiceTwo stems when not possible? The piece also generates several warnings about clashing note columns. And I realized that when I put several scores on the same page, I don't know how to put a page break between scores. But it does show separate and combined parts with no redundant specification of the music. If you change one note, that change takes effect in every system on the page. For extra credit, I transposed it for trombones, and offered a 1st trombone part in tenor clef if that's easier than reading lots of ledger lines.
\version "2.16.0" \include "english.ly" \paper { ragged-right = ##f } keyClefTime = { \clef treble \key g \major \numericTimeSignature \time 4/4 } hornA = \relative c'' { c2 c b b \bar "|." } % hornA hornB = \relative c' { e2 fs! fs! e \bar "|." } % hornB hornC = \relative c'' { g2 a g g \bar "|." } % hornC hornD = \relative c' { c2 d d d \bar "|." } % hornD \score { % this is the combined score << \new StaffGroup \with { instrumentName = #"4 Horns in F" } { << \new Staff { \keyClefTime << \new Voice { \voiceOne \hornA } \new Voice { \voiceOne \hornB } >> } % Staff \new Staff { \keyClefTime << \new Voice { \hornC } \new Voice { \hornD } >> } % Staff >> } % StaffGroup >> } % score % these are the individual parts \score { \new Staff \with { instrumentName = #"1st Horn" } { \keyClefTime \hornA } % staff } % score \score { \new Staff \with { instrumentName = #"2nd Horn" } { \keyClefTime \hornB } % staff } % score \score { \new Staff \with { instrumentName = #"3rd Horn" } { \keyClefTime \hornC } % staff } % score \score { \new Staff \with { instrumentName = #"4th Horn" } { \keyClefTime \hornD } % staff } % score % same thing, for a trombone choir: keyClefTime = { \clef bass \key c \major \numericTimeSignature \time 4/4 } tromA = \transpose c f, { \hornA } tromB = \transpose c f, { \hornB } tromC = \transpose c f, { \hornC } tromD = \transpose c f, { \hornD } \score { % this is the combined score << \new StaffGroup \with { instrumentName = #"4 Trombones" } { << \new Staff { \keyClefTime << \new Voice { \voiceTwo \tromA } \new Voice { \voiceTwo \tromB } >> } % Staff \new Staff { \keyClefTime << \new Voice { \tromC } \new Voice { \tromD } >> } % Staff >> } % StaffGroup >> } % score % these are the individual parts \score { \new Staff \with { instrumentName = #"1st Trom" } { \keyClefTime \clef tenor \tromA } % staff } % score \score { \new Staff \with { instrumentName = #"1st Trom" } { \keyClefTime \tromA } % staff } % score \score { \new Staff \with { instrumentName = #"2nd Trom" } { \keyClefTime \tromC } % staff } % score \score { \new Staff \with { instrumentName = #"3rd Trom" } { \keyClefTime \tromB } % staff } % score \score { \new Staff \with { instrumentName = #"4th Trom" } { \keyClefTime \tromD } % staff } % score
horns.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user