Go Down

Topic: USB to MIDI VST (Source included) But needs better timing ... (Read 1 time) previous topic - next topic

WilliamK Govinda

Here we go, a very simple code thanks to the contribution of another user.  8)

The code here talks to the Beat707 Software so it knows if it should enter USB mode or not. But this can be removed for anybody needs. ;-)

But there's a problem to which I don't know how to fix: timing. If you use a small buffer (low latency) there's no problem, but if you try 1 second buffer the problem is very easy to spot, and even at low latencies you can notice the drifts. If anyone has a solution, we would love to hear.  :smiley-fat:

http://www.beat707.com/downloads/Beat707_USB2MIDI_Source.zip
(requires the JUCE framework from http://www.rawmaterialsoftware.com)

http://www.beat707.com/downloads/Beat707_USB2MIDI_VST.zip
(Windows 32 bits only)

WilliamK Govinda

I did another quick test with a proper sound-card with ASIO drivers and 128 samples for the buffer. (lower latency) and Timming is perfect. And I remember reading that at higher latencies timming is indeed bad. So I guess there's no real solution for this, right?

Now I need to figure out how to make a Stand Alone application for Windows that will let you chose a Midi Input and Output and apply things to that...

Wk


WilliamK Govinda

The source-code is MAC compatible, just needs to be compiled with XCode. Sadly I ain't got time to handle that right now, sorry.  :smiley-sad-blue:

Wk

thank you for answering...

..i've got my Beat707 set up via a 1x1 midi-usb wire, so i'm good for now!

Looks promising :)

/m

Go Up