Pages: [1]   Go Down
Author Topic: USB to MIDI VST (Source included) But needs better timing ...  (Read 1063 times)
0 Members and 1 Guest are viewing this topic.
Brazil
Offline Offline
God Member
*****
Karma: 3
Posts: 616
Wusik Dot Com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Here we go, a very simple code thanks to the contribution of another user.  smiley-cool

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)
Logged


Brazil
Offline Offline
God Member
*****
Karma: 3
Posts: 616
Wusik Dot Com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

any chance of a Mac version?

br
Morten
Logged

Brazil
Offline Offline
God Member
*****
Karma: 3
Posts: 616
Wusik Dot Com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

/m
Logged

Pages: [1]   Go Up
Jump to: