Am 20. Mai 2018 18:49:28 MESZ schrieb Mason Hock <address@hidden>:
On 05/20, Urs Liska wrote:
Hi Mason,
I'm not *fully* clear what you want to achieve, but the attached is
something Piaras Hoban once shared with the list.
Thanks for your response, Urs. This looks very close to what I need. If I can modify the solution so that the glissando terminates on an ordinary note (as opposed to a grace note) then it will be perfect.
If this is (close to) what
you need you might search the archives for posts by him.
In the archives I have found a post[1] by Piaras linking to a pdf of various effects, including this one, but it does not include the code used to acheive these effects. I also found a post[2] of yours in which you demonstrate the syntax as
\stemmedGlissando #'(15 . #f) c'4
which looks great, and state that Piaras wrote this function when you asked for such a function on the list. However, I was unable to find the thread in which he provided you with this function. Do you still have the code?
Piaras, I have cc'd you in case you can help out. I'll be very grateful if either of you can provide the code for stemmedGlissando.
Thanks,
Mason
[1] https://lists.gnu.org/archive/html/lilypond-user/2014-10/msg00313.html
[2] https://lists.gnu.org/archive/html/lilypond-user/2014-10/msg00252.html
Good luck
Urs
Am 19.05.2018 um 23:16 schrieb Mason Hock:
\version "2.19.81"
\language "english"
% starts an extended glissand
glon = {
\override NoteColumn.glissando-skip = ##t
\hide NoteHead
\override NoteHead.no-ledgers = ##t
\override Stem.thickness = #0.5
\override Accidental #'stencil = ##f
}
% terminates an extended glissando
gloff = {
\revert NoteColumn.glissando-skip
\undo \hide NoteHead
\revert Glissando #'stencil
\revert NoteHead.no-ledgers
\revert Stem.thickness
\revert Accidental #'stencil
}
% slightly increase slope of glissando so that line is
% not perfectly horizontal when glissing between notes
% on same staff line/space
glup = { \once\override Glissando.extra-dy = #0.5 }
gldown = { \once\override Glissando.extra-dy = #-0.5 }
\relative c' {
\glup c8 \glissando \glon c-_ d-_ e-_ \tuplet 5/4 { e-_ f-_ g g a } |
\gloff a a \gldown a \glissando \glon a a a \gloff af4 |
\gldown af2 \glissando \gldown g4( \glissando \glon f |
e) \gloff e r2 |
}
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user