Skip to main content


Revisiting a topic I haven't written about in a while, integrating #midi library RtMidi's event loop with other #Perl event loops.

The previous approach relied on a forked process (routine) which did little else but send back MIDI bytes via a channel, plus it only targeted IO::Async.

The approach described here should be simpler and more flexible, even if it does mean I had to write C. (I used to be paid to write C - this should terrify you).

@PerlFFI made this easy!

fuzzix.org/revisiting-async-an…

This entry was edited (1 week ago)