User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - OutputMidiMsg, specifying output port »
Welcome, Guest. Please Login or Register.
May 9th, 2025, 8:50am


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


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   OutputMidiMsg, specifying output port
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   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 Quote Modify 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 Quote Modify Modify

Figured it out. Got bitten by the old "Off by 1" glitch!
 
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.