[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Any way to use lilypond as a library? (embeded)
From: |
Alejandro Piñeiro |
Subject: |
Any way to use lilypond as a library? (embeded) |
Date: |
Wed, 7 Apr 2010 11:32:42 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
I would to ask if there are any way to use parts of lilypond as a library of a
different application (use lilypond embeded).
Right now I'm using Ubuntu, and there are only available lilypond, lilypond-data
or lilypond-doc packages. There isn't anything similar to lilypond-dev
As far as I see lilypond only includes executables.
Why I ask that?
I'm creating a little application and I would like to create simple midi files
on the fly, but I would like to avoid to enter in midi internals (avoid to waste
my time reinventing the wheel). And lilypond file format is really easy to use.
So my idea is:
* My program creates a tune.
* Create a string with the lilypond description.
* Calls a function, and it creates a external midi file
* My program uses the midi file.
Of course, other alternative could be:
* My program creates a tune
* Creates a external lilypond file
* Calls lilypond to parse this string->creates midi file
* Uses the file
But, I think that the second one is more slow.
Thanks for your attention.
- Any way to use lilypond as a library? (embeded),
Alejandro Piñeiro <=