On Dec 1, 2008, at 5:21 PM, krgn wrote:
The earlier error trace indicates that the messages are coming from src 8585216, which is index 5 in the MIDI client sources array. So, try using [5, 0] for the channel when creating the socket. k = VoicerMIDISocket([5, 0], v); (Actually the port index, the first number in the channel array [5, 0], comes from MIDIPort.sources. When manually initializing MIDIPort, you can give a list of indices to move to the front of MIDIPort's sources -- MIDIPort.init([5]) would set up MIDIPort.sources so that 8585216 is first, then 0, 1, 917504 etc. Basically this lets you decide which should be the default MIDI source.) hjh : H. James Harkins .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..: "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman |