Simple midi patch - Usb host midi output ringbuffer overflow


#1

Hi.

Can anyone point me in direction of a simple solution to getting a "Usb host midi output ringbuffer overflow" message from this small patch?

I read something about limiting the amount of messages being sent back and forth, but I am not sure how to actually do that.

Hope you guys can help :slight_smile:


#2

Hmm since its just a button trigger you should need to limit the amount of messages, since your finger shouldnt be fast enough to overload anything here :joy:

Maybe you could try to debounce your digital in though.


#3

Total newbie I must admit: how do I debounce the digital input?


#4

From memory you are using a guitar pedal stomp switch, so this could theoretically be multiple triggering and causing the overflow, but as Blindsmyth says that's a lot of button presses, so it could be that it's something else in your signal chain causing the overflow, not sure, a midi loop of some kind, your soldering....A debounce compensates for double triggering

Total newbie I must admit: how do I debounce the digital input?

Put a debouncer in line from the digital in to the midi/out/pgm trig
http://www.privatepublic.de/public/community-objectlist.html#o-356324600

edit:

Using DIN midi for now which works. Tried using the usb host which worked, but the terminal said: usb host midi output ringbuffer overflow. Any idea how to fix that?

this is from your other post, what are you connecting to usb? and do you get the error now on Din midi also?


#5

Good suggestions above, the only other thing i'd suspect is a midi feedback loop somewhere in the chain


#6

I only get the error when I only connect the usb. I am connecting the Axoloti to an Elektron Digitakt. I will investigate for midi loop somewhere - maybe on the digitakt end.


#7

Turned out that i forgot to enable midi on the usb on the digitakt​:roll_eyes:

Now it works​:grinning: