Hiho,
I'll try to look into this in the next week.
sincerely,
Marije
On Sunday 04 May 2008 11:25:16 Tim Blechmann wrote:
> On Sun, 04 May 2008 15:44:58 +0200, 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 ?
>
> it gives me:
> ERROR: Primitive '_ListMIDIEndpoints' failed.
> Failed.
> RECEIVER:
> class MIDIClient (084229B0) {
> instance variables [19]
> name : Symbol 'MIDIClient'
> nextclass : class MIDIClockOut (08305750)
> superclass : Symbol 'Object'
> subclasses : nil
> methods : nil
> instVarNames : nil
> classVarNames : instance of SymbolArray (08422A70, size=3, set=1)
> iprototype : nil
> cprototype : instance of Array (08422AB0, size=3, set=2)
> constNames : nil
> constValues : nil
> instanceFormat : Integer 0
> instanceFlags : Integer 0
> classIndex : Integer 453
> classFlags : Integer 0
> maxSubclassIndex : Integer 453
> filenameSymbol : Symbol '/usr/local/share/SuperCollider/
> SCClassLibrary/Common/Control/MIDIOut.sc'
> charPos : Integer 213
> classVarIndex : Integer 130
> }
> CALL STACK:
> MethodError:reportError B783D200
> arg this = <instance of PrimitiveFailedError>
> Nil:handleError B783D070
> arg this = nil
> arg error = <instance of PrimitiveFailedError>
> Thread:handleError B783CFE0
> arg this = <instance of Thread>
> arg error = <instance of PrimitiveFailedError>
> Object:throw B783CF80
> arg this = <instance of PrimitiveFailedError>
> Object:primitiveFailed B783CDF0
> arg this = class MIDIClient
> Meta_MIDIClient:list B783CD60
> arg this = class MIDIClient
> var list = nil
> Interpreter:interpretPrintCmdLine B773CDE0
> arg this = <instance of Interpreter>
> var res = nil
> var func = <instance of Function>
> var code = "MIDIClient.list"
> Process:interpretPrintCmdLine B783CAE0
> arg this = <instance of Main>
>
> not sure, but maybe one has to initialize the midi backend before listing
> the devices ...
_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel