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.



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to