MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Scripting Questions >> MIDI-OX Slows down when getting a lot of input??
(Message started by: xlazyx on Oct 22nd, 2002, 8:21am)

Title: MIDI-OX Slows down when getting a lot of input??
Post by xlazyx on Oct 22nd, 2002, 8:21am
Hey!

I've created a small script in VB for my midi controller and Cubase SX. You can make cubase SX send out MIDI info about levels on different channels, and this is used to controll LEDs on my controller. Problem is, when i press play in SX and it starts sending out these messages for 8 channels, MIDI-OX increases it's CPU use very much, and if I then turn a knob on my controller while SX is playing the MIDI OX cpu increases even more, so much that the knob turning is really lagged and will eventually crash SX

So, is there a bottleneck in the COM interface or in MIDI-OX somewhere?

I will put up a link to the source for my VB script so you can see if there is a design flaw there causing this.

Thanks

Tor Arne

Title: Re: MIDI-OX Slows down when getting a lot of input
Post by Jamie OConnell on Oct 22nd, 2002, 1:41pm
The sink method of scripting just uses COM and wasn't really designed for dense MIDI data.  You could try changing the method for getting MIDI input to polling.

Title: Re: MIDI-OX Slows down when getting a lot of input
Post by xlazyx on Oct 24th, 2002, 4:33am
Hmm, ok, ill try that. I also read something about Midi Yoke NT causing this, I'll check for that too. Will report back if the problem doesn't go away  ;D

Tor Arne



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.