[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: music stream exporter
From: |
Knut Petersen |
Subject: |
Re: music stream exporter |
Date: |
Thu, 12 Apr 2018 12:58:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Am 12.04.2018 um 07:47 schrieb Kim Shrier:
I was reading Erik Sandberg’s master’s thesis,
http://lilypond.org/website/pdf/thesis-erik-sandberg.pdf
and I am curious if the music stream exporter still exists
and is operational. A quick look through the sources
didn’t reveal anything to me but the existence of the
Dispatcher and and Stream_event classes makes me
think that his modifications to Lilypond were integrated.
The short answer is "no", ...
Any information about this would be appreciated.
... but maybe there is a solution for you.
My video generation code uses a bit of scheme to export
music events to a file. The fragment
\time 4/4 \tempo 4=120 \relative e' { e8 c4 r }
would be translated to
[...]
0.0 time 4 4
0.0 tempo 2.0
0.0 note 0.125 e'
0.125 note 0.375 c'
0.375 rest 0.625 NaP
[...]
Lilypond's event-listener.ly was my starting point.
Have a look at
https://lists.gnu.org/archive/html/lilypond-user/2017-07/msg00234.html
Knut