Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. CytonWifi Doc

    ... shield. . version gives the version number of the firmware. . close stops main loop and free the internal osc responders. Inherited instance methods Examples //start and post every 256th data package (num is the package counter 0-255) c= C ...

  2. NearestN Doc

    ... 60).midicps, 0, fdistsq.explin(1e-6, 1, 0.5, 0)).sum); }.play; ~updater = Task{loop{ ~foundbus.getn(3, {|data| ~nearests = data.asInteger}); ~mousebus.getn(2, {|data| ~mousepos = data}); s.sync; defer{w.refresh}; 0.1.wait; }}.play ) } ) ⧉ ...

  3. ParGroup Doc

    ... s Instance Methods Inherited instance methods Examples fork { p = ParGroup.new; loop { ( degree: rrand(0.0, 12.0).round(1/4), group: p, db: rrand(-30, -25), pan: rrand(-1.0, 1.0) ).play; 0.2.wait; } } ⧉ ✔ helpfile source: /usr/local/share/S ...

  4. GMSequencer Doc

    ... ayButton() .action_({ |playing| if(playing) { routine = Routine({ var beat = 0; loop { if(triggers[beat % triggers.size] == 1) { Synth(\GMWhitePerc); }; 0.2.wait; beat = beat + 1; // Update beat display sequencer.beat_(beat % triggers.size) ...

  5. CtkEvent Doc

    ... he function runs with 'condition'... either an integer saying how many times to loop, or an Envelope. When the internal clock has been advanced to the end of the Envelope, it will stop. Class Methods . new Create a new CtkEvent Arguments: s ...

  6. Nudge Doc

    ... otal range n.nudge(0.1); // nudge permanently to see behavior at borders fork { loop { 0.1.wait; n.nudge(0.03); } }; n.useWrap; // wrap at borders n.useClip; // or clip at borders n.useFold; // default: fold at borders by inverting nudge di ...

  7. SoundFileAnalysis Doc

    ... (0.4).range(0.5, 5)), Line.kr(12000, 100, 3)); rec = RecordBuf.ar(in, b.bufnum, loop: 0, doneAction: 2); Out.ar(out, in); }; ).add ) Synth(\record); // write the file to analyze later b.write("~/soundFileAnalysisExample.aiff".standardizePat ...

  8. EventPatternProxy Doc

    ... .source = Pbind(\freq, Pgeom(100, Pwhite(1.01, 1.2), 4)); r = Routine { |inval| loop { a.embedInStream(inval) } }; r.nextN(12, ()); // the next 12 values from r a.source = Pbind(\freq, Pgeom([100, 200], Pwhite(1.01, 1.2), 4)); // replace th ...

  9. Solver Doc

    ... ("stoped moving node "++ node.spritenum); moving = false; }); task = Task.new({ loop{ if(moving.not){ p.setNodeLoc1_(0, 0.5+(a.next[0]*zoom.value), 0.5)}; dt.wait; }; }); w.front; w.onClose_({ task.stop}) ) ⧉ ✔ System of second order ODE // ...

  10. GMSwitchButton Doc

    ... stomisable button. It allows to switch between multiple states, behaving like a looping counter. It only responds to mouse down clicks, and does not discriminate button identifiers. Class Methods . new Creates a new instance of GMSwitchButt ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow