[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 21:15:31 +0100 |
address@hidden writes:
> >>>>> "Laurent" == Laurent Martelli <address@hidden> writes:
>
> >>>>> "Rune" == Rune Zedeler <address@hidden> writes:
>
> Rune> But this is not so neat. Isn't it possible to define some
> Rune> short of shortcut for this, somehow? Lilypond functions... :)
>
> Laurent> And it does not work as expected (at least not for me) for
> Laurent> keys other than C major. But I'm working on it.
>
> That should work. However, I have to explicitly pass the key to
> shift-music. Does anybody knows how to get it automatically ?
There is no "the" key signature of a piece of music, since key
signature is a property of the staff, not of the music. That being
said, you can search for a music object containing the property
'pitch-alist, but that only works if you specify a keysignature for
every scale sequential music.
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen/