Re: Glissando function

2014-03-23 Thread Benjamin Fluehr
Thank you for the great advice, Thomas and David. I was able to construct my desired function as follows: \version "2.18.0" % Voice leading lines are drawn as dashed glissandi voiceLine = #(define-music-function (parser location staffA staffB noteA noteB) (string? string? ly:music? ly:music?)

Re: Glissando function

2014-03-21 Thread David Kastrup
Thomas Morley writes: > 2014-03-20 13:41 GMT+01:00 David Kastrup : >> >> That's actually a different problem: you cannot attach articulations to >> music events in variables. You can probably futz around this a bit by >> using things like >> >> < $NoteA >\glissando >> >> but of course that only

Re: Glissando function

2014-03-20 Thread Thomas Morley
2014-03-20 13:41 GMT+01:00 David Kastrup : > Benjamin Fluehr writes: > >>> The examples in the manual don't really require Scheme knowledge. >> >> Mostly true, but my lack of Scheme knowledge prevents me from fully >> understanding the error messages when things go wrong. Here is my attempt: >> >>

Re: Glissando function

2014-03-20 Thread David Kastrup
Benjamin Fluehr writes: >> The examples in the manual don't really require Scheme knowledge. > > Mostly true, but my lack of Scheme knowledge prevents me from fully > understanding the error messages when things go wrong. Here is my attempt: > > \version "2.18.0" > > crossGlissando = > #(define-

Re: Glissando function

2014-03-20 Thread Benjamin Fluehr
> The examples in the manual don't really require Scheme knowledge. Mostly true, but my lack of Scheme knowledge prevents me from fully understanding the error messages when things go wrong. Here is my attempt: \version "2.18.0" crossGlissando = #(define-music-function (parser location noteA

Re: Glissando function

2014-03-20 Thread David Kastrup
Benjamin Fluehr writes: > I'm afraid my relative ignorance of Scheme is hindering me here. The examples in the manual don't really require Scheme knowledge. > The LilyPond > documentationincludes > the

Glissando function

2014-03-19 Thread Benjamin Fluehr
I'm afraid my relative ignorance of Scheme is hindering me here. The LilyPond documentationincludes the following example of a cross-staff glissando: e'''2\glissando \change Staff = "left" a,,4\glissando