[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shift-music
From: |
Han-Wen Nienhuys |
Subject: |
Re: shift-music |
Date: |
Tue, 20 Feb 2001 19:11:12 +0100 |
address@hidden writes:
> > \apply #(lambda (x) (shift-music x 2))
> > \pattern
>
> But this is not so neat.
> Isn't it possible to define some short of shortcut for this, somehow?
> Lilypond functions... :)
>
> shift[1] = \apply #(lambda (x) (shift-music x \1))
> ...
> \pattern \shift[1] \pattern \shift[2] \pattern
>
> Oh, it would be neat'n'nice... :)
Yes, this will be there in the future, but I can guarantee you it
will be scheme based, eg.
\music #(sequential-music (apply-music shift-music .. )
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen/