Il giorno Tue, 26 Jan 2010 12:47:17 +0100
"Bertalan Fodor (LilyPondTool)" <lilypondt...@organum.hu> ha scritto:
> I think you must either use TabVoice or Voice. You can't include a
> simple Voice into a TabStaff and vice versa.
OK.
I've found a solution with \keepWithTag and \removeWithTag.
See attached file.
\version "2.13.11"
guitar = \relative c' {
% Monophony
c4 d e f |
%% Temporary polyphony
<<
{
\voiceOne
c4 d e f |
}
\tag #'temp-voice {
\new Voice {
\voiceTwo
c,1 |
}
}
\tag #'temp-tabvoice {
\new TabVoice {
\voiceTwo
c1 |
}
}
>>
% Back to monophony
\oneVoice
c'4 d e f |
}
\score {
\new StaffGroup <<
\new Staff {
\clef "G_8"
\keepWithTag #'temp-voice
\removeWithTag #'temp-tabvoice
\guitar
}
\new TabStaff {
\keepWithTag #'temp-tabvoice
\removeWithTag #'temp-voice
\guitar
}
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user