Dear Lilypond users,

A brief followup question regarding this technique of assigning noteheads.

I am using the notehead glyph technique to set noteheads, but have run into trouble trying to change noteheads within a chord. Continuing with the cowbell example code that Fredrik originally sent me below, the following does not set the notehead of 'g' in this chord to a triangle...
< c  e \cowbell  g >
...all three notes show regular noteheads.

If someone can illuminate how to set noteheads within a chord, I'd appreciate it!

Best regards,
Nick Didkovsky

On 5/15/14 6:55 PM, Fredrik Wallberg wrote:
Hi Nick,

you'll find more noteheads here: http://www.lilypond.org/doc/v2.19/Documentation/notation/the-feta-font#shape_002dnote-notehead-glyphs.

This snippet by Victor Adan shows how to use them in a score: http://lsr.di.unimi.it/LSR/Snippet?id=475.

An example:

cowbell = {
    \once \override NoteHead.stencil = #ly:text-interface::print
\once \override NoteHead.text = #(markup #:musicglyph "noteheads.d2doThin")
    }

{
    \cowbell
    c''4
}

/ Fredrik


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to