Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. OpenObject Doc

    ... blish(\zz); n.sendMsg("/oo", \zz, \play); n.sendMsg("/oo_p", \zz, "{ |freq=300| SinOsc.ar(freq, Blip.ar([3, 4], 4) * 6, 0.1) }"); n.sendMsg("/oo_p", \zz, "{ |freq=300| Saw.ar(freq * Blip.ar([3, 4], 4, 6, 1), 0.1) }"); n.sendMsg("/oo", \zz, ...

  2. SoundFileAnalysis Doc

    ... num: 1000); ( SynthDef(\record, {|out| var in, rec; in = RLPF.ar(LFSaw.ar(300 * SinOsc.kr(0.4).range(0.5, 5)), Line.kr(12000, 100, 3)); rec = RecordBuf.ar(in, b.bufnum, loop: 0, doneAction: 2); Out.ar(out, in); }; ).add ) Synth(\record); // ...

  3. MIDIIn Doc

    ... t, freq = 440, formfreq = 100, gate = 0.0, bwfreq = 800| var x; x = Formant.ar( SinOsc.kr(0.02, 0, 10, freq), formfreq, bwfreq ); x = EnvGen.kr(Env.adsr, gate, Latch.kr(gate, gate)) * x; Out.ar(out, x); }).add; ) x = Synth("sik-goo"); // se ...

  4. Non-Realtime-Synthesis Doc

    ... = Score([ [0.0, ['/d_recv', SynthDef(\NRTsine, { |out, freq = 440| Out.ar(out, SinOsc.ar(freq, 0, 0.2).dup) }).asBytes ]], [0.0, (x = Synth.basicNew(\NRTsine, server, 1000)).newMsg(args: [freq: 400])], [1.0, x.freeMsg] ]); a.recordNRT( out ...

  5. GMCurveEnvView Doc

    ... ar envGen = EnvGen.kr( \env.kr(env.asArray), doneAction: Done.freeSelf ); snd = SinOsc.ar(freq, mul: amp); // Apply the enveloppe control snd = snd * envGen; Out.ar(0, snd!2); }).add; // Assign action, // assign maxSize to reflect synth def ...

  6. DXFan Doc

    ... ed to 8 channels ( { var lfo = LFDNoise3.kr(0.2); DXFan.ar( Dshuf((0..7), inf), SinOsc.ar(lfo.range(800, 1500), 0, 0.03), size: 8, fadeTime: 0.01 ) }.plot(0.2) ) // crossfading stereo pairs to every second out ( { var lfo = LFDNoise3.kr(0.2 ...

  7. AlgaPatternPlayer Doc

    ... ayer for both indexing values and triggering the pattern ~pattern = AP(( def: { SinOsc.ar(\freq.kr + \freq2.kr) * EnvPerc.ar }, freq: ~player[\freq], freq2: ~player.read({ | freq | if(freq == 440, { freq * 2 }, { 0 }) }), ), player: ~player ...

  8. ProxyMixerOld Doc

    ... is proxy to the editor - see below // kr proxies show up in the middle ~lfo = { SinOsc.kr(2) }; ~lfnoyz0 = { |lofreq, mul = 1, add| LFDNoise0.kr(lofreq, mul, add) }; // the editor zone is a NodeProxyEditor // open it and set some params m.o ...

  9. Signal Doc

    ... |sig| Buffer.loadCollection(s, sig.asWavetableNoWrap) }; s.sync; x = { var in = SinOsc.ar(100, 0, SinOsc.kr(0.1, 0, 0.5, 0.5)); Shaper.ar(b, in) ++ LeakDC.ar(Shaper.ar(b[1], in)) }.scope; }) ) x.free; b.do(_.free); b = nil ⧉ ✔ Signal. hanni ...

  10. ProcModR Doc

    ... SynthDef(\singrain, {arg outbus, freq, amp, dur; OffsetOut.ar(outbus, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2), Rand.new(-1.0, 1.0) ) ) // read off the overall env control of the ProcMod }).add; // cr ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow