Re: Library to embed LilyPond in other programs

2023-05-31 Thread Richard Shann
On Wed, 2023-05-31 at 11:46 +0200, Jean Abou Samra wrote:
> Le mercredi 31 mai 2023 à 13:31 +1000, Andrew Bernard a écrit :
> > I'd still be interested to know in rough outline how Denemo lets
> > you add single notes in a GUI and have the feedback from lilypond
> > so quickly.
> 
> As far as I know, it does not use LilyPond for the GUI preview that
> you edit on the fly, only for the final rendering.
> 
Sorry I missed this thread so far (denemo-de...@gnu.org is better for
this topic).

Denemo does a crude typesetting and audio playback so you can see the
music and hear it as you enter. It optionally also runs LilyPond in the
background so you can see the final typeset. This typesetting can be
restricted to just a few bars either side of the current note (and/or a
few staffs) which is usually good for larger scores.

HTH

Richard.




Re: Library to embed LilyPond in other programs

2023-05-31 Thread Jean Abou Samra
Le mercredi 31 mai 2023 à 13:31 +1000, Andrew Bernard a écrit :
>  
> I'd still be interested to know in rough outline how Denemo lets you add 
> single notes in a GUI and have the feedback from lilypond so quickly.

As far as I know, it does not use LilyPond for the GUI preview that you edit on 
the fly, only for the final rendering.



signature.asc
Description: This is a digitally signed message part


Re: Library to embed LilyPond in other programs

2023-05-30 Thread Andrew Bernard
I'd still be interested to know in rough outline how Denemo lets you add 
single notes in a GUI and have the feedback from lilypond so quickly.


Frescobaldi is a different matter as it compiles the whole score and 
then just displays the generated PDF.


And I wonder what the OP wants to achieve?

Andrew


On 31/05/2023 11:05 am, Jean Abou Samra wrote:

Le mercredi 31 mai 2023 à 11:00 +1000, Andrew Bernard a écrit :

How does Denemo do it? Mr Shann?




It generates LilyPond code (which you can also export if I'm not 
mistaken).


Re: Library to embed LilyPond in other programs

2023-05-30 Thread Jean Abou Samra
Le mercredi 31 mai 2023 à 11:00 +1000, Andrew Bernard a écrit :
> How does Denemo do it? Mr Shann?
> 


It generates LilyPond code (which you can also export if I'm not mistaken).




signature.asc
Description: This is a digitally signed message part


Re: Library to embed LilyPond in other programs

2023-05-30 Thread Andrew Bernard

How does Denemo do it? Mr Shann?

Andrew


On 30/05/2023 4:22 pm, Jean Abou Samra wrote:


There is no liblilypond, but it is naturally possible, and common, to 
spawn LilyPond in a subprocess.






Re: Library to embed LilyPond in other programs

2023-05-30 Thread Lucas Monteiro
Thank you very much.

On Tue, May 30, 2023 at 3:22 AM Jean Abou Samra  wrote:

>
>
> Le 30 mai 2023 à 07:22, Lucas Monteiro  a
> écrit :
>
> 
> Hello everyone.
>
> I'd like to know if there is any way of embedding a LilyPond interpreter
> in a C/C++ program (For example: A library that provides the functionality
> to the regular downloaded executable).
>
>
>
> Welcome. For your information, I had to approve your post manually as a
> moderator because you aren't subscribed to the list. I suggest that you
> subscribe on https://lists.gnu.org/mailman/listinfo/lilypond-user; you
> may then opt out of receiving posts to the list in your member preferences
> if you wish.
>
> There is no liblilypond, but it is naturally possible, and common, to
> spawn LilyPond in a subprocess.
>
> Best,
>
> Jean
>
>
>
>


Re: Library to embed LilyPond in other programs

2023-05-30 Thread Jean Abou Samra


> Le 30 mai 2023 à 07:22, Lucas Monteiro  a écrit :
> 
> 
> Hello everyone.
> 
> I'd like to know if there is any way of embedding a LilyPond interpreter in a 
> C/C++ program (For example: A library that provides the functionality to the 
> regular downloaded executable).


Welcome. For your information, I had to approve your post manually as a 
moderator because you aren't subscribed to the list. I suggest that you 
subscribe on https://lists.gnu.org/mailman/listinfo/lilypond-user; you may then 
opt out of receiving posts to the list in your member preferences if you wish.

There is no liblilypond, but it is naturally possible, and common, to spawn 
LilyPond in a subprocess.

Best,

Jean





Library to embed LilyPond in other programs

2023-05-29 Thread Lucas Monteiro
Hello everyone.

I'd like to know if there is any way of embedding a LilyPond interpreter in
a C/C++ program (For example: A library that provides the functionality to
the regular downloaded executable).

Thanks in advance