Re: Lilypond API
Hello Brahim, Am Montag, den 16.03.2020, 10:31 + schrieb brahim.pro via Discussions on LilyPond development: > Hello, > > I would like to use lilypond parser in my own application. > I can't find any API or external library to do that. There is no such thing. > What is the correct approach you would advice me to follow? That very much depends on what you are actually trying to achieve. The typical way to use LilyPond from the outside is generate some input for it (or have users write that) and than pass it to LilyPond for compilation. This can be either by writing a file and give that to LilyPond or by directly passing it the content in a string through the shell. For some applications it may also be a way to use the python-ly library that powers the Frescobaldi (text) editor ( https://python-ly.readthedocs.io/en/latest/). But you should really clarify what you're after. Urs > > Thanks > Brahim > > Sent with [ProtonMail](https://protonmail.com) Secure Email.
Lilypond API
Hello, I would like to use lilypond parser in my own application. I can't find any API or external library to do that. What is the correct approach you would advice me to follow? Thanks Brahim Sent with [ProtonMail](https://protonmail.com) Secure Email.
Re: Lilypond API
Search the mailist; a way of running lilypond as a server and avoiding re-loading guile every time has been posted at least twice. I'm not aware of any API, nor any serious effort to write one. This could be a nice addition, though, so I would encourage your company to assign a developer to work on this and contribute GPL'd patches so that everybody can benefit. Cheers, - Graham On Fri, Jun 26, 2009 at 01:23:17PM +, M. Andria wrote: Hi, My company is working on a university project that involves management of very large music database ; we are using Lilypond to generate png images (programs written in C and also inside PHP scripts). As far as i know, the only way to call Lilypond is through the command line, which not optimal in the context of our project, mainly for performance and error management reasons (the system is supposed to be able to handle quickly a large number of concurrent calls). We are wondering wether an API for lilypond exists. The answer seems to be no... so i would like to ask you : Does it make sense to have this kind of feature (if no, how to deal with performance issues) ? do you plan to develop this in the future ? Thank you for your answer. Regards, M. Andria ___ 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
Lilypond API
Hi, My company is working on a university project that involves management of very large music database ; we are using Lilypond to generate png images (programs written in C and also inside PHP scripts). As far as i know, the only way to call Lilypond is through the command line, which not optimal in the context of our project, mainly for performance and error management reasons (the system is supposed to be able to handle quickly a large number of concurrent calls). We are wondering wether an API for lilypond exists. The answer seems to be no... so i would like to ask you : Does it make sense to have this kind of feature (if no, how to deal with performance issues) ? do you plan to develop this in the future ? Thank you for your answer. Regards, M. Andria ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
LilyPond API question
I am working on a Gtk-- notation application (well, still at the concepts though) and I'd like to use LilyPond for basic printouts and most of the syntax/structure of files. Does LilyPond already offer any realtime drawing functions for the score on a eg. gtk drawing surface or am I forced to write the whole workspace's note engraver engine on my own? - Matevz ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel