[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shift-music
From: |
Rune Zedeler |
Subject: |
Re: shift-music |
Date: |
Tue, 20 Feb 2001 18:35:32 +0100 |
Laurent Martelli wrote:
> Based on smart-transpose, here's music-shift. It will just shift notes
> by one delta degrees in the current key. It's very usefull for
> typesetting scale execises.
Prettyprettyprettyneat :-)
> \pattern
> \apply #(lambda (x) (shift-music x 1))
> \pattern
> \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... :)
- shift-music, Laurent Martelli, 2001/02/20
- Re: shift-music,
Rune Zedeler <=