Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (33) Doc (65) Help (25) Quark (88) SCDoc ↗ Forum ↗ Google ↗
  1. defaultB Quark

    ... .kr(Rand(4000,5000), Rand(2500,3200), 1) ) * Linen.kr(gate, 0.01, 0.7, 0.3, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add;

  2. core-synth-hacks-02 Quark

    ... 4 // cubic interpolation ); sound = DirtPan.ar(sound, ~dirt.numChannels, pan); OffsetOut.ar(out, sound) }, [\ir, \ir, \ir, \ir, \ir, \ir, \ir, \ir]).add; }; ) // other dirty things: ( // write variants for different sample buffer sizes (1. ...

  3. Live Granulation Quark

    ... ge The crucial point of this strategy is a kind of incompatibility of In.ar and OffsetOut. Normally we use OffsetOut for exact buffer granulation with patterns, as the start of the synth (the grain) is corrected by a shift (standard Out.ar ...

  4. PLbindef Quark

    ... Env .perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, sig); }).add; SynthDef ( \sin_grain , { |out = 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { SinOsc .ar(freq, Rand (0, 2pi)) ...

  5. that-score Quark

    // test //-- INIT SynthDef(\thatblip, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * Blip.ar(\freq.kr, 20) ) }).add; s.sync; //-- PLAY ( Tdef(\xthat, { loop { (instrument: \thatblip, note: rrand(-3, 10), octave: [5 ...

  6. those-score Quark

    // test //-- INIT ( SynthDef(\sinmore2, { OffsetOut.ar(0, Env.sine(0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.2])) }).add ); s.sync; //-- PLAY ( Tdef(\xmoremore, { var dt = 0.04 * { rrand(1, 3) / rrand(3, 7) }.dup.sum ...

  7. more-score Quark

    // test //-- INIT SynthDef(\sinmore, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.1])) }).add; s.sync; //-- PLAY ( ~xmore.stop; // for live coding, stop any old one. ~xmore = Task { var ...

  8. BeaconClock test Quark

    ... lick, { var click; click = Impulse.ar(0); DetectSilence.ar(click,doneAction:2); OffsetOut.ar(0, click * 0.5); }).add; ) Pbind(\instrument, \click, \freq, Pfunc({"beats: % tempo: %\n".postf(~clock.beats, ~clock.tempo); rrand(440, 1200) })).p ...

  9. OffsetOutBug Quark

    ... n, bus.busArg], addAction:\addToTail); } }); ) ( s.waitForBoot({ SynthDef(\1, { OffsetOut.ar(\out.ir(0), DC.ar([1, 1])) }).add; SynthDef(\2, { \in.ar([0, 0]).poll }).add; s.sync; s.bind { var bus, s1, s2; bus = Bus.audio(s, 2); s1 = Synth(\ ...

  10. 01_test Quark

    ... sine(sustain, amp), doneAction:2);\ u = Pan2 .ar( SinOsc .ar(freq), pan, env);\ OffsetOut .ar(out, u)\ \).store;\ );\ \ \ g.addResponder( \ , \ |t,r,m| Synth .grain( \ , m[1..]) \);\ f.sendToAll( \ );\ f.sendToAll( \ , \ , 8000 + 4000.rand) ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow