Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (4536) Code (31) Doc (2593) Help (469) Quark (1439) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. plusObjectCheckArgs Quark

    //TODO add multiple options for arg + Object { *checkArgs{ |class, method, args, types| [args, types, (0..(args.size-1))].flopWith{ |aarg, type,i| if( ( (type.size > 0) and: { type.collect{|x| aarg.isKindOf(x) }.reduce('||').not }) || ( (ty ...

  2. Verbosity Quark

    ... get = \doc; Verbosity.target = \win; g = JITGui.new(~verbose, 1); // make one g.object.key ~verbose.dump; g.object = 123; // object gets shown asCompileString g.object = (key: \otto); // if the object understands .key, key gets shown g.obje ...

  3. 041-pendulum2 Quark

    ... World3(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector[0.5, 0.5].rand2; RedPendulum(world, loc, vel, 0, 1.rrand(5), 5.rrand(80)) //world,loc,vel ...

  4. OneShotController Quark

    ... s Model. It is used to create the option of actions performed at a change of an object, such as a Synth being started or freed. This helpfile will not explain how this works, but instead show a number of wslib methods that use it. see also: ...

  5. JitGui_tests Quark

    /* 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 ...

  6. SETODictObj Quark

    // 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 ...

  7. 017-repulsive3 Quark

    //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 ...

  8. 091-livecoding-worlds Quark

    ... 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 ...

  9. VoicerGUI Quark

    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 ...

  10. VoicerGUI Quark

    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 ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow