[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: |
Sun, 30 Mar 2014 16:31:59 +0100 |
I did reply, but you seem to have ignored that.
Anyway, making the following changes will give what you want:
melodyI = \relative c' {
s1*4 c4 d e f g a b c | b2 c | d1
}
(note the s1*4), and
\new Staff { <<
\new Voice = "intro" { \melodyIntro }
\new Voice = "part one" \with {\consists "Ambitus_engraver"} { \melodyI }
}
(note the << and >> to make this parallel music).
This will throw an error: "programming error: note-column has no direction".
That appears to be a bug:
http://code.google.com/p/lilypond/issues/detail?id=1113 (in a new guise).
--
Phil Holmes
----- Original Message -----
From: ayutheos
To: lilypond-user
Sent: Sunday, March 30, 2014 4:10 PM
Subject: Re: Ambitus on certain section only
On 29 March 2014 22:21, Pierre Perol-Schneider
<address@hidden> wrote:
Please provide compilable example.
See also : http://lsr.di.unimi.it/LSR/Search?q=ambitus
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
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Ambitus on certain section only, Phil Holmes, 2014/03/29
Re: Ambitus on certain section only, Thomas Morley, 2014/03/29