Re: music stream exporter

2018-04-12 Thread Kim Shrier

> On Apr 12, 2018, at 4:58 AM, Knut Petersen  wrote:
> 
> Am 12.04.2018 um 07:47 schrieb Kim Shrier:
> 
>> 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

This helps.  Thank you very much.
Kim



___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: music stream exporter

2018-04-12 Thread Knut Petersen

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
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: music stream exporter

2018-04-12 Thread David Kastrup
Kim Shrier <k...@westryn.net> writes:

> 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.

Nope.  Events are being processed as Stream_event, but there is no
coherent event stream anywhere, just individual events reaching the
dispatchers of contexts.

-- 
David Kastrup

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


music stream exporter

2018-04-11 Thread 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.

Any information about this would be appreciated.

Thanks,
Kim


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel