Hi Alejandro,
 
For what you are doing, you probably want to use libmidi; lilypond is
more like if your program created a tune and needed to render the score
on paper or on the screen.  If your program is in C  , you can use
libmidi directly.  If it is in another language, there are many
wrappers around libmidi available.
 
On Wed, 7 Apr 2010 11:32:42  0000 (UTC), Alejandro Piñeiro  wrote:
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
 >
 >




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

Reply via email to