[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] [linux][quarks] VoicerMIDISocket problem



Yes -- right now the MIDI socket is listening to "system timer" -- if that's not where the messages are coming from, the socket will never hear about them.

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.)
 
cool, choosing the right port to listen on solved my mystery.

thanks james!

sincerely,

karsten