Re: define function with glissando

2024-11-24 Thread Timothy Lanfear
On 24/11/2024 15:34, Walt North wrote: Thank you.  That is working great for a "slide into" function. How I'm trying to create a "slide out of" function.  I thought using /afterGrace woiuld be the ticket. In this case, you need to group the glissando as part of the first argument of the af

Re: define function with glissando

2024-11-24 Thread Walt North
Thank you.  That is working great for a "slide into" function. How I'm trying to create a "slide out of" function.  I thought using /afterGrace woiuld be the ticket. But I find that it works until I hide then grace notes.  Then it has the following bar check message. C:/Users/waltn/AppData/L

Re: define function with glissando

2024-11-24 Thread Timothy Lanfear
On 24/11/2024 06:27, Walt North wrote: I am working on a function to give myself a "slide into". Although I am not entirely sure why, the solution seems to be to include the \glissando within the scope of the \grace command. slideC = #(define-music-function (sNotes eNotes) (ly:music? ly:musi

define function with glissando

2024-11-23 Thread Walt North
I am working on a function to give myself a "slide into". I've been able to get something to work that accepts a single pitch but with two or more pitches.  I tried using both ly:pitch and ly:music (though I'm not sure what the ly:music type really represents). See attached code. It has some