Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rrow keys to change frequency ( s.waitForBoot({ n={ arg freq=220; var out; out= SinOsc .ar(freq,0,0.2); 8.do{out = AllpassN .ar(out, 0.2,0.02+0.20.rand,8)}; out; }.play; w = Window ( "Use arrow keys to change the frequency by steps" , Rect ...

  2. ServerPatternTriggering5 Quark

    ( s.waitForBoot({ SynthDef(\sinePerc, { var x = SinOsc.ar(\freq.kr([440, 441])); var env = EnvGen.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; //Wr ...

  3. SCButton Help

    ... , Color .rand]]) .mouseDownAction_({ a = { EnvGen .kr( Env .adsr,doneAction:2)* SinOsc .ar(440,0,0.4)}.play; }) .action_({ arg butt, mod; a.release(0.3); }); w.front; }) ) // if you drag a function to a button, the the button's action is se ...

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

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

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

  7. Functions and Other Functionality Help

    ... ays stop all sound in SC. You'll be using it a lot, so commit it to memory. { [ SinOsc .ar(440, 0, 0.2), SinOsc .ar(442, 0, 0.2)] }.play; Not too inspiring? Don't worry, we're just getting started, and this is just a simple example to demon ...

  8. DXFan Quark

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

  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 231 232 233 234 235 236 237 238 239 240 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow