lilypond-user
[Top][All Lists]
Advanced

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

Re: Arbitrary MIDI


From: David Kastrup
Subject: Re: Arbitrary MIDI
Date: Sun, 23 Feb 2020 15:17:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Cam <address@hidden> writes:

>> On 2020-02-22 9:22 p.m., David Kastrup wrote:
>>> Cam <address@hidden> writes:
>>> 
>>>> Is there any way to inject arbitrary bytes of data into the stream of
>>>> generated MIDI?
>>> No.
>>> 
>>>> There are times this would be convenient.
>>> You'll probably need a Midi sequencer or processor to get this done
>>> with
>>> LilyPond output.
>> 
>
>
>
> David,
>
> Thanks for the quick reply. At least your answer is clear and unequivocal :)
>
> I will work around.

The Midi backend is pure C++, not accessible to Scheme programming and
not even using Scheme garbage collection.  That would be good to change
some day, but that's a long-term perspective without currently ongoing
or even started work, and without a Scheme way into _any_ Midi,
generating arbitrary Midi bytes just does not appear to make a lot of
sense as they could not be usefully serialised.

One could conceive of a few special-cased "performers" that could pick
up data of certain kinds (generic controllers or stuff?): that kind of
thing might actually work without opening up Midi to Scheme in general.

But at the current point of time, there is nothing implemented, and more
importantly there is absolutely nothing you could do without going to
C++ first.

-- 
David Kastrup
My replies have a tendency to cause friction.  To help mitigating
damage, feel free to forward problematic posts to me adding a subject
like "timeout 1d" (for a suggested timeout of 1 day) or "offensive".



reply via email to

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