Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. Rational Quark

    ... ) } // implements all basic math operations composeUnaryOp { arg aSelector; var out; ^(out = value.perform(aSelector)).tryPerform(\asRational) ?? { out } } composeBinaryOp { arg aSelector, operand, adverb; var out; ^(out = value.perform(aSe ...

  2. Rational Quark

    ... ) } // implements all basic math operations composeUnaryOp { arg aSelector; var out; ^(out = value.perform(aSelector)).tryPerform(\asRational) ?? { out } } composeBinaryOp { arg aSelector, operand, adverb; var out; ^(out = value.perform(aSe ...

  3. _FXLib Quark

    ... 0, server: sv).play; }; */ ( q = q ? (); q.numChans = q.numChans ? s.options.numOutputBusChannels; // crackly cable simulator SynthDef(\kabelScahden, { |out, freq=50, sustain=1, amp = 1| var h, n, m, k, trig, hum; hum = { trig = Dust.kr( 7 ...

  4. RedLZSS Quark

    ... RedLZSS { classvar <>window= 4096, <>length= 32, <>pad; *compress {|input| var out= "", i= 0, len, off, sub, j; var bitsWin= (window-1).numBits; var bitsLen= (length-1).numBits; while({i<input.size}, { len= length; while({ sub= input.copyR ...

  5. RedLZ77 Quark

    ... redFrik RedLZ77 { classvar <>window= 4096, <>length= 32; *compress {|input| var out= List[], i= 0, len, off, sub, j; while({i<input.size}, { len= length; while({ sub= input.copyRange(i, (i+len-1).min(input.size-1)); len= len.min(sub.size); ...

  6. reverbs Quark

    ... =0.3, combsMax=0.5, allpassMin=0.01, allpassMax=0.05, allpassDecay=1.0; var tapsOut,out,tapsLevelMax,combinput,combLevelMax; if(taps > 0,{ tapsLevelMax = taps.reciprocal; tapsOut = Mix.fill(taps,{ var delays; delays = rrand(tapsMin,tapsMax) ...

  7. AudioControlBug Quark

    //Bug ( s.waitForBoot({ SynthDef(\test, { Out.ar(\out.ir(0), { SinOsc.ar(2) * EnvGen.ar(Env([1, 1], [0.2]), doneAction:2) }) }).add; s.sync; ~bus = Bus.audio(s); Pbind( \instrument, \test, \dur, 1, \out, ~bus.index, \addAction, \addToHead ) ...

  8. PFilter Quark

    ... cofStr= coef.asStream; var mulStr= mul.asStream; var addStr= add.asStream; var outVal, cofVal, mulVal, addVal; var prev= 0, out; loop{ outVal= evtStr.next(inval); if(outVal.isNil, {^inval}); cofVal= cofStr.next(outVal); if(cofVal.isNil, {^ ...

  9. SWBusNode Quark

    ... oad in subclass synthDef = (\swBusNode++nc).asSymbol; SynthDef( synthDef, { arg out=0, in=1, lag=0.05, mul=1, gate=1; EnvGen.kr( Env.cutoff( 1 ), gate, doneAction: 2 ); Out.kr( out, Lag.kr( In.kr(in,nc) * mul, lag )); }).send(s); } clean{ t ...

  10. default-synths Quark

    ... peed, begin, end, pan, accelerate, offset, cps // all instruments ought to use: out If your SuperDirt instance is assigned to the variable ~dirt, you can livecode these synths. */ ( // modulated band limited impulse ( SynthDef(\imp, { |out, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow