Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ", { Out.ar( 0, [ // the left channel gets input from an audio bus In.ar(0, 1), SinOsc.ar(440, 0.2) ] ) }).add; ) ( Synth("dataForABus"); // synthesize a sawtooth wave on channel 0 Synth("dataFromABus"); // pair it with a sine wave on chann ...

  2. 01-Introductory-Remarks Doc

    ... torial. Code Examples Code examples within the text are in a different font: { [SinOsc.ar(440, 0, 0.2), SinOsc.ar(442, 0, 0.2)] }.play; ⧉ ✔ This is a common convention in documentation of computer languages, and one that is followed through ...

  3. HOADec5_0 Doc

    ... . ~freq = 48000 / 1024; s.scope(5); {HOADec5_0.ar(~order, HOAEncoder.ar(~order, SinOsc.ar(~freq ), MouseX.kr(-pi, pi), 0 ), gain:1, lf_hf:0, xover:400, mute:0 ) }.play; // original ) ⧉ ✔ helpfile source: /tmp/scquark_hs/SC-HOA/HelpSource/Cl ...

  4. MasterFXGui Doc

    ... rFX, e.g. ProxyChain.add3( \testsnd, { Decay.ar(Impulse.ar(1, [0, 0.5]), 0.1) * SinOsc.ar([300, 450]) }, 0.1); ProxyChain.add3(\leak, \filter -> { |in| LeakDC.ar(in) }, 1); ProxyChain.add3(\dist, \filter -> { |in| (in * 3).tanh }, 1); Proxy ...

  5. PHSparUse Doc

    ... = 5, center = 60, addFreq = 0.1, addDev = 5| LFDNoise3.kr(freq, dev, center) + SinOsc.kr(addFreq, 0, addDev) } ]); c = TempoClock(1); q = 0.12; ) // Play Pbind (via PHSpar) to poll values from one or both synths, // according to the patter ...

  6. HenonN Doc

    ... 2), LFNoise2.kr(1, 0.15, 0.15) ) * 0.2 }.play(s); ) // as a frequency control { SinOsc.ar(HenonN.ar(40, MouseX.kr(1, 1.4), MouseY.kr(0, 0.3))*800+900)*0.4 }.play(s); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Hen ...

  7. Server_Tutorial Doc

    ... nd send it to audio bus zero. ( SynthDef("sine", { arg freq=800; var osc; osc = SinOsc.ar(freq, 0, 0.1); // 800 Hz sine oscillator Out.ar(0, osc); // send output to audio bus zero. }).writeDefFile; // write the def to disk in the default di ...

  8. Fdef Doc

    ... nvGen.kr(Env.perc(0.01, sustain), doneAction: Done.freeSelf) * amp; Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) // fork a thread that plays some sounds ( Fdef(\freq, 440); Fdef(\dur, 0.2); fork { loop { s.sendMsg("/s_new", "gpdef", -1, 1 ...

  9. Tutorial Doc

    ... nd send it to audio bus zero. ( SynthDef("sine", { arg freq=800; var osc; osc = SinOsc.ar(freq, 0, 0.1); // 800 Hz sine oscillator Out.ar(0, osc); // send output to audio bus zero. }).writeDefFile; // write the def to disk in the default di ...

  10. Unpack1FFT Doc

    ... ro. ( { var sig, chain, stream, windowStarts, demand; var fftsize = 1024; sig = SinOsc.ar(LFDNoise3.kr(LFNoise0.kr(1) * 40 + 60) * 700 + 800); chain = FFT(LocalBuf(fftsize), sig); stream = Unpack1FFT(chain, bufsize: fftsize, binindex: 0, wh ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow