Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... EnvGen .ar( Env .perc(0, 0.1, amp), doneAction:2); z= SinOsc .ar(freq, 0, 0.2); OffsetOut .ar(0, Pan2 .ar(z*e, pan)); }).memStore; ); ) // play a pattern on clock t: ( Pdef ( \a , Pbind ( \instrument , \ping , \degree , Pseq ((0..7), inf ), ...

  2. PatternsInterplation Quark

    ... var x = SinOsc.ar(\freq.kr(440)); var env = EnvGen.ar(Env.perc, doneAction:2); OffsetOut.ar(\out.ir(0), x.dup * env * \amp.kr(1)); }).add; ) ( //This doesn't work with arrays [440, 660] yet (needs to trigger 2 synths). Check eventTypes -> ...

  3. README Quark

    ... //Also, note the 'sampleAccurate' argument. This allows the AlgaSynthDef to use OffsetOut instead of Out //for sample accurate retriggering. AlgaSynthDef(\sinePerc, { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar }, sampleAccurate: true).add; //Wai ...

  4. ServerPatternTriggering5 Quark

    ... 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 interplation to work correctly even when switching m ...

  5. Participation.test Quark

    ... doneAction:2);\ u = SinOsc .ar(freq, SinOsc .ar([freq2, freq3]) * 0.4) * env;\ OffsetOut .ar(out, u)\ \).store;\ );\ \ \ e = [ MarkovNet (c), MarkovNet (x)];\ (\ e.do( _ .function = \ |data| \ data.postln;\ Synth ( \ , [[ \ , \ , \ ], data ...

  6. Neuromodule-Stream-test Quark

    ... width, loop:0, doneAction: 2).range; sig = SinOsc.ar(freq, 0.5pi) * env * amp; OffsetOut.ar(out, sig); }).add; ) ( Tdef(\x, { loop { var dt = 0.1; ( instrument: \gabor, note: ~module.next * 4, sustain: dt * 1.5, // 50% overlap width: 0.3 ) ...

  7. allesAnAlle Quark

    ... { arg out=0, amp=1.0, pan=0; var trig; trig = Impulse.ar(1); FreeSelf.kr(trig); OffsetOut.ar(out, Pan2.ar(trig * amp, pan)) }, [\ir, \ir, \ir]).add; ); ( // main grain, classic gabor. SynthDef('grain', { arg out = 0, freq=800, sustain=0.01, ...

  8. AlgaStartup Quark

    ... ared have sampleAccurate:false so that the AlgaSynthDef will use Out instead of OffsetOut. This is FUNDAMENTAL to avoid bugs with sample accuracy. All these definitions are needed FROM THE START of an audio block, and should not be delayed ...

  9. Lattice Quark

    ... nvGen .kr( Env .sine(dur, amp), doneAction: 2); osc = SinOsc .ar(freq, 0, env); OffsetOut .ar(out, osc); }).memStore; ) // Moving through the lattice with a Pbind ( var index, lattice, basefreq, orient; lattice = Lattice .new; basefreq = 44 ...

  10. PIdev Quark

    ... Env .perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, Pan2 .ar(sig, pan)); }).add; ) ( // rhythmic variation and partial pitch repetition // play for a while to note slow sliding caused by Pseg ~ ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow