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: ayutheos
Subject: Re: Ambitus on certain section only
Date: Sun, 30 Mar 2014 23:10:19 +0800

On 29 March 2014 22:21, Pierre Perol-Schneider <address@hidden> wrote:
Please provide compilable example.
HTH
~Pierre


I got the version number wrong, and cleaned up the code a bit for this example. Sorry about that.

%-----8<-----snip-start---------
\version "2.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 Staff {
            \new Voice = "intro"  { \melodyIntro }
            \new Voice = "part one"  \with {\consists "Ambitus_engraver"}  { \melodyI }
        }
    >>
}
%-----8<-----snip-end-----------

I'm getting an ambitus at the end of my 'melodyIntro' section as shown in the following screenshot.

http://imgur.com/p05dDMZ.png


Regards,
TY


reply via email to

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