Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1094) Code (315) Doc (268) Help (77) Quark (422) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. CtkControl Doc

    ... meScale: dur, doneAction: 2); src = SinOsc.ar(freq, 0, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }), SynthDef(\control, {arg outbus, rate, low, hi; Out.kr(outbus, LFNoise2.kr(rate).range(low, hi)) }), SynthDef(\controlenv, {a ...

  2. Psync Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; ) ( // a fixed duration pattern: f = Pbind( \dur, 0.5, \degree, Pn(4, 1), \instrument, \help_sinegrain ); // this ...

  3. CtkAudio Doc

    ... le: dur, doneAction: 2); src = BPF.ar(In.ar(inbus), freq, 0.01); Out.ar(outbus, Pan2.ar(src * envgen * amp, Rand(-1.0, 1.0))); }), SynthDef(\dels, {arg inbus, deltime, dur, amp; var env, envgen, src; env = Control.names([\env]).kr(Env.newCl ...

  4. TGrains3 Doc

    ... els = 1, the pan argument is ignored. If numChannels = 2, panning is similar to Pan2. If numChannels > 2, panning is the same as PanAz. amp amplitude of the grain. att attack time of grain in seconds. dec decay time of grain in seconds. win ...

  5. NPVoicer Doc

    ... map(\pan); // for comparison, test with a plain Ndef: Ndef(\a, { |amp=0.1, pan| Pan2.ar(PinkNoise.ar(amp), pan) }); Ndef(\a).play; Ndef(\a).set(\pan, 1); Ndef(\a).set(\pan, -1); Ndef(\a).map(\pan, Ndef(\lfPan)); Ndef(\a).unmap(\pan); // sto ...

  6. LFGauss Doc

    ... ne.freeSelf).range; var son = FSinOsc.ar(i_freq, 0.5pi, env); OffsetOut.ar(out, Pan2.ar(son, i_pan, i_amp)); }).add; ) // modulating various parameters ( Pdef(\x, Pbind( \instrument, \gabor, \freq, Pbrown(step: 0.01).linexp(0, 1, 100, 14000 ...

  7. NHHall Doc

    ... n. For a mono-to-stereo reverb, turn the input signal into a stereo signal with Pan2. For a mono-to-mono reverb, turn the stereo spread up to 1 and use only the left or right output channel. It is not advisable to sum the two channels toget ...

  8. Pbindef Doc

    ... rand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; ) Pbindef(\a, instrument: \Pdefhelp).play; Pbindef(\a, degree: Pseq([0, 2, 5b, 1b], inf)); Pbindef ...

  9. OverlapTexture Doc

    ... nsdur], \sin), doneAction: 2); sound = SinOsc.ar(freq, 0, amp) * env; Out.ar(0, Pan2.ar(sound, Rand.new(-1.0, 1.0))); }).add; SynthDef(\noisetest, {arg amp = 0.2, susdur = 4, transdur = 1; var env, sound, freq; env = EnvGen.kr( Env([0, 1, 1 ...

  10. ParamXFade Doc

    ... mple: // try with an Ndef first Ndef(\a, { |freq = 400, reso = 5, amp=0.2, pan| Pan2.ar(RLPF.ar(Pulse.ar(12), freq, 1/reso, amp), pan); }).play; Ndef(\a).set(\freq, 400, \reso, 5, \amp, 0.2, \pan, 0.2); // add specs for params so they are k ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow