lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Microtonal midi output


From: Graham Breed
Subject: Re: Microtonal midi output
Date: Mon, 10 May 2021 17:40:45 +0100

On 09/05/2021, Hans Åberg <haberg-1@telia.com> wrote:
>
>> On 9 May 2021, at 19:31, Lukas-Fabian Moser <lfm@gmx.de> wrote:
>>
>> I looked into it a bit today, and I can gladly report that (while the code
>> still needs some cleaning up), I managed to patch my LilyPond to
>> automatically generate the MTS messages that Graham's Python script adds
>> in post-processing. (Of course, that wouldn't have been possible without
>> being able to use Graham's code as a cheat sheet!)
>
> Graham also wrote some C++ code for generating MTS pitches that was not
> integrated into LilyPond, I think.

I didn't write any C++ but I looked at the C++ code and it looks
trivial to change the pitch bend messages to MTS.  What would be more
difficult is adding all the options so that either pitch bends or MTS
would work — or remembering the current state so you only need to send
a message when something changes.

I tested with FluidSynth, and there's an update that I don't think I
pushed.  I think it was that you need to use the all devices Device ID
(0x7f) instead of the channel number.


                        Graham



reply via email to

[Prev in Thread] Current Thread [Next in Thread]