Le 17 mai 08 à 00:16, Joe Neeman a écrit :

On Sat, May 17, 2008 at 4:59 AM, Neil Puttock <[EMAIL PROTECTED]> wrote:
Hello,

In the thread about creating custom metronome markups
(http://lists.gnu.org/archive/html/lilypond-user/2008-04/ msg00629.html)
and the subsequent discussion at The LilyPond Report, Valentin
expressed the wish for a convenient way to convert duration strings to
durations.  Since I agreed, I thought I'd have a go at implementing an
exported scheme function in duration-scheme.cc which can be used
within lilypond files.

Attached is a patch with "My First C++ Code", which provides this
functionality. :)

Hi Neil,
This looks pretty good overall; my main complaint is that it is a bit too permissive in its parsing.

Uh, there is already a duration parsing function in
scm/define-markup-commands.scm. Why not just make it public and
rename it? It's a bit too permissive maybe, but still...

nicolas



_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to