On Sunday 04 May 2008 09:44:58 felix wrote:
> what changed in that checkin is that it calls MIDIClient.list which is the
> correct way to find out how many ins/outs you have.
>
> does MIDIClient.list not work on linux ?
MIDIClient.prInit initialises the handle to ALSA for SuperCollider. You can
define as many ins and outs on Linux as you want, and this number of ports
will be created for SuperCollider, so that SuperCollider will have these
ports to connect to.
This can be done either through the connect methods inside SC, or through an
external patchbay.
MIDIClient.list builds the list of available sources and destinations,
possibly including SuperCollider's own, but the handle to the ALSA sequencer
has to exist.
So the MIDI philosophy on Linux is slightly different then on Mac, with more
flexibility for patching due to the nature of ALSA (virtual patchbays rule!).
A possible solution would be to add a primitive to initialize just the
connection with the sequencer without opening any ports. After that any other
methods can be used.
sincerely,
Marije
_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel