[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: converting music stream back to ly code
From: |
Janek Warchoł |
Subject: |
Re: converting music stream back to ly code |
Date: |
Sun, 17 Nov 2013 11:59:38 +0100 |
David, Jan-Peter,
2013/11/15 David Kastrup <address@hidden>:
> Janek Warchoł <address@hidden> writes:
>
>> a quick question: given some lilypond code
>>
>> { c2 d e f }
>
> in what form? Text? Music expression?
I meant the textual form.
>> is it/would it be possible to get its music stream representation,
>> manipulate that music stream and convert it back to lilypond code?
>
> What do you call "its music stream representation"? LilyPond does not
> have something like a music stream. It has music expressions, and it
> can iterate them resulting in stream events in a certain order (and
> there is some event recorder for the part combiner and music quotes that
> can save those events).
ok, i got confused by Erik Sandberg's thesis as i don't know Lily
internals in this area. Sorry about that.
Thanks for the information; it seems that it's not so easy to do what
i was thinking of. So, nevermind.
best,
Janek