lilypond-user
[Top][All Lists]
Advanced

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

Re: \change Staff don't work fine


From: Mario Moles
Subject: Re: \change Staff don't work fine
Date: Tue, 13 Sep 2011 19:03:48 +0200
User-agent: KMail/1.13.6 (Linux/3.0.4-desktop-nrj.69mib; KDE/4.5.5; x86_64; ; )

In data martedì 13 settembre 2011 17:24:49, hai scritto:

> On 13 September 2011 17:07, Mario Moles <address@hidden> wrote:

> > Any idea? Thank's!

> >

> > [code]

Ok! Great! Thank you!

>

> That's because you use the << \\ >> construct, which implicitly

> creates voices "1" and "2" in *both* staves.

>

> Please use explicitly instantiated voices instead and it should work

> fine. See the modified \score block below.

>

> I hope we would have less problem with this when issue #1316

> http://code.google.com/p/lilypond/issues/detail?id=1316

> will be fixed!

>

> Cheers,

> Xavier

>

> %%%% Modified \score block

>

> \score {

> \new PianoStaff \with {

> instrumentName = "Pf."

> } <<

> \new Staff = "right" \with {

> midiInstrument = "acoustic grand"

> } {

> <<

> \new Voice = "rightOne" {

> \voiceOne

> \rightOne

> }

> \new Voice = "rightTwo" {

> \voiceTwo

> \rightTwo

> }

>

> }

> \new Staff = "left" \with {

> midiInstrument = "acoustic grand"

> } {

> \clef bass

> <<

> \new Voice = "leftOne" {

> \voiceOne

> \leftOne

> }

> \new Voice = "leftTwo" {

> \voiceTwo

> \leftTwo

> }

>

> }

>

> }

>

> %%%% End


--

oiram/bin/selom


reply via email to

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