lilypond-user
[Top][All Lists]
Advanced

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

Re: creating a function to automate slides in guitar music


From: Michael Hendry
Subject: Re: creating a function to automate slides in guitar music
Date: Mon, 4 Feb 2019 15:56:56 +0000

> On 4 Feb 2019, at 04:54, John Doe <address@hidden> wrote:
> 
> Hi, LilyPond users,
> 
> First post, here. I'm trying to create a function that adds falling
> gliss lines to a note or chord, as commonly seen in modern guitar
> transcriptions. (N.B. I'm talking notation, not tablature.) I posted a
> a question on [StackOverflow][so] which led to a rough working
> version, but it only works reliably if music is entered in absolute
> mode. Naturally, I want it to work everywhere! So, I broke down and
> subscribed to this list.
> 
> I want to model a function on the [example][ex] in the snippets documentation:
> 
>    \afterGrace d'\glissando { \once \hideNotes g16 }
> 
> If I could access the pitches of the music given to the function, I
> could possibly just write a grace chord down a few steps and avoid the
> issue of whether it is absolute or relative. How can I access the
> pitches of the given music (note/chord) to accomplish this?
> 
> I probably haven't thought this through all the way either, so if
> anyone knows how to solve this problem (or if it's already solved),
> input would be greatly appreciated.
> 
> Thanks!
> 
> Randy

This works for me, Randy:

    \override Glissando #'style = #'zigzag
    \once \override Glissando #'(bound-details left Y) = #+3
    | r4 r8 ees'~ ees4 \glissando ges,8 ess

It’s an extract from Clifford Brown’s “Sandu”, and I think I got the method 
from this list some years ago, and involves a gliss from the 13th fret on the D 
string (Eb) down to the 4th fret (Gb).

You may have to tweak the +3 to get what you want, but I expect the expert who 
supplied it will be able to explain in due course.

HTH

Michael





reply via email to

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