On Wed, 11 Apr 2018, 08:17 Felix D., <felix.d...@gmail.com> wrote: > Hello Lilypond-Fans, > > I have a question: Does Lilypond have an API that can be simply called > from other programs to render some markup (stored as a string) into a SVG > file? > > We want to use Lilypond in an Unity app/game, wich will be used by many > musicians and thus requires some decent staff rendering. We basically > program in C#, but there is an easy bridge to interface with C/C++ > libraries. So calling an API should not be a huge problem, but does it even > exist and is documented somewhere? > > I asked in the IRC a few hors ago, and received a brief "No, it doesn't > exist". Bit is that really the abrupt end of the story, or is there some > other possibility to call Lilypond from an external program? > > Cheers > Felix D. > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond only has one "function", so you would be well on the way to turning it into a library by renaming main() ;-) Vaughan >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user