Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (393) Code (74) Doc (146) Help (84) Quark (89) SCDoc ↗ Forum ↗ Google ↗
  1. OSCresponderNode Doc

    ... e from SendTrig ( s.boot; s.notify; ) ( SynthDef("help-SendTrig", { SendTrig.kr(Dust.kr(1.0), 0, 0.9); }).add; // register to receive this message a = OSCresponderNode(s.addr, '/tr', { |time, responder, msg| [time, responder, msg].postln; } ...

  2. History Doc

    ... one, as a little performance history 1 + 2; p = ProxySpace.push(s.boot); ~a = { Dust.ar([1, 1] * 30) * 0.3 }; ~a.play; ~a.end(3); History.started; // is it on now? // stops recording history and ends logging. History.end; History.started; H ...

  3. MTP Doc

    ... r(ExpRand(1, 30), amp * 0.3))).clip(50, 15000); var snd = BPF.ar(GrayNoise.ar + Dust.ar(30, 20), freq2 * [1, 1.9], 1/reso); var env = EnvGen.kr(Env.asr(0.01, 1, 0.05), gate, doneAction: 2); Out.ar(out, Pan2.ar( ((snd * (env * amp.min(1) * r ...

  4. MultiClient_Setups Doc

    ... otTree; Server.default = r; // Synth x = Synth(\default, nil); x.release; x = { Dust.ar(10!2).lag(0.002) }.play(r); x.release(2); Pbind(\degree, Pseq((0..7).mirror), \dur, 0.15, \server, r).play; // JITLib nodeproxies Ndef(\x, { Dust.ar(10 ...

  5. Convolution2 Doc

    ... panning input. The result is a constantly shifting spectral colorization of the Dust impulses: b = Buffer.alloc(s, 2048, 1, _.zeroMsg); ( x = { |i_kernel, density = 100, trigPeriod = 5.0, cutOff = 1000, minFreq = 200, maxFreq = 2000| var in ...

  6. TGrains Doc

    ... trate, dur, clk, pos, pan; trate = MouseY.kr(8, 120, 1); dur = 4 / trate; clk = Dust.kr(trate); pos = MouseX.kr(0, BufDur.kr(b)) + TRand.kr(0, 0.01, clk); pan = WhiteNoise.kr(0.6); TGrains.ar(2, clk, b, 1, pos, dur, pan, 0.1); }.scope(zoom: ...

  7. KmeansToBPSet1 Doc

    ... .kr(0.0,1.0)),0.0))}.play //softened {Out.ar(0,Pan2.ar(0.1*KmeansToBPSet1.ar(44+Dust.kr(10,10),30,10,10,Impulse.kr(0.1),Impulse.kr(LFNoise0.kr(0.4,0.2,0.3)),MouseX.kr(0.01,1.0,'exponential')-0.01),0.0))}.play //modulate {Out.ar(0,Pan2.ar(0. ...

  8. Multichannel-Expansion Doc

    ... oice to a stereo position CombL.ar( // a comb filter used as a string resonator Dust.ar( // random impulses as an excitation function // an array to cause expansion of Dust to n channels // 1 means one impulse per second on average Array.fi ...

  9. LocalBuf Doc

    ... tereo (needs no clearing, because delay is filled by ugen) ( { var z = Decay.ar(Dust.ar(1.dup, 0.1), 0.3, WhiteNoise.ar); BufCombC.ar(LocalBuf(SampleRate.ir, 2), z, XLine.kr(0.0001, 0.01, 20), 0.2); }.play ) // multichannel test ( { var in, ...

  10. Spawning Doc

    ... will send a trigger to the client app SynthDef("help-SendTrig", { SendTrig.kr( Dust.kr(1.0), // trigger could be anything, e.g. Amplitude.kr(SoundIn.ar(0) > 0.5) 0, 0.9 ); }).send(s); ) ( // this receives the trigger on the client side and ...

prev 11 12 13 14 15 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow