c++ - What is an acceptable MIDI bandwidth over USB? -



c++ - What is an acceptable MIDI bandwidth over USB? -

i working on midi effect (a vst plugin modifies incoming midi generates new info , forwards out) using juce framework in c++. see it's technically possible generate new midi message every sample making stream of midi flow @ 16 24 bits 41,000 times sec or more. seems exclusively impossible midi hardware handle.

is there guideline or rule must adhere when when decide on bandwidth midi on usb hardware synths, new , old?

edit: should add together trying do, higher bandwidth help, should work hardware such arturia minibrute. attempting novel things apply envelopes , lfos modulation , pitch wheel.

midi on din cables runs @ 31250 bits/s, i.e., 3125 bytes/s.

the usb midi specification not specifiy bandwidth, underlying usb mass transfer protocol implicitly allows receiving device decide when take new packets. in other words, usb midi device can decide how fast runs, there no easy mechanism determine limit (especially if os drops midi messages device driver cannot deliver fast enough).

usb/midi interfaces run @ 3125 bytes/s. usb midi devices no 'real' midi interface involved might able run faster; example, sc-8820 can process 10 kb/s.

in practice, cannot know hardware sits behind generic midi port. should utilize 3125 bytes/s limit unless have special knowledge device.

c++ midi audiounit vst juce

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -