lilypond-user
[Top][All Lists]
Advanced

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

Re: drawing glissando line with (gliss) as text across line


From: Ryan Michael
Subject: Re: drawing glissando line with (gliss) as text across line
Date: Wed, 22 Jun 2016 14:48:23 -0700

Interesting. your example works perfectly in itself. But when I port it over to my score I get the following error: 

 Wrong type argument in position 1 (expecting Stencil): ()

I believe it calls it on this line: 

     (spanner-stencil-x-length (interval-length (ly:stencil-extent spanner-stencil X)))

Here is a gist of the score: https://gist.github.com/ebbnormal/62a8893942a5e6f91735afdf77f2081a
I basically make a simple call to \glissandoTextOn as you do before I use \glissando. 

Any ideas?

On Wed, Jun 22, 2016 at 2:15 PM, Thomas Morley <address@hidden> wrote:
2016-06-22 22:42 GMT+02:00 Ryan Michael <address@hidden>:
> Hello, I am trying to engrave the following gesture:
>
> %%%%%%%%%%%%%%%%%
> bes16\glissando
> \tuplet 3/2{ aes8\glissando-\markup{\teeny"glissando between Ab and Bb"}
> \once \hide NoteHead a8\glissando  \once \hide NoteHead a16\glissando
> bes16~}
> %%%%%%%%%%%%%%%%%%%%
>
>
> my idea is to draw the first 16th note, have a visible line connect that
> 16th the the next 8th note with the word ("gliss") appear across the line
> like the first measure of this graphic:
>
> http://sites.siba.fi/documents/705861/705966/SingleGlissando1.png/3a9d5ef5-617d-460b-bfba-e3688ca67a4b?t=1371409410781
>
> how can i do that?
> currently, even using the /glissando command between the bes16 and the aes,
> lilypond does not draw a visible line. Should I increase the width of the
> bar so it is actually visible?
>
> Thanks!
> Ryan.

Hi Ryan,

attached some old code of mine, still compiling, could likely need
some revision, though. Maybe somebody can provide something more up to
date.

Anyway, hth,
  Harm



--
ॐ नमः शिवाय

reply via email to

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