Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Fb1 Quark

    ... quark. Also consider that short iteration cycles can produce loud high pitches, wrapping lopass filters is useful! NOTE: The convenience of direct definition of the feedback / feedforward relation comes with the price of a large number of U ...

  2. MoscaHeadtracker Quark

    ... on is enabled if (switch.v) { h = (heading / 100); h = h + headingOffset; h = h.wrap(0, 2pi) - pi; r = (roll / 100) - pi; p = (pitch / 100) - pi; moscaCenter.ossiaOrient.v_([h.neg, p.neg, r]); }; } procLev { | lev | masterLevel.v = (lev + 1 ...

  3. OSCMKtlDevice Quark

    ... ues.indexOf( nil ), val ); }{ outvalues = outvalues ++ val; }; }; // and send : wrap in try func to avoid repeated long error // posts when an OSC device is temporarily unreachable. try { destination.sendMsg(oscPath, *outvalues); } { "*** % ...

  4. SFP Quark

    ... * 44100; o < file.numFrames },{ rotator.at(cursor).value; cursor = (cursor + 1).wrap(0,2); 4.wait; beat = beat + 4; }); synth.free; }); spawnTask.play(tempoClock) } didStop { super.didStop; spawnTask.stop; spawnTask = nil; } currentFrame { ...

  5. SFP Quark

    ... 44100; o < file.numFrames }, { rotator.at(cursor).value; cursor = (cursor + 1).wrap(0, 2); 4.wait; beat = beat + 4; }); synth.free; }); spawnTask.play(tempoClock) } didStop { super.didStop; spawnTask.stop; spawnTask = nil; } currentFrame { ...

  6. SCluster Quark

    ... var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2); var snd= SynthDef.wrap(this.func, nil, [freqs, dists, amps]); snd= Splay.ar(snd, 1, vol.dbamp*0.25); //mix to stereo env= env*(onEnv+(amp.lagud(atk, rel)*(2-onEnv))); Out.ar(outB ...

  7. ATSResidual Quark

    ... init { |snd, audio| atsSound = snd; audioData = audio; } twoPi { ^2.0 * pi } // wrap phase into [0, 2pi) as in the Lisp wrap-phase wrapPhase { |phase| ^phase - ((phase / this.twoPi).floor * this.twoPi) } // Compute residual and synthesis (b ...

  8. interpolate Quark

    ... r. the default amt is 4. other interpolation: 'quad' : not correct yet 'sine' : wraps s-shaped sine curves between steps 'linear' : linear interpolation 'step' : step interpolation There is also the possibility of entering your own control ...

  9. Fb1 Quark

    ... ize smaller than " ++ ((i == 0).if { "size of in, " }{ "outSize, " }) ++ "index wrapping applied").postln; }; buffers.do { |bufs, j| bufs.do { |buf| initSingleBuf.(init.wrapAt(j), buf) } } } }{ buffers.do { |bufs| bufs.do { |buf| initSingle ...

  10. PTrig Quark

    ... ; if(higVal.isNil, {^inval}); inval= outVal.clip(lowVal, higVal).yield; }; } } PWrap : PInRange { embedInStream {|inval| var evtStr= pattern.asStream; var lowStr= lo.asStream; var higStr= hi.asStream; var outVal, lowVal, higVal; loop{ outVa ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow