lilypond-devel
[Top][All Lists]
Advanced

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

Re: interactive Lilypond


From: Nicolas Sceaux
Subject: Re: interactive Lilypond
Date: Sun, 28 May 2006 16:03:32 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Guido Amoruso <address@hidden> writes:

> 2. Creation of music expression. I'd like to be able to do something 
>    like
>
>      "(define music (parse-string "{c'' dd'}")"
>
>    in order to build scores both interactively and programmatically. I 
>    know there is "ly:parse-string", but I don't understand how it 
>    should work. This would be sure interesting in non interactive
>    use cases, too.

Look at scm/parser-ly-from-scheme.scm, where the #{ #} syntax is
implemented.
(define music #{ c'' dd' #}) should do it.

nicolas




reply via email to

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