Hello, stk'ers,<br><br>A very dumb question below . . .<br><br>First the setup:<br> Ubuntu 8.04 (Hardy Heron)<br> stk-4.3.1/projects/demo exe compiled/linked ok<br> tried playing the demo from a MIDI keyboard, but then ran into some funny runtime behavior.<br>
<br>Following works ok, plays back monophonically as expected:<br> $./demo Plucked -or -im 2<br><br>For some reason, MIDI port 0 is MIDI thru on my machine (not sure if this is normal) but anyway,<br>alsa confirms the MIDI connection from MIDI in (client 20) to the demo (client 128):<br>
$aconnect -lio<br> 0 'Timer '<br> 1 'Announce '<br> Connecting To: 15:0<br>client 14: 'Midi Through' [type=kernel]<br> 0 'Midi Through Port-0'<br>client 20: 'MPU-401 UART' [type=kernel]<br>
0 'MPU-401 UART MIDI'<br> Connecting To: 128:0<br>client 128: 'RtMidi Input Client' [type=user]<br> 0 'RtMidi Input '<br> Connected From: 20:0<br><br><br>Running demo using more than one voice results in no sound at all, e.g.,<br>
$./demo Plucked -n 2 -or -im 2<br><br><br>QUESTION: Does anyone know the magic words to get polyphonic playback happening???<br><br>Looks like the code should support this because the call to startMidiInput in utilities.cpp returns ok.<br>
265 if ( !messager.startMidiInput( port-1 ) )<br><br>Tried #define DELTA_CONTROL_TICKS 4, no help.<br><br><br>Thanks for any advice for the dummy!<br><br>