Author |
Topic: Minor bug in scripting engine ? (Read 1767 times) |
|
chkk
New Member

 MIDI-OX rules

Gender: 
Posts: 10
|
 |
Minor bug in scripting engine ?
« on: Aug 23rd, 2001, 2:56am » |
Quote 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
    


Gender: 
Posts: 2027
|
 |
Re: Minor bug in scripting engine ?
« Reply #1 on: Aug 24th, 2001, 8:24am » |
Quote 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.
|
|
|
|