Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. Additive Synthesis GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... "additive-multislider", { arg outbus, freq = 440, amp = 0.01; var snd = SinOsc.ar(freq, 0, Lag.kr(amp, 3)); Out.ar(outbus, snd!2); }).add; SynthDef("continuousOut", { arg inbus, amp = 0.1, gate = 1, att = 0.1, sus = ...

  2. ProxyPreset Doc

    ... doneAction:2); freq = freq * XLine.kr(1, bend.midiratio, sustain); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) // then make a ProxyPreset for the Tdef; // for Tdefs, best use the TdefPreset class b = TdefPreset(a); // these are the para ...

  3. DrumTrack Doc

    ... kr(source, lock,kicksensitivity:kick,snaresensitivity:snare,debugmode:2); beep= SinOsc.ar(1000,0.0,Decay.kr(trackb,0.1)); Out.ar(0,Pan2.ar((vol*source)+(beepvol*beep),0.0)); }).play; ) a.set(\vol,0.0); a.set(\beepvol,1.0); a.set(\kick,0.2); ...

  4. 04-Functions-and-Other-Functionality Doc

    ... g processes and sound in SC. You'll be using it a lot, so learn it by heart. { [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 dem ...

  5. ZZZ Quark

    ... saw = LFSaw.ar(freq: freq, iphase: iphase, mul: mul, add: add) * sawAmp, sine = SinOsc.ar(freq, 0, 0.5) * sineAmp; OffsetOut.ar( out, triangle + pulse + saw + sine ) }, variants: ( triangle: [mul: 0.5, add: 0.0, triAmp: 1.0], pulse: [width: ...

  6. jitlib_basic_concepts_04 Doc

    ... ProxySynthDef.sampleAccurate = false; ~x.play; // the grain frees itself ~x = { SinOsc.ar(800) * EnvGen.ar(Env.perc(0.001, 0.03, 0.4), doneAction: Done.freeSelf) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).w ...

  7. basic_telepathy_test Quark

    ... env = EnvGen.ar(Env.perc(0.01, sustain), 1, doneAction:2); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0.5pi, amp * env), pan)); }).add; ) ( Pbind(\instrument, \Pdefhelp, \dur, 0.5, \note, Pseq([0, 3, 6, 7], inf)).play(b, quant: 1); Pbind(\instrum ...

  8. CircleRamp Doc

    ... { |azi = 0, ele = 0, spr = 0, width = 60, vbapBuf| var panned, source; source = SinOsc.ar([440, 660], 0, Decay2.ar(Impulse.ar([1, 0.9]), 0.1, 0.2)); azi = azi.circleRamp; panned = VBAP.ar(5, source, vbapBuf, [azi - (0.5 * width), azi + (0.5 ...

  9. Pdfsm Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar([freq, freq + 0.1.rand2], 0, env)) }).add; ) ( var p; p = Pdfsm( [ Prand([0, 1, 2], inf), // signalStream IdentityDictionary[ // state 0 0 -> [2, Pseq ...

  10. FbNode Quark

    ... ay line: self-modulating sine wave. ( { var fbNode = FbNode ( 1 ); var signal = SinOsc .ar( 100 , fbNode * Line .kr( 0 , 2 , 10 ) ); // the FbNode is used to modulate the SinOsc's phase fbNode.write(signal); signal ! 2 ; }.play; ) // Two de ...

prev 231 232 233 234 235 236 237 238 239 240 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow