Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... s s.boot; p = ProxySpace.push; s.scope(8); // a 3 channel test sound ~test3 = { SinOsc.ar([2, 3, 5] * 100) * 0.2 }; // compare: play out of 3 adjacent channels ~test3.play(3); ~test3.play(6); ~test3.stop; ~test3.play; // play remembers old ...

  2. jitlib_asCompileString Doc

    ... urrent state: p = ProxySpace.push(s); ( ~ctl1 = { var z = 1; 4.do { |i| z = z * SinOsc.kr(i.sqrt, i+[0,0.2]) }; z }; ~ctl2[0] = { LFNoise2.kr([20,20],20) }; ~ctl2[1] = { LFNoise2.kr([20,20],20) * LFNoise0.kr([20,20],20) }; ~out = { SinOsc.a ...

  3. 13 Doc

    ... reqDev = 200, grainFreq = 2; var gate; gate = Impulse.kr(grainFreq); Out.ar( 0, SinOsc.ar( LFNoise0.kr(4, freqDev, centerFreq), 0, EnvGen.kr(Env.sine(0.1), gate, 0.1) ) ) }).add; SynthDef("aDelay", { arg delay = 0.25; Out.ar( 1, DelayN.ar( ...

  4. Exercise_08_HOA_proxyspace_recording Doc

    ... order, SoundIn.ar(0), // this picks up the Microphone 0, // no azimuth movement SinOsc.ar(0.3, 0, 90 ), // changing elevation plane_spherical:1, // we want it to be a spherical wave radius:SinOsc.ar(0.4, 0, 2, 2 ) // and change the radius ) ...

  5. FreeSelfWhenDone Doc

    ... env = Line.kr(0, 1, 1); FreeSelfWhenDone.kr(env); // free synth at end of line SinOsc.ar(200, 0, 0.5) * env }.play; ) // the previous example works, because FreeSelfWhenDone operates on the Line // this version won't work ( { var env, outp ...

  6. RedMst Doc

    ... (Env.asr(0.01, 0.5, 0.1), gate, amp, doneAction:2); z= LPF.ar(LFSaw.ar(freq*[1, SinOsc.kr(3, 0, 0.008, 2)]).mean, freq*3, 0.4); Out.ar(out, Pan2.ar(z*e, pan)); }).add; //--patterns RedTrk(\hatSimple, Pbind( //track name \instrument, \hat, \ ...

  7. AlgaNode Doc

    ... ck that the Alga instance booted on the server is using. Discussion: AlgaNode({ SinOsc.ar([440, 450]) }).play //Play both channels AlgaNode({ SinOsc.ar([440, 450]) }).play(chans: 2) //Play both channels, explicitly AlgaNode({ SinOsc.ar([440 ...

  8. DXMix Doc

    ... eshold. ( x = { DXMix.ar( Dxrand((0..19), inf), `(Saw.ar((1..10) * 100, 0.1) ++ SinOsc.ar((1..10) * 200, 0, 0.15)), fadeTime: 0.05, stepTime: 0.15, fadeMode: 1 // check other fadeModes // fadeMode: 2 // fadeMode: 3 // fadeMode: 4 ) // short ...

  9. RedEffectModule Doc

    ... internal effect node. Inherited instance methods Examples a= RedEfxBit8(0); c= {SinOsc.ar([400, 404], 0, 0.25)}.play; a.bit8Mix= 1; a.cvs; a.specs; a.bit8Rate= 0.1; a.free; c.free; a= RedEfxDist(0); c= {SinOsc.ar([400, 404], 0, 0.25)}.play; ...

  10. 10_Controls Doc

    ... ynthDef( "withControls", { arg freq = 440, beatFreq = 1, mul = 0.22; Out.ar( 0, SinOsc.ar([freq, freq+beatFreq], 0, mul) ) }).add; ) // items in the array are passed to the controls in Synth when it's created z = Synth("withControls", [\fre ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow