User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Minor bug in scripting engine ? »
Welcome, Guest. Please Login or Register.
May 8th, 2025, 2:53pm


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


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   Minor bug in scripting engine ?
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Minor bug in scripting engine ?  (Read 1767 times)
chkk
New Member
*



MIDI-OX rules

   
WWW Email

Gender: male
Posts: 10
Minor bug in scripting engine ?
« on: Aug 23rd, 2001, 2:56am »
Quote Quote Modify Modify

I started to implement a master keyboard controller for my P-80 with Visual Basic based on the MIDI-OX COM component.
 
When initializing, I map the name of my configured input port to its id and get a 2 from MIDI-OX. For my output port, I get a 4.
 
BUT, when receiving data in the event handler from the configured port, I will always get 1 as the port number ... is this by design (why) or a bug ?
 
Sending to port 4 works fine ...
 
Anyway, a VERY COOL program, very usefull.
 
Greetings from Germany,
Christian
IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: Minor bug in scripting engine ?
« Reply #1 on: Aug 24th, 2001, 8:24am »
Quote Quote Modify Modify

Thanks for the report...  I'll have to take a look.
 
The reason for this is that Port numbers are really numbered from 0 ... N-1, but we want to display them for humans so we add one before we display the port number in the monitor -- they are displayed 1 ... N
« Last Edit: Sep 14th, 2002, 4:08pm by Jamie OConnell » IP Logged

--Jamie
Music is its own reward.

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.