Thank you, Julia, for the helpful answer and clear example code. As in many 
cases, the windows classes just work differently than the mac classes, and my 
brain was stuck in Mac mode.

BTW, do you have any insight into how the choice of buffer size affects the 
performance of the inputs?

Cheers,
Aaron
=====

On Apr 3, 2012, at 6:00 AM, [email protected] wrote:
> From: Julia Truchsess 
> 
> Hi Aaron,
> 
> I talk to multiple Windows midi devices no problem. I just instantiate and 
> open as many WindowsMidiInputMBS's and WindowsMidiOutputMBS's as are needed:
> 
>  // Open every Midi device in the system
>  dim wmin As MyWindowsMidiInputMBS, wmout As MyWindowsMidiOutputMBS
>  For i as Integer = 0 to MyWinMidi.NumberOfMidiInputDevices-1
>    wmin = new MyWindowsMidiInputMBS
>    WinMidiInput.Append wmin
>    WinMidiInput(i).Open(i,4096)
>    WinMidiInput(i).Start
>    WinMidiInput(i).DeviceNum = i
>  next
>  for o as Integer = 0 to MyWinMidi.NumberOfMidiOutputDevices-1
>    wmout = new MyWindowsMidiOutputMBS
>    WinMidiOutput.Append wmout
>    WinMidiOutput(o).Open(o)
>    WinMidiOutput(o).DeviceNum=o
>  Next
> 
> Julia
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to