Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... f(\vgAmpTest, { |out, gate=1, freq=489.075, ring=3, attack=0.003, amp=0.1, pan| OffsetOut.ar(out, Pan2.ar( FSinOsc.ar([1, 2, 3, 4] * freq, mul: ([1, 2, 3, 4] ** -3).normalizeSum).sum * EnvGen.ar(Env([0, 1, 0.001], [attack, ring], [-3, \exp] ...

  2. SyncCenter Quark

    ... t = 0, amp = 0.1, id = 99| var trig; trig = OneImpulse.ar; // also frees itself OffsetOut.ar( out, trig * amp ); SendTrig.ar( trig, id, SpawnOffset.ir ); }), SynthDef( "sync_local_master", { SendTrig.ar( OneImpulse.ar, 98, SpawnOffset.ir ); ...

  3. SyncCenter Quark

    ... t = 0, amp = 0.1, id = 99| var trig; trig = OneImpulse.ar; // also frees itself OffsetOut.ar( out, trig * amp ); SendTrig.ar( trig, id, SpawnOffset.ir ); }), SynthDef( "sync_local_master", { SendTrig.ar( OneImpulse.ar, 98, SpawnOffset.ir ); ...

  4. GAPmatch Quark

    ... d(Server.default); tempSynthDef = SynthDef(\gapmatch_player, { arg bus, buffer; OffsetOut.ar(bus, PlayBuf.ar(1, buffer, doneAction: 2)); }); servers.do({|srv| tempSynthDef.send(srv); }); tempSynthDef = SynthDef(\gapmatch_comparator, { arg t ...

  5. StereoNodeProxy Quark

    ... mes(\out).ir(0) + channelOffset; (if(rate === \audio and: { sampleAccurate }) { OffsetOut } { Out }).multiNewList([rate, outCtl] ++ output) }) }); UGen.buildSynthDef = outerBuildSynthDef; // set the synthDefs instvars, so they can be used l ...

  6. ListeningClock 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 ), ...

  7. PLIdev 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 ...

  8. rewriteString Quark

    ... d" ].choose } ]; ( SynthDef ( \p , { |out = 0, freq=400, amp=0.4, sustain=0.04| OffsetOut .ar(out, SinOsc .ar(freq) * XLine .ar(amp, amp * 0.001, sustain, doneAction: 2) ); }).memStore; ); u = { |str| fork { var m = str.iter.rewriteString(r ...

  9. Wavesets Quark

    ... , 0], [sustain, 0]), doneAction: 2); var snd = BufRd .ar(1, buf, phasor) * env; OffsetOut .ar(out, Pan2 .ar(snd, pan)); }, \ir .dup(8)).memStore; ) Synth ( "wvst0" , [ \bufnum , b, \start , 0, \length , 5000, \sustain , 0.1]); // do the mat ...

  10. Buffer Granulation Quark

    ... solved (SC 3.6.6, February 2014). There also seemed to be accuracy issues with OffsetOut on Windows with SC 3.6 still, but not with newer versions. Credits Thanks for contributions and inspirations by SCers Alberto de Campo (Wavesets), Jam ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow