Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... { a.string = " Current Frequency: " ++ v.round(0.01) } }.defer }); 0.01.wait; }.loop }.play }); CmdPeriod.doOnce({ w.close }); w.onClose = { r.stop; q.free; b.free }; // clean up if the window closes ) ⧉ ✔ Dynamic Text ( w = Window.new.fron ...

  2. PG_Cookbook08_Swing Doc

    ... djust; ⧉ ✔ ~~ If the source event is nil, errors will follow, so we should stop looping in that case. while { ev.notNil } { ⧉ ✔ ~~ now is what the next time was . The time of the next event simply adds ev.delta . now = nextTime; nextTime = ...

  3. Unit Quark

    ... t( selector ); }; } // override methods from Object to support args with names 'loop' and 'rate' rate { ^this.get( \rate ) } rate_ { |new| this.set( \rate, new ) } loop { ^this.get( \loop ) } loop_ { |new| this.set( \loop, new ) } numChanne ...

  4. pvcollect Help

    ... v" ); } ) ( x = { var in, chain, v; in = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT ( LocalBuf (1024), in); v = LFPar .kr(0.5).range(0.1, 1); chain = chain.pvcollect(1024, { |mag, phase, index| //////// Try uncommenting ea ...

  5. glitchySampler by tigges-p (tigges-p) Code

    ... kr(buffer)*rate*direction, trig, BufFrames.kr(buffer)*start, 1); //playing the (looping) stereo buffer env = Env.adsr(att, dec, sust, rel, amp); env = EnvGen.kr(env, gate, doneAction: 2); //simple adsr envelope which frees the synth w ...

  6. function-hacks Quark

    ... off "<3000 700 900>" # hresonance "0.4" SuperDirt.default = ~dirt; ( Tdef(\x, { loop { (type:\dirt, s: \myNdef, hcutoff: rrand(300.0, 6000), hresonance: 0.8).play; 0.2.wait } }).play ) // live code the Ndef Ndef(\x, { Decay.kr(\trig.tr(0), ...

  7. DirtOrbit Quark

    ... ur = 1.0; ~delta = #{ ~dur.value }; ~latency = 0.0; ~lag = 0.0; ~length = 1.0; ~loop = 1.0; ~dry = 0.0; ~lock = 0; // if set to 1, syncs delay times with cps ~amp = 0.4; ~fadeTime = 0.001; // values from the dirt bus ~orbit = this; ~dirt = ...

  8. Orb Quark

    ... 255(143, 188, 143).blend( Color .red, 0.7)], [1, 2, 3]) ( Tdef ( \lichtorgel , {loop{ o.flash([0,1,2], Color .white, 0.05, action: { |this| o.set( [0,1,2].choose, Color .rand(0.2, 0.9); ) }); 0.25.wait; }}) ) Tdef ( \lichtorgel ).play Tdef ...

  9. Phasor Doc

    ... // This means that the Phasor will output values from 0 to numFrames - 1 before looping, // which is perfect for driving BufRd. (See note above) { BufRd.ar(1, b.bufnum, Phasor.ar(0, BufRateScale.kr(b.bufnum), 0, BufFrames.kr(b.bufnum))) }.p ...

  10. TestPatternProxy Quark

    ... Pfunc { |event| event[\zz] } ), Pbind(\zz, Pseries()) ) }, { |x| Pfindur(2, x).loop }, { |x| Ppar([x, Plazy { x }]) }, { |x| Psym(Pseq([\a, \b], 2), (a: x), (b: Pfin(2, x))) }, { |x| Psym1(Pseq([\a, \b], 2), (a: x), (b: Pfin(2, x))) } ]; v ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow