On Thu, 19 Mar 2020, Pablo Cordal wrote:
Hi everyone,
May be this is not the right forum to expose this question but I'm sure that
some of you guys are not lilypond expert users but expert programmers too and
may be you
can give me a hand, so here goes my problem:
I'm writing a small visual basic program where I enter some notes in lilypond language
and then I press the button "save". Then the program creates a .ly file. Then
I go to Frescobaldi, open the file and compile it --> a pdf and midi files are
created, then I can listen to the midi file.
What I need is to generate the pdf and midi file from visual basic directly. Is
there any way I can use the compile functionality of Frescobaldi from visual
basic?
if so, I could listen to the midi file and watch the pdf directly in visual
basic saving a lot of time.
Hi Pablo,
Don't know anything about Visual Basic, but it's the lilypond.exe
binary that you need to call to do the work for you directly. I am sure
Visual Basic can call external commands?
MT