On a related note (:;) this piece is a mixture of polyphony and monophony. Is there an example of the two with tablature?
--hsm On Wed, Nov 25, 2009 at 10:12 PM, Hugh Myers <[email protected]> wrote: > Thanks Carl, > > I'll give it a try... > > --hsm > > On Wed, Nov 25, 2009 at 10:10 PM, Carl Sorensen <[email protected]> wrote: >> >> >> >> On 11/25/09 9:45 PM, "Hugh Myers" <[email protected]> wrote: >> >>> The 2.10 manual says that: >>> >>> << \upper \\ \lower >> >>> >>> is equivalent to >>> >>> << >>> \new Voice = "1" { \voiceOne \upper } >>> \new Voice = "2" { \voiceTwo \lower } >>>>> >>> >>> Which in simple situations seems true enough. However as soon as >>> tablature is added the above is broken; for example: >>> >>> \version "2.13.7" >>> >>> firstPolyRepeatV = { >>> << >>> { r4 \times 2/3 {gis 8 b e } e,4 \times 2/3 {gis8 b e} e,2 } \\ { e,2.~e } >>> % \new Voice = "1" { \voiceOne { r4 \times 2/3 {gis 8 b e } e,4 >>> \times 2/3 {gis8 b e} e,2 } } >>> % \new Voice = "2" { \voiceTwo { e,2.~e } } >>>>> >>> } >>> { >>> >>> << >>> \time 3/4 >>> \set Score.barNumberVisibility = #all-bar-numbers-visible >>> \bar "" >>> \set Score.voltaSpannerDuration = #(ly:make-moment 3 4) >>> \new Staff \relative c'' { >>> \firstPolyRepeatV >>> } >>> \new TabStaff \relative c' { >>> \firstPolyRepeatV >>> } >>>>> >>> >>> } >>> >>> The shorthand for << \\ >> works as intended while the explicit >>> voicing fails. Work arounds? >> >> TabStaff needs TabVoice, not Voice, for explicit instantiation. >> >> voiceOneMusic = { r4 \times 2/3 {gis 8 b e } e,4 \times 2/3 {gis8 b e} e,2 } >> voiceTwoMusic = { e,2.~e } >> >> << >> ... >> >> \new Staff \relative c'' { >> << >> \new Voice = "1" { >> \voiceOne \voiceOneMusic >> } >> \new Voice = "2" { >> \voiceTwo \voiceTwoMusic >> } >> >> >> } >> >> \new TabStaff \relative c'' { >> << >> \new TabVoice = "t1" { >> \voiceOne \voiceOneMusic >> } >> \new TabVoice = "t2" { >> \voiceTwo \voiceTwoMusic >> } >> >> >> } >>>> >> >> >> HTH, >> >> Carl >> >> > _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
