Alex,
________________________________________
From: lilypond-user-bounces+james.lowe=datacore....@gnu.org 
[lilypond-user-bounces+james.lowe=datacore....@gnu.org] on behalf of Kieren 
MacMillan [kieren_macmil...@sympatico.ca]
Sent: 29 June 2011 18:46
To: m...@apollinemike.com
Cc: lilypond-user@gnu.org; Alex Jones
Subject: Re: help with pitchedtrill

Hi Alex (and Mike),

>> What I really want is the trill with a flat sign, but I didn't figure that 
>> one out.

This is what I do:

trillWithFlat = {
  \once \override TrillSpanner #'bound-details #'left #'text
    = \markup { \musicglyph #"scripts.trill" \smaller \raise #0.675 \flat }
}
trillWithNatural = {
  \once \override TrillSpanner #'bound-details #'left #'text
    = \markup { \musicglyph #"scripts.trill" \smaller \raise #0.75 \natural }
}
trillWithSharp = {
  \once \override TrillSpanner #'bound-details #'left #'text
    = \markup { \musicglyph #"scripts.trill" \smaller \raise #.875 \sharp }
}

\relative c' {
  \override TrillSpanner #'bound-details #'right #'padding = #1.75
  \trillWithFlat c1\startTrillSpan
  \trillWithNatural c1\stopTrillSpan\startTrillSpan
  \trillWithSharp c1\stopTrillSpan\startTrillSpan
  c1\stopTrillSpan
}

------------------

Kieren beat me to it. 

Actually there is a snippet here

http://lsr.dsi.unimi.it/LSR/Item?id=304

That is pretty much this same example. So i wonder if you were aware of the 
LilyPond Snippet Repository (LSR)?

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

Reply via email to