-
/* JITLibExtensions allows adding specs to objects, and various JITGuis use that for controller ranges: EnvirGui, ParamGui, NdefParamGui as used in TdefGui, PdefGui, NdefGui, NdefMixer etc. From version 3.7.2 and 3.8, EnvirGui and its subcl ...
-
... ts envir can also be edited. First example: g = TdefGui (); // make a TdefGui g.object = Tdef ( \a ); // show when a Tdef is put in Tdef ( \a , { "boing" .postln }); // show whether it has a source Tdef ( \a ).play; // show whether playing, ...
-
Classes All objects in SuperCollider are members of a class that describes the objects' data and interface. The name of a class must begin with a capital letter. Class names are the only global values in the SC language. Since classes are t ...
-
... xamples Classes | External Control > OSC'>OSC OSCFunc : AbstractResponderFunc : Object Fast Responder for incoming Open Sound Control Messages Source: ResponseDefs.sc Subclasses: OSCdef See also: OSC Communication , OSCdef , NetAddr Descrip ...
-
// SETODictObj is an object where you can set custom functions for each classID: SETODictObj.setAction(1, {|me| "%: Hello, I'm a first class object\n".postf(me)} ); // It is also possible to set the same function for a range of classIDs SET ...
-
//multiple objects are pushed away from a moving circle ( var width= 640, height= 480, w, world, acc, vel, loc, rep, n= 200; //--world w= RedWindow("repulsive test3", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, h ...
-
//multiple objects are pushed away from a moving circle ( var width= 640, height= 480, w, world, acc, vel, loc, rep, n= 200; //--world w= RedWindow("repulsive test3", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, h ...
-
... edWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 1; RedBoid(~world, loc, vel, 0, mass, mass*5) //world,loc,ve ...
-
... edWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 1; RedBoid(~world, loc, vel, 0, mass, mass*5) //world,loc,ve ...
-
VoicerGUI : ObjectGui { // override gui and guify -- this object should make NO VIEWS // *new should return not a VoicerGUI but a VoicerProxyGui // perhaps misleading but I want aVoicer.gui to set up the proxy and the gui transparently // s ...