lilypond-user
[Top][All Lists]
Advanced

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

Re: how to write a scheme function to override glissando properties


From: Marc Hohl
Subject: Re: how to write a scheme function to override glissando properties
Date: Tue, 14 Dec 2010 20:16:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

Am 14.12.2010 14:25, schrieb Patrick Schmidt:
Hi all,
Hi Patrick,

I noticed that glissandi are quite often hardly visible in a Staff-context. There is also a huge difference in the look of glissandi in Staff- and TabStaff-contexts. I'd like to write a function to adjust these differences for Staffs and TabStaffs separately but I don't even manage to manipulate the look in general. I'd be very grateful if someone showed me what's missing in the following code alternatives:

[...]

Don't you think that you could introduce global values within a layout block which fit
for the whole document?

Something like

\layout {
  \context {
    \Voice
    \override Glissando #'minimum-length =#<best value for staves>
    \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
  }
  \context {
    \TabVoice
    \override Glissando #'minimum-length = #<best value for tab staves>
    \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
  }
}

Regards,

Marc



reply via email to

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