Re: help with pitchedtrill

2011-07-05 Thread Alex Jones
Thanks very much, this worked well.

Best,

Alex

On Jun 29, 2011, at 1:46 PM, Kieren MacMillan wrote:

 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
 }
 
 Hope this helps!
 Kieren.

--
Alex K. Jones
Associate Professor
Electrical and Computer Engineering
University of Pittsburgh
http://www.pitt.edu/~akjones






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


Re: help with pitchedtrill

2011-06-29 Thread m...@apollinemike.com
On Jun 29, 2011, at 3:27 PM, Alex Jones wrote:

 Couple of questions:
 I'm trying to use pitchedTrill, but its creating a problem when I have a tie 
 coming off the note:
 
 score.ly:125:88: warning: unterminated tie
 \pitchedTrill d4~ \startTrillSpan \! ees d16 \stopTrillSpan b (g ees 
 \pitchedTrill d4~) 
   
 \startTrillSpan ees d16 \stopTrillSpan b (g a)
 
 The score comes out ok, but I get the above warning.
 
 What I really want is the trill with a flat sign, but I didn't figure that 
 one out.

You can put a markup above the note:

a4\trill^\markup { \flat }

or

a4\startTrillSpan^\markup { \flat } a4\stopTrillSpan

 
 Also, is there a workaround to get a break where you have a glissando?

\override Glissando #'breakable = ##t

Cheers,
MS
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: help with pitchedtrill

2011-06-29 Thread Kieren MacMillan
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
}

Hope this helps!
Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: help with pitchedtrill

2011-06-29 Thread James Lowe
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