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

[sc-users] NoteOnResponder_2



never mind... i missed the following:

MIDIIn.connect; 

it wasn't mentioned in the MIDIResponder help, so i thought it was included in the Responder code... apparently not.

thanks anyway,
robert


hi,

i'm working on creating a system with midi responders, but i can't seem to get it going.

i'm testing it using the internal IAC bus (sending midi from keystrokes generated in another program).

this works:
MIDIIn.noteOn =
{
arg src, chan, num, vel;
[chan,num,vel].postln;
};

but this doesn't:
NoteOnResponder({ |src, chan, num, vel| [src, chan, num, vel].postln }, nil, nil, nil, nil, true);

what am i missing here?

basically, what i want to do is being able to respond to certain midi messages and update textfields or other screen elements. (when i gave up temporarily on the NoteOnResponder i tried it with the midiin, but there i can't seem to be allowed to set values on textfields from within the MIDIIn...).

thanks!
robert


{ Robert van Heumen , { STEIM } , { electric music } , {





_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users