Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. CtkGroup Doc

    ... s, group, bus1, bus2, env, freq, control, task; var cond; cond = Condition.new; Routine.run({ pnotes = CtkProtoNotes( SynthDef(\test, {arg dur, freq, amp; var env, envgen, src; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGe ...

  2. openbci_gui_fftplot Quark

    ... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(channels[0].data.size>=fft.fftSize, { usr.refresh; }); (nextTime-Main ...

  3. little by fatherjason (fatherjason) Code

    ... khkhshhshhkhshhh "; pattern2 = " khkhsk.hhhkhs..k khkhshhhssssssss "; Routine({ 2.do{ |count = 0| 2.do{ if(count == 1) { ~mel0.play; }; ~bassline0.play; [0, 15, 7].do{|note| s.bind{Synth(\bass, [ ...

  4. RedGIF Quark

    ... Method==3 restore previous".postln} ); }; if(images.size>1, { //if animated gif Routine({ while({win.isClosed.not}, { //TODO check userinputflag here (images.wrapAt(index).control.duration*0.01/rate).max(0.01).wait; index= index+1; win.refr ...

  5. openbci_gui_accelerometer Quark

    ... n.lineTo(Point(img.width-x, y)); lastIndex= index; }); }; Pen.stroke; }; }); }; Routine({ var numPointsToDraw; var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(buffer.accelBuffer.size>0, { //skip frame if no ...

  6. Proto Quark

    ... n.stream // stream is a "soft" method "defined" in the environment (a getter) a Routine Mimicking object-oriented behavior using Proto ( a = Proto ({ // class/instance variables are defined dynamically, here and at run time // distinction b ...

  7. Proto Quark

    ... n.stream // stream is a "soft" method "defined" in the environment (a getter) a Routine Mimicking object-oriented behavior using Proto ( a = Proto ({ // class/instance variables are defined dynamically, here and at run time // distinction b ...

  8. MixerSend Quark

    ... vert time into level timeSpec = ControlSpec.new(start, end, warp); guiUpdater = Routine({ startTime = thisThread.clock.beats; { (thisThread.clock.beats - startTime) <= dur }.while({ this.level_(timeSpec.map( (thisThread.clock.beats - startT ...

  9. VoicerProcess Quark

    ... , use: // [["Stopped", { arg proc, group; proc.play }, { arg v; { /* the player routine */ } }], // ["Playing", { arg proc, group; proc.stop }, nil]] var <voicer, <processes, // array of VoicerProcess <view, <value = 0; // current process t ...

  10. VoicerProcess Quark

    ... , use: // [["Stopped", { arg proc, group; proc.play }, { arg v; { /* the player routine */ } }], // ["Playing", { arg proc, group; proc.stop }, nil]] var <voicer, <processes, // array of VoicerProcess <view, <value = 0; // current process t ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow