lilypond-user
[Top][All Lists]
Advanced

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

Re: glissando without start note?


From: BB
Subject: Re: glissando without start note?
Date: Thu, 18 Feb 2016 18:06:35 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Thank you for the link. With the definition of "repeatGliss" indeed a glissando without starting note is possible!

repeatGliss = #(define-music-function (grace)

(ly:pitch?)

#{

% the next two lines ensure the glissando is long enough

% to be visible

\once \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods

\once \override Glissando.minimum-length = #4.5

\once \hideNotes

\grace $grace \glissando

#})

\score {

\relative c'' {

{ r4 \repeatGliss d g2 e4 }

{ r4 \repeatGliss f e2 d4 }

}

}


With the "virtual" (unvisible) start note it is possible to control the angle of the glissando line. Nice!
Thank you.

On 18.02.2016 17:22, Federico Bruni wrote:
Have you tried to adapt the snippet in the documentation?

http://www.lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-lines.html#glissando

Search the repeatGliss function

Il 2016-02-16 13:09 BB ha scritto:
With stringed instruments a playing technique (mainly in Rock, Pop,
Blues, Jazz) to get some acoustic effect is to slide up a string to a
defined fret without a real starting fret. I tried a noatation:

% 1st trial

{e'4

 r4

\glissando e'''2 |

}

% glissando does not work

For optical reasons I tried to make the rest to a starting point of
the glissando - does not work?

% 2nd trial

{e'4

 r4

\once \hide NoteHead

\once \hide Stem

\grace g'

\glissando e'''2 |

}

% \grace to avoid bar time length problem !

 That works but it is optical not stisfacting, I would say it is ugly.


% 3rd trial

%{

{e'4

\once \hide NoteHead

\once \hide Stem

< r4 \grace g'>

\glissando e'''2

}

%}
 That would come close to my intention, but does not work either.

 Is there any nice solution?


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



reply via email to

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