lilypond-devel
[Top][All Lists]
Advanced

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

Re: harmonics and slides (issue3590041)


From: Patrick Schmidt
Subject: Re: harmonics and slides (issue3590041)
Date: Sat, 11 Dec 2010 20:44:15 +0100


Am 11.12.2010 um 18:03 schrieb Carl Sorensen:

On 12/11/10 9:54 AM, "Patrick Schmidt" <address@hidden> wrote:

IMHO I think we want to have \hideNotes apply to TabVoice. I tried to
achieve glissandi with an indefinite beginning/ending (but in vain):

You can test this really easily.


Simply add

\override TabNoteHead #'transparent = ##t

after line 233 of ly/property-init.ly, and

\revert TabNoteHead #'transparent

after line 243 of ly/property-init.ly

You could do so, and make it part of this patch.

Thanks,

Carl

Wow, that was easy! Unfortunately some overrides are necessary in order to make the glissandi look half decent. The problem is that it seems to be impossible to find an optimal setting for both staffs and tab staffs. Without the overrides the slides are not visible in normal staffs (not even with a 400 % zoom-in). With these overrides glissandi are longer in TabStaffs than in Staffs. And because of these overrides this snippet would have to go in selected snippets rather than the body of the chapter?!

slides = {
  \override Glissando #'minimum-length = #4
\override Glissando #'springs-and-rods = #ly:spanner::set-spacing- rods
  \override Glissando #'thickness = #2
  c'8\3\glissando( d'8\3)
  c'8\3\glissando d'8\3
  \hideNotes
  \grace { \stemDown g16\3\glissando } \unHideNotes
  c'4\3
  \afterGrace d'4\3\glissando { \stemDown  \hideNotes
  g16\3 }
}

\score {
        <<
        \new Staff { \clef "treble_8" \slides }
        \new TabStaff {
          \new TabVoice {
                \tabFullNotation
                \slides
          }
       }
        >>
}

Thanks,

patrick

PNG image



reply via email to

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