Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 0.05.wait; limit = limit - 1; }; // if false, skip to the next step // if true, loop until false after booting is done while { server.serverBooting } { 0.05.wait; }; // if serverRunning is false, boot was unsuccessful if(server.serverRunnin ...

  2. 265-janus_bunch_clocks Quark

    ... 1.rand+0.05) .phase_(2pi.rand) .phase2_(2pi.rand) .amp_(0.6) .amp2_(0.9) }; //--loop w.draw{ world.objects.do{|o, i| o.couple(world.objects.wrapAt(i-1), world.objects.wrapAt(i+1)); }; world.objects.do{|o| o.update}; //--render Pen.width= 5; ...

  3. proto-cmds Quark

    ... (); }; }) => PR(\meterCmd); // REALLY experimental: flow-of-control commands // looping over a whole array // how to stop: same as others, set a user signal or specify a duration PR(\abstractTLCommand).clone({ ~autoSync = true; ~repeats = i ...

  4. KeyPlayerExample Quark

    ... reset of sounds; type Q, W, E, etc to play sounds type alt-r to toggle/record a loop type alt-p to play it click on lgui button to open a KeyLoopGui *********/ s.boot; q = q ? (); q.numChans = q.numChans ? 2; // stereo or multichannel // so ...

  5. XixiPainter Quark

    ... rue if(running == false, {this.refresh}); break.value; // then break out of the loop }); }); }; this.refresh; }) .mouseMoveAction_({|me, x, y, mod| drawList.do({ |object| object.mouseTrack(x, y); }); if(running == false, {this.refresh}); }) ...

  6. m-audio-oxygen49.desc Quark

    ... )), (key: \next, \midiNum: 111, style: (row: 0, column: 3, width: 1.2)), (key: \loop, \midiNum: 113, style: (row: 2, column: 16, width: 1.2)), (key: \rew, \midiNum: 114, style: (row: 2, column: 17, width: 1.2)), (key: \fwd, \midiNum: 115, s ...

  7. handout-1-intro Quark

    ... nomix", setup: ["start 2"], cmds: ["mix", "nomix"], gui: true); ~radTest.("play-loop-stop", setup: ["start 2"], // wait after each command: a block only counts as live once its start // routine has synced with the server, and st on a block ...

  8. 01. GeoGraphyIntro Quark

    ... e same possibilities to be choses (i.e. uniform distribution). The graph allows looping: the end edge can be the same start edge (see edge 2 on vertex 2). Graphs are distributed in a (actually) 2D space, each vertex being given a position ( ...

  9. TransportWindow Quark

    ... inStep ? (128/44100); playAction = { playRoutine = Routine({ pos = pos - step; loop { pos = pos + step; { this.update }.defer; step.wait; } }); playRoutine.play; }; stopAction = { playRoutine.stop; }; returnAction = { pos = 0; this.update; ...

  10. 055-boids-ga_synth Quark

    ... s= c.collect{|x| RedGAPhenome(x).asSynthDef2.play(s, [\amp, 0])}; 0.5.wait; //--loop w.draw{ 4.do{|i| Pen.fillColor= Color.red(0.5, i+1/4); Pen.fillOval(Rect.aboutRedVector2D(w.mouse, 4-i/3*25)); }; world.objects.do{|o, i| var amp= 0; o.add ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow