[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Polyphony and TabStaff Context
From: |
Mats Bengtsson |
Subject: |
Re: Polyphony and TabStaff Context |
Date: |
Wed, 29 Sep 2004 17:18:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 |
The real problem is that the construct << {...} \\ {...} >>
only makes sense within ordinary staves, since it creates two new
Voice contexts.
If you want a corresponding version that works in the TabStaff
context, you have to do something like:
partitionTab = \notes {
\relative c' {
\time 3/4
c4 << \new TabVoice { \stemUp f d e } \new TabVoice { \stemDown b c2
} >>
}
}
Also, watch out with your use of <<...>>. Only use them when you
actually want several simultaneous voices/staves/... Use {...}
otherwise:
\score {
\context StaffGroup <<
\context Staff {
\clef "G_8"
\partition
}
\context TabStaff {
\partitionTab
}
>>
}
/Mats
address@hidden wrote:
Hi all,
it seams, that there is a problem with polyphony and TabStaff context.
The notes get drawn twice in \context Staff and none in \context
TabStaff
greetings
Alexander
example:
\version "2.2.5"
partition = \notes {
\relative c' {
\time 3/4
c4 << { f d e } \\ { b c2 } >>
}
}
\score {
\context StaffGroup <<
\context Staff <<
\clef "G_8"
\partition
>>
\context TabStaff <<
\partition
>>
>>
}
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================