lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Music functions with pitch and duration arguments


From: Han-Wen Nienhuys
Subject: Re: Music functions with pitch and duration arguments
Date: Fri, 22 Jul 2011 12:50:37 -0300

On Fri, Jul 22, 2011 at 3:32 AM, David Kastrup <address@hidden> wrote:

>>> Anyway, this is not particularly complex either.  Could possibly pave
>>> the way for a nicer function for setting up strings for tabulatures.
>>> Also stuff like \transpose can be implemented by users with a
>>> straightforward syntax accepting just pitches where pitches are asked
>>> for, without the user needing to disassemble music in order to get at
>>> the pitch somewhere in the center of the mess.
>>
>> It would be awesome to implement \transpose (and relative, for that
>> matter) as a music function.
>
> Not likely a speed gain.


It's not for speed. I have always been annoyed by the special parser
rules for those, so it would be neat to be able to drop those.


>> It seems to be missing the init for the _proc variables you added,
>> though.
>
> No.  They are created by the existing calls of IMPLEMENT_TYPE_P in
> pitch.cc and duration.cc and initialized there.

Ah, I forgot.  LGTM then.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]