lilypond-user
[Top][All Lists]
Advanced

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

RE: Rolled Chord


From: Mark Stephen Mrotek
Subject: RE: Rolled Chord
Date: Tue, 28 Jan 2014 11:49:05 -0800

Joram,

You exemplify the best of what the user's group has to offer. Thank you for 
promoting my learning of Lilypond!

Mark

-----Original Message-----
From: Noeck [mailto:address@hidden 
Sent: Tuesday, January 28, 2014 10:27 AM
To: Mark Stephen Mrotek; address@hidden
Subject: Re: Rolled Chord

Hi Mark,

I think you do not really need scheme for what you want to do here. You just 
need to know, that LilyPond uses the # sign to switch to the scheme mode and 
properties are set or overriden with scheme values.

#(here you can put a whole scheme function)

or just a single value

#scheme-value

The whole section
5.2 Explaining the Internals Reference
of the notation reference would be interesting for you, in particular:
http://www.lilypond.org/doc/v2.18/Documentation/notation/layout-interfaces

Am 28.01.2014 18:53, schrieb Mark Stephen Mrotek:
>  inquiry was prompted by locating the command " tieWaitForNote (boolean). " I 
> understand boolean. Of the use of " \set " and the hash marks, I did not.

What you need to know in addition is the context: Voice.
And that boolean in scheme means #t (true) or #f (false).

Then there is this annoying distiction between graphical objects and context 
properties which is explained here:
http://www.lilypond.org/doc/v2.18/Documentation/notation/set-versus-override.html

For your case it is a context property of the Voice context, that means you 
need \set (not \override).

\set Voice.tieWaitForNote = ##t

Voice can be omitted (Staff not), so you can write:

\set tieWaitForNote = ##t

If it was not boolean but for example a number like:

\set Staff.fontSize = #4

then you still need one # after the =
and because it is not the lowest context, you need to write "Staff".

Does it get clearer now?

Cheers,
Joram


PS: If you are not tired yet: This was true for changes within music 
expressions, i.e. within { }. You can change settings in \layout blocks (inside 
and outside of scores) and \with statements and the syntax is slightly 
different. If you need this and the manuals aren’t clear enough, please ask 
again.

PPS: I still dream of this syntax:
\set Context.[GraphicalObject.]property = 4 everywhere.




reply via email to

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