lilypond-user
[Top][All Lists]
Advanced

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

Re: Best name for function to create cross-style noteheads


From: Trevor Daniels
Subject: Re: Best name for function to create cross-style noteheads
Date: Thu, 30 Jul 2009 11:13:53 +0100


Carl Sorensen wrote Friday, July 24, 2009 2:07 PM

On 7/24/09 6:16 AM, "Trevor Daniels" <address@hidden> wrote:

The structure of the Notation Reference is designed
to accommodate documenting this.  The specialist
sections in NR 2 would contain an indexed description
of all the uses of crossed note heads.  For example,
under "Common notation for wind instruments" would
appear "key-slap" and "sub-tone", with a pointer to the
description of crossed note heads, which is already
described in NR 1.1.4 Note heads (#'style=#'cross).
Other uses of crossed note heads should be documented
similarly in the appropriate specialist sections.

Recognizing that we may want to change noteheads to
various styles, and that we may want to mix styles in a chord, it
might be a good idea to define a function \changeNoteHead that accepts a style parameter, and then define \xHead as \changeNoteHead #'cross.

I'm confused or missing something.  What's wrong
with

xHeadOn  = \override NoteHead #'style = #'cross
xHeadOff = \override NoteHead #'style = #'()

which works now?

I haven't tried this, and there may be some problems in making it work in a
chord, but I think it's worth a try.

This works

<e \tweak #'style #'cross a c>

but I don't know a way to invoke it with a
\xHead shortcut.

Carl

Trevor






reply via email to

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