lilypond-user
[Top][All Lists]
Advanced

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

Re: polyphony in tablature


From: Marc Hohl
Subject: Re: polyphony in tablature
Date: Wed, 19 Aug 2009 18:26:22 +0200
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

Mats Bengtsson schrieb:


Carl Sorensen wrote:

You forgot that tabStaff needs tabVoice, and both of your constructs used
Voice contexts, instead of tabVoice contexts.

The first, << ... \\ ... >>, implicitly creates Voice contexts.

The second explicitly creates Voice contexts.

I think you've found a good enhancement request -- make << \\ >> apply to
tabVoice if it's in a tabStaff context.
It already does if you use the same trick as is described in http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Common-notation-for-percussion#Percussion-staves
I have modified your example into
version "2.13.3"

poly = \relative c' {
   << {c1} \\ {a4 g f e} >> a1
}

\score {
   <<
   \new StaffGroup = "tab with traditional" <<
     \new Staff = "guitar traditional" <<
         \clef "treble_8"
         \poly
     >>
     \new TabStaff = "guitar tab" <<
      \new TabVoice = "1" {s1}
      \new TabVoice = "2" {s1}
      \poly
     >>
   >>
 >>
}

which works as expected. Notice that the duration of the spacing note (s1 in the above example) has to be long enough to keep the corresponding context alive until the (beginning of the) last << ... \\ ... >> used in the piece (see also http://lists.gnu.org/archive/html/lilypond-user/2005-05/msg00016.html which exploits an still undocumented feature/bug).
Ok, thanks for clarification! Still, it would be great if this would work
without fiddling with the right amount of s1*x, if this is possible.

Marc

    /Mats


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






reply via email to

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