Am Fr., 30. Nov. 2018 um 09:19 Uhr schrieb Tyler Mitchell <fiss...@ldx.ca>:
>
> On Thu, Nov 29, 2018 at 10:10:16PM +0100, Thomas Morley wrote:
> > Hi,
> >
> > I once made below (here a little lifted up):
> >
> [...snip...]
> >
> > HTH,
> >   Harm
>
> Thanks, Harm, I'll give it a try, but it looks like I'll need to
> get on the -devel branch first. (I quickly attempted it on 2.18.2
> but it didn't work.)

Probably it's enough to use the music-function-default-arguments,
which can be omitted with newer versions, i.e.:

alternativeKey =
#(define-music-function (parser location p-1 p-2 scale-def)
     (ly:pitch? ly:pitch? number-pair-list?)
...

Cheers,
  Harm

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

Reply via email to