Polyphony in tablature: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Polyphony is created the same way in a <code>TabStaff</code> as in a regular staff.
Polyphony is created the same way in a <code>TabStaff</code> as in a regular staff.


<lilypond version="2.24.0">
<lilypond version="2.24">
upper = \relative c' {
upper = \relative c' {
   \time 12/8
   \time 12/8
Line 16: Line 16:


\score {
\score {
   <<
   \new StaffGroup = "tab with traditional" <<
    \new StaffGroup = "tab with traditional" <<
    \new Staff = "guitar traditional" <<
      \new Staff = "guitar traditional" <<
      \clef "treble_8"
        \clef "treble_8"
      \new Voice = "upper" \upper
        \new Voice = "upper" \upper
      \new Voice = "lower" \lower
        \new Voice = "lower" \lower
    >>
      >>
 
      \new TabStaff = "guitar tab" <<
    \new TabStaff = "guitar tab" <<
        \new TabVoice = "upper" \upper
      \new TabVoice = "upper" \upper
        \new TabVoice = "lower" \lower
      \new TabVoice = "lower" \lower
      >>
     >>
     >>
   >>
   >>
Line 34: Line 33:
[[Category:Fretted strings]]
[[Category:Fretted strings]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]