On Wed, 2 Apr 2014 19:56:54 +0000
Fons Adriaensen <fons(a)linuxaudio.org> wrote:
On Wed, Apr 02, 2014 at 08:47:12PM +0100, Will Godfrey
wrote:
The jack ring buffer is already used for data
transfers
from jack midi to the dsp code
Why would you want to do that ? Jack MIDI is received by
Jack's realtime thread which also calls the DSP code (or
so I assume). So any MIDI events that will be handled
by the DSP code (normally note-on and off and controllers)
don't need to be buffered at all. You'd need to buffer
only those events that can't be handled by the real time
DSP code (e.g. program change).
Ciao,
I'm carefully feeling my way round the code trying to get familiar with it
before making any major changes. I don't know why it's done like that.
Unfortunately the person who implemented it is no longer here to ask.
--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.