[Stk] demo polyphony

Gary Scavone gary at ccrma.Stanford.EDU
Sat May 16 12:03:22 PDT 2009


Hi Mark,

The first thing to do is download the latest version (4.4.0) and give  
that a try.  It's still possible it may not work but I want to make  
sure you're using the latest version.

Regards,

--gary

On 16-May-09, at 8:12 AM, Mark Bahoric wrote:

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



More information about the Stk mailing list