User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - MIDI-OX Slows down when getting a lot of input?? »
Welcome, Guest. Please Login or Register.
May 3rd, 2025, 4:59pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   MIDI-OX Slows down when getting a lot of input??
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: MIDI-OX Slows down when getting a lot of input??  (Read 2678 times)
xlazyx
New Member
*



MIDI-OX Rules!

   
Email

Posts: 4
MIDI-OX Slows down when getting a lot of input??
« on: Oct 22nd, 2002, 8:21am »
Quote Quote Modify Modify

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
IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: MIDI-OX Slows down when getting a lot of input
« Reply #1 on: Oct 22nd, 2002, 1:41pm »
Quote Quote Modify Modify

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.
IP Logged

--Jamie
Music is its own reward.

xlazyx
New Member
*



MIDI-OX Rules!

   
Email

Posts: 4
Re: MIDI-OX Slows down when getting a lot of input
« Reply #2 on: Oct 24th, 2002, 4:33am »
Quote Quote Modify Modify

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  Grin
 
Tor Arne
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


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