matthewh806 / killing_me_softly_with_his_dsp

A collection of small audio experiments, applications & prototypes
0 stars 0 forks source link

Pulsar: Improve the MIDI bus approach #51

Open matthewh806 opened 1 year ago

matthewh806 commented 1 year ago

The way MIDI is being handled in the processor isn't ideal. The main issue is that there are allocations and locks in the processBlock method.

In both cases an abstract fifo could be used (this is whats done in MidiLoggerPluginDemo.h, see the MidiQueue class). From what I've read online that is a viable approach, though I need to read a bit more in depth about how the FIFO is thread safe.