Thanks Johannes
yeah, I definitely at the limit of saturation :)
first, no, no debug logging and I don't think its processing overhead.
on Pro14, it appears the midi IN is not working, so Ive switch to a USB midi mate II (which works pretty well)
what Im seeing so far is:
if i reach saturation, and use your patch I start getting missing messages... usually appears to be note-offs (unfortunately), but this is probably just as I'm sending so many CC,
it also looks like message are incorrectly ordered/duplicated... but I need to do more thorough tests.
as a test, to check the USB midi without axoloti, I plugged it into my Virus TI in and thru, whilst it was turned off (so must be a hardware thru), I found at the same data rates, whilst the midi would lag behind, it seemed generally 'intact', except when extreme amounts of data pushed thru, but even then it was not too bad.
(my assumption is the USB midi mate II is probably not limited to the usual 32k baud limitation and perhaps even contains buffering logic.)
I'll experiment to see what rates I can achieve with axoloti.... my concern is each touch contains 1 PB, 1 channel pressure and 1 CC, and we want to have as high rate as possible, too keep sensitively high. and I think we want to be allowing for 8 touches? but thats about 24 touch/sec .... or 41mS which is quite low.
generally I think your right about the 32 byte buffer... no point in a larger buffer, it just introduces more latency and if the processing doesnt keep up, it will fill up regardless of size.
is there anyway to increase the throughput?
I thought I read somewhere, that whilst Midi DIN is rates at 32k, some microprocessors support 115k?
also I assume (?) that the USB via the host port will allow for higher data rates?
(Ive no issue with saying midi din is restricted to 32k baud, if the USB ports can receive at much higher rates)
of course I recognise, higher data rates = more CPU = less DSP for processing sounds, but this is a trade off I think the musician can make a decision on?
BTW, on my patch I'm modulating the gain/vca at the midi rate, I assume this is at k-rate , which is 3kHZ.