Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (727) Code (130) Doc (218) Help (78) Quark (287) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Summer Plugin

    Summer : UGen { *ar { arg trig=0, step=1, reset=0, resetval=0; ^this.multiNew('audio', trig, step, reset, resetval) } *kr { arg trig=0, step=1, reset=0, resetval=0; ^this.multiNew('control', trig, step, reset, resetval) } checkInputs { ^thi ...

  2. ServerPatternTriggering5 Quark

    ... (\freq.kr([440, 441])); var env = EnvGen.ar(Env.perc(releaseTime: \dur.kr(1)), \trig.kr(0), doneAction: Done.pauseSelf); OffsetOut.ar(\out.ir(0), x * env * \amp.kr(0.5)); }).add; //Writes to the correct busses... This allows for interplatio ...

  3. STKclassdefs Plugin

    ... q=220, bowpressure = 64, bowposition = 64, vibfreq=64, vibgain=64, loudness=64, trig = 1, mul = 1.0, add = 0.0; ^this.multiNew('control', freq, bowpressure, bowposition, vibfreq, vibgain, loudness, trig).madd(mul, add) } } StkMandolin : UGe ...

  4. sampleEfx Quark

    ... Scale = min( windowSize, bufSize / sampleRate ); Mix.fill(overlaps,{ arg i; var trig; // trigs offset equally trig = LFPulse.kr( windowSize.reciprocal , 1.0 / overlaps * i //* 2pi , 1.0 / overlaps); PlayBuf.ar( sample.numChannels, sample.bu ...

  5. TRand Help

    TRand triggered random number generator TRand.kr(lo, hi, trig) TRand.ar(lo, hi, trig) Generates a random float value in uniform distribution from lo to hi each time the trig signal changes from nonpositive to positive values ( { var trig = ...

  6. Dshuf Help

    ... epeats structurally related: Pshuf see also: Demand // example ( { var a, freq, trig; a = Dseq ([ Dshuf ([1, 3, 2, 7, 8.5], 3)], inf ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * ...

  7. MCLDTriggeredStatsUGens Plugin

    MeanTriggered : Filter { *ar { arg in = 0.0, trig=0.0, length = 10, mul = 1.0, add = 0.0; ^this.multiNew('audio', in, trig, length).madd(mul, add) } *kr { arg in = 0.0, trig=0.0, length = 10, mul = 1.0, add = 0.0; ^this.multiNew('control', ...

  8. CoinGate Help

    CoinGate statistical gate *kr(prob, trig) *ar(prob, trig) When it receives a trigger, it tosses a coin, and either passes the trigger or doesn't. prob value between 0 and 1 determines probability of either possibilities trig input signal // ...

  9. experiments in detecting fast onsets with Amplitude UGens by julianrohrhuber (julian.rohrhuber) Code

    ... kTime:0.01, releaseTime:0.01 // too soft to follow ( { var sig, amp, gate, trig; sig = LFSaw.ar(-200) * SinOsc.kr(20).range(0, 1); amp = Amplitude.ar(sig, attackTime:0.01, releaseTime:0.01); gate = amp > 0.2; trig = Trig1.ar(HP ...

  10. klankperc Quark

    // K2A Instr([\klankperc,\k2a],{ arg trig=0.0,sfreqScale=1.0,sfreqOffset=0.0,stimeScale=1.0,foldAt=0.1; Klank.ar( `[ FloatArray[ 87.041, 198.607 ], nil, FloatArray[ 0.165394, 0.15595 ] ], K2A.ar(trig), sfreqScale,sfreqOffset,stimeScale ).sq ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow