Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1070) Code (249) Doc (326) Help (124) Quark (363) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. ServerPatternTriggering Quark

    ... 0.3, 0.3)), XLine.kr(Rand(4000,5000), Rand(2500,3200), 1) ) * Linen.kr(Trig1.kr(Impulse.kr(0), time), 0.01, 0.7, 0.3, doneAction: Done.freeSelf); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add; ) ( a = [-7, -1, 0, 2, 1, 5, 4, 8, 5, ...

  2. startup00-ddwSynths Quark

    ... attack and decay of individual stroke outbus| var sig, envDefault, env, trig = Impulse.ar(strokesPerSec), trigs = PulseDivider.ar(trig, 2, (0..1)), strokeEnv = EnvGen.ar(Env.linen(attack, strokesPerSec.reciprocal - attack - decay, decay), ...

  3. internal-routing-test Quark

    // modulated band limited impulse ( SynthDef(\impin, { |out, modfreq = 1, rq = 0.1, pan| var sound; sound = \input.ar(0 ! ~dirt.numChannels); sound = sound.sum; // mix it down to mono sound = RLPF.ar(sound, LFTri.kr(modfreq).exprange(200, 1 ...

  4. TestDurInterpolation Quark

    ( s.waitForBoot({ SynthDef(\imp, { Out.ar(0, Impulse.ar(0).dup * EnvPerc.ar(release: 0.01)); }).add; s.sync; ~dur = 1; t = TempoClock.default; d = Pbind( \type, \note, \instrument, \imp, \dur, Pfunc { var val = ~dur.next; val.postln; val } ...

  5. TestClockTempoInterpolationscd Quark

    ( Alga.boot({ a = AP({ FreeSelf.kr(Impulse.ar(0)) }).play(chans:2); }); ) Alga.interpTempo(tempo: 10, time: 5) Alga.interpTempo(tempo: 5, time: 3, sched: 1) Alga.interpTempo(tempo: 10, time: 5, shape: Env([0, 1, 0, 1], [1, 2, 3])) ( ~tempo ...

  6. NanoKtl Quark

    ... .do { |i| p[( "test_bla" ++ i).asSymbol] = { |ring = 0.02| Pan2 .ar( Ringz .ar( Impulse .ar(exprand(0.5, 4)), exprand(300, 3000), ring), 1.0.rand2, 0.2) }; }; Spec.add(\ring, [0.0001, 1, \exp]); ) // make a nanoKtl, and map it to the mixer: ...

  7. PlayBufFree Quark

    ... startPos=0.0, endPos=1.0, loop = 0.0, keepLoop = 0; var out, trigger; trigger = Impulse.ar( rate.abs * ( (1 / (BufDur.kr(bufnum) * (endPos - startPos) .abs.max(0.000000001))) ).min(20000) * loop.round(1) ); ^PlayBuf.ar( numChannels, bufnum, ...

  8. XiiChannelMeter Quark

    ... putLevels", { var in, imp; in = InFeedback.ar(NumOutputBuses.ir, numIns); imp = Impulse.ar(updateFreq); SendReply.ar(imp, "/ixiInLevels", [RunningSum.ar(in.squared, numRMSSamps), Peak.ar(in, Delay1.ar(imp)).lag(0, 3)].flop.flat ); }).play(R ...

  9. cheapPiano1 Quark

    ... (0.03/12)])); tonefreq = tone.linlin(0, 1, 1000, 5000); hammer = Decay2.ar( in: Impulse.ar(0.001), attackTime: 0.008, decayTime: 0.04, mul: LFNoise2.ar(freq: amp.linlin(0, 1, tonefreq, 2 * tonefreq), mul: 0.25) ); //Try LFNoise1, LFNoise0, ...

  10. distortedGuitar Quark

    ... tDistLPF = 2000, gain = 75; var mute, snd; // The Pick snd = Hasher.ar(Sweep.ar(Impulse.ar(0))); snd = snd - DelayN.ar( in: snd, maxdelaytime: pickPos.clip(0, 1)/freq, delaytime: pickPos.clip(0, 1)/freq); // The String snd = Pluck.ar( in: s ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow