Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nning = true; }; } *endOSC { OSCdef( this.tag ).free; running = false; } *kr { |trig, value, id| id = id ? \key; if( id.isKindOf( Symbol ) ) { id = id.ukr(-1, UReplyKeySpec() ); }; ^SendReply.kr( trig, this.tag, value, id.asUGenInput ); } * ...

  2. Fracture Quark

    ... lectRoutines.do (_.play(SystemClock)); record = { arg running = 1; var soundin, trig = 1, pos = 0, amp, freq, hasFreq, bufLength, cycle; soundin = if (in.isInteger) {SoundIn.ar(in)} {In.ar(in)}; //pos = Phasor.ar(0, BufRateScale.kr(buffer.b ...

  3. pluck Quark

    ... Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, coef: coef); snd = Pan2.ar(snd, pan); Out.ar(0, [snd, snd]); }).add;

  4. TempoClockGui Quark

    ... #[error, -1], // prevent node not found when metro stops metro.synth.setMsg(\t_trig, metroLevel) ]); }; if((waitTime = min(1, model.nextBar - model.beats)) == 0) { min(1, model.beatsPerBar).wait } { waitTime.wait; }; }); }); // start it ru ...

  5. scm_synthdef_autoload Quark

    ... 'exp') ))).store(); ); ( SynthDef(\SCM_Sine_PERC_TG,{ | freq = 1000, gate=1, t_trig=1, boost=0, amp=0.1, pan=0, out=0 | // in pbind t_trig is just trig var env = Decay2.kr(t_trig;, 0.01, 0.1); var sig = SinOsc.ar(freq, 0, env); sig = tanh( ...

  6. PTrig Quark

    PTrig UGenPatterns quark library superclass: P Trig1 based on Trig PTrig(pattern, dur) pattern dur (default: 1) // example s.boot; a= Pbind ( \dur , 1/3, \legato , 0.4, \midinote , PTrig ( Pseq ([0, 2, 4, 4], inf ), 2).trace*5+50).play a.st ...

  7. deltaStream Quark

    ... (0.1, 0.9, default: 0.57) ], \deltaStream ); /* */ /* PlayerMixer([ Patch({ arg trig; SinOsc.ar * EnvGen.kr(Env.perc(0.01, 0.1), trig) }, [ Stream2Trig( 1, PlayerBuilder(\deltaStream, [\deltaStream, \RandStutterXOXfuzzy]) ) ]), Patch({ arg ...

  8. README Quark

    ... Pwrand([0.25, 0.5], [0.9, 0.1], inf) ); // filter eg ~ffreq = 400; ~feg = { |t_trig = 1, freqMul = 25| var eg = EnvGen.kr( Env.perc(0.01, 0.1, level: freqMul), t_trig, levelBias: 1 ); (~ffreq.kr(1) * eg).clip(20, 20000) }; // patch the fil ...

  9. TempoClockGui Quark

    ... #[error, -1], // prevent node not found when metro stops metro.synth.setMsg(\t_trig, metroLevel) ]); }; if((waitTime = min(1, model.nextBar - model.beats)) == 0) { min(1, model.beatsPerBar).wait } { waitTime.wait; }; }); // start it runnin ...

  10. Maths2 Quark

    Maths2 { *ar {|rise=0.1, fall=0.1, linExp = 0.5, loop = 1, plugged = 0, trig = 0| var sampleRate = SampleRate.ir, isExp, isPlugged; var riseIn = rise.clip(0.0001,10*60), fallIn = fall.clip(0.0001,10*60); var freq = 1/(riseIn+fallIn), width= ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow