lilypond-user
[Top][All Lists]
Advanced

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

RE: help with pitchedtrill


From: James Lowe
Subject: RE: help with pitchedtrill
Date: Wed, 29 Jun 2011 23:41:19 +0000

Alex,
________________________________________
From: address@hidden address@hidden on behalf of Kieren MacMillan address@hidden
Sent: 29 June 2011 18:46
To: address@hidden
Cc: address@hidden; 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


reply via email to

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