Re: Fw: I wrote a MIDI to Lily front end; also questions about video

2023-12-07 Thread Robin Bannister
Karlin High wrote: FluidSynth can do it. I use VLC Player which I think contains it. Prior post explains: My contribution to that thread is outdated: midi returned to VLC with version 3.0.8 Cheers, Robin

Re: accessing current file name in markup function

2023-12-07 Thread Jean Abou Samra
> Documentation question from trying to understand *location* in David's > solution: > > I found that function in the IR documentation[1], but I could not find the > definition of a sip: > > > > Function: ly:input-file-line-char-column sip > > Return input location in sip as (file-name line

Re: Fw: I wrote a MIDI to Lily front end; also questions about video

2023-12-07 Thread Karlin High
On 12/7/2023 12:48 PM, Stefano Antonelli wrote: Is downloading soundfonts 'standard practice' for working with midi on Windows? Would anyone wanting to use ly2video on windows already know this if they are familiar with midi? I doubt it is common for Windows users to interact with soundfonts.

Re: Fw: I wrote a MIDI to Lily front end; also questions about video

2023-12-07 Thread Stefano Antonelli
On Thu, 2023-12-07 at 12:37 -0600, Karlin High wrote: > On 12/7/2023 12:30 PM, Stefano Antonelli wrote: > > It's the same deal for fluidsynth which doesn't come with sound > > fonts. > > What's the windows way to convert midi to wav? > > FluidSynth can do it. I use VLC Player which I think

Re: accessing current file name in markup function

2023-12-07 Thread Jeff Olson
On 12/6/2023 3:48 PM, David Kastrup wrote: \version "2.24.2" locationOf = #(define-scheme-function () () (apply format #f "~a:~a:~a:~a" (ly:input-file-line-char-column (*location* \markup { \locationOf } Documentation question from trying to understand *location* in David's

Re: Fw: I wrote a MIDI to Lily front end; also questions about video

2023-12-07 Thread Karlin High
On 12/7/2023 12:30 PM, Stefano Antonelli wrote: It's the same deal for fluidsynth which doesn't come with sound fonts. What's the windows way to convert midi to wav? FluidSynth can do it. I use VLC Player which I think contains it. Prior post explains:

Re: Fw: I wrote a MIDI to Lily front end; also questions about video

2023-12-07 Thread Stefano Antonelli
On Thu, 2023-12-07 at 02:43 +, Chris Korda wrote: > Doesn’t LilyPond already contain python? There’s a python.exe in the > bin folder, and it appears to run the python scripts that come with > LilyPond, can I just use that to run ly2video? I’m guessing not > because that would be too easy.

Re: accessing current file name in markup function

2023-12-07 Thread Werner LEMBERG
>> Thanks! However, Jean's statement >> >> > markups don't store location info, unfortunately. >> >> is still true, which means that you can't access the current input >> location within `define-markup-command`. > > Yes, sure, but you could inject this during parsing. [...] I'm doing very

Re: accessing current file name in markup function

2023-12-07 Thread Valentin Petzel
Am Donnerstag, 7. Dezember 2023, 06:47:56 CET schrieb Werner LEMBERG: > >> Maybe a bit less esoteric: > > Or even less esoteric: > Thanks! However, Jean's statement > > > markups don't store location info, unfortunately. > > is still true, which means that you can't access the current input >

Harp_pedal_engraver: an overengineered solution to a niche problem

2023-12-07 Thread Saul Tobin
Hello friends, I’ve found that one of the more cumbersome tasks in Lilypond is engraving chromatic music for concert harp. When entering markups manually for each pedal change, it’s difficult to achieve clean and consistent formatting, and very easy to make errors. I’d like to share my solution