lilypond-user
[Top][All Lists]
Advanced

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

Re: Ambitus on certain section only


From: Phil Holmes
Subject: Re: Ambitus on certain section only
Date: Sat, 29 Mar 2014 14:26:30 -0000


Not tested, but my suggestion would be to set is as a true polypohonic piece, using spacer rests in the melody during the introduction.

--
Phil Holmes
 
 
----- Original Message -----
From: ayutheos
Sent: Saturday, March 29, 2014 3:05 AM
Subject: Ambitus on certain section only

I have a piece of hymn music with an intro and melody parts. I'd like to
have the ambitus shown for the melody part only. The following snippet
almost does what I want but it shows the ambitus at the end of my intro
part.


%-----8<-----snip-start---------
\version "3.16.2"

melodyIntro = \relative c' {
    \clef treble
    \key c \major
    \time 4/4
    g2 a | g2 a |
    c4 d e f | c1 \break
}

melodyI = \relative c' {
    c4 d e f g a b c | b2 c | d1
}


\score {
    <<
        \new ChordNames {
            \set chordChanges = ##t
            \transpose c ees { \override ChordName #'font-size = #1
\harmonies }
            }
        \new Staff {
            \new Voice = "intro"  \transpose c ees { \melodyIntro }
            \new Voice = "part one"  \with {\consists "Ambitus_engraver"}  
\transpose c ees { \melodyI }
        }
    >>
}

%-----8<-----snip-end-----------


How do I display the ambitus for 'melodyI' only? The time and key signatures are same for both intro and melody.


Regards,
TY


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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