|
From: | Mats Bengtsson |
Subject: | Re: polyphony in tablature |
Date: | Wed, 19 Aug 2009 18:15:28 +0200 |
User-agent: | Thunderbird 2.0.0.5 (X11/20070716) |
Carl Sorensen wrote:
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-stavesYou 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.
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).
/Mats
[Prev in Thread] | Current Thread | [Next in Thread] |