lilypond-user
[Top][All Lists]
Advanced

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

Strange behavior with slurs in Tab when overriding whiteout


From: David Stocker
Subject: Strange behavior with slurs in Tab when overriding whiteout
Date: Thu, 25 Mar 2010 10:34:05 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3

Has anyone encountered this? It seems like a bug. Using \override TabNoteHead #'whiteout = ##f causes slurs to jump to a different voice in the TabStaff when two voices are present.

For what it's worth, the very presence of the \override seems to be the trigger. In the first example, uncommenting the override and changing it to ##t yields the same result (only with whiteout around the tab numbers).

\version "2.13.16"

\include "english.ly"

fingers = {
  \relative c' {
    \voiceOne
    \partial 4
    %p
    e8( fs )
    %1
    g4
  }
}

thumb = {
  \relative c, {
    \voiceTwo
    \partial 4
    %p
    fs8 e
    %1
    e4
  }
}

\score {
  \new StaffGroup = "Guiter/Tab" {
    <<
      \new Staff = "notation" {
    \clef "treble_8"
    \key e \minor
    \numericTimeSignature
    \time 4/4
    <<
      \new Voice = "fingers" {
        \fingers
      }
      \new Voice = "thumb" {
        \thumb
      }
    >>
      }
      \new TabStaff = "tablature" {
    \clef "moderntab"
    %\override TabNoteHead #'whiteout = ##f
    <<
      { \fingers }
      { \thumb }
    >>
      }
    >>
  }
}

\score {
  \new StaffGroup = "Guiter/Tab" {
    <<
      \new Staff = "notation" {
    \clef "treble_8"
    \key e \minor
    \numericTimeSignature
    \time 4/4
    <<
      \new Voice = "fingers" {
        \fingers
      }
      \new Voice = "thumb" {
        \thumb
      }
    >>
      }
      \new TabStaff = "tablature" {
    \clef "moderntab"
    \override TabNoteHead #'whiteout = ##f
    <<
      { \fingers }
      { \thumb }
    >>
      }
    >>
  }
}
-- 
David Stocker
804-598-3762
http://notesettersinc.com

Attachment: whiteout-oddity.ly
Description: Text Data


reply via email to

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