Author |
Topic: OutputMidiMsg, specifying output port (Read 3102 times) |
|
StepLogik
New Member

 MIDI-OX Rules!
Posts: 2
|
 |
OutputMidiMsg, specifying output port
« on: Aug 28th, 2007, 7:07pm » |
Quote Modify
|
When using the OutputMidiMsg() method, the only way I can get it work is to pass -1 for the port parameter. However, I would like to specify exactly which port I would like to send the data to. If I have 3 output devices open, I would like to be able to only send data to one specific device. When I pass in the port ID of an open output device, nothing is transmitted and I don't see any data in the output monitor. Passing -1 works, but it sends to all open output devices, which is not acceptable for my application. Perhaps I am not understanding the correct usage of the port parameter or is there some configuration option I've missed? Any help is greatly appreciated.
|
« Last Edit: Aug 28th, 2007, 7:08pm by StepLogik » |
IP Logged |
|
|
|
StepLogik
New Member

 MIDI-OX Rules!
Posts: 2
|
 |
Re: OutputMidiMsg, specifying output port
« Reply #1 on: Aug 28th, 2007, 7:31pm » |
Quote Modify
|
Figured it out. Got bitten by the old "Off by 1" glitch!
|
|
IP Logged |
|
|
|
|