Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (663) Code (163) Doc (222) Help (83) Quark (188) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. DelayN Doc

    ... // recursive application of delay. { z = Decay2.ar(Dust.ar(1, 0.5), 0.01, 0.1, Saw.ar(100 + [0, 1])); 5.do { |i| z = DelayN.ar(RLPF.ar(z, Rand(100, 3000), 0.03), 1, 1 / (2**i), 1, z * 0.5) }; z }.play ) ⧉ ✔ helpfile source: /usr/local/shar ...

  2. PmonoArtic Doc

    ... attack than the default, illustrating rearticulation more clearly. ( SynthDef(\sawpulse, { |out, freq = 440, gate = 0.5, plfofreq = 6, mw = 0, ffreq = 2000, rq = 0.3, freqlag = 0.05, amp = 1| var sig, plfo, fcurve; plfo = SinOsc.kr(plfofre ...

  3. AlgaTemp Doc

    ... r: 0.5, fm: Pseq([ AlgaTemp({ SinOsc.ar(200) }, scale: [-100, 100]), AlgaTemp({ Saw.ar(40) }, scale: [-200, 200]) ], inf) )).play(chans: 2); }); ) //Connect a new Prand using AlgaTemps ( a.from( Prand([ AlgaTemp({ LFNoise0.ar(10) }, scale: ...

  4. Pwalk Doc

    ... t either end 0); x = a.asStream; SynthDef(\help_walk, { |out, freq| Out.ar(out, Saw.ar([freq, freq+1], 0.5) * EnvGen.kr(Env.perc(0.01, 0.1), doneAction: Done.freeSelf)) }).add; ) ( r = Task({ { Synth.new(\help_walk, [\freq, x.next]); 0.1.wa ...

  5. Convolution2 Doc

    ... hly change the impulse response: RecordBuf is used to record a random frequency Saw oscillator every trigPeriod seconds. Right after the recording (trigPeriod gets delayed by the buffer duration BufDur , using the TDelay UGen) the two convo ...

  6. Onsets Doc

    ... nd.kr(63, 75, Impulse.kr(2)).midicps), LFNoise2.kr(0.5).exprange(100, 10000)) * Saw.ar(2).range(0, 1); // or, uncomment this line if you want to play the buffer in // sig = PlayBuf.ar(1, d, BufRateScale.kr(d), loop: 1); chain = FFT(LocalBuf ...

  7. BusMeters Doc

    ... ,{Bus.audio(s,2)})); m.gui; m.start; Routine({ 500.do { { EnvGen.kr(Env.perc) * Saw.ar(rrand(100,400),rrand(-80,0).dbamp) }.play(outbus:m.busses.choose); 0.1.wait; } }).play(AppClock) ⧉ ✔ 15 busses seems to be maximum for the SynthDef. 16 r ...

  8. PlayerMixer Doc

    ... oKey([0,1,3,5,7,9,11]); freq = DegreeToKey.kr(scale.bufnumIr,degree + 30,12.0); Saw.ar([freq,freq ],amp) }); p = PlayerMixer([ Patch(\helpPlayerMixer,[ KrNumberEditor(5,\degree), KrNumberEditor(0.3,\amp), d ]), Patch(\helpPlayerMixer,[ KrNu ...

  9. ModMap Doc

    ... ,10.0).postln) a.set(\freq, 0.1); a.set(\freq, 10); Ndef(\play2, {arg freq=300; Saw.ar(freq, 0.2) }).play; ModMap.map(Ndef(\play2), \freq, \sin, \freq1, [\freq, 1]); ModMap.ndefs; ModMap.lag(1, \freq, 1); ModMap.set(1, \freq, rrand(1,10.0). ...

  10. LocalBuf Doc

    ... e); var freq = IndexL.kr(buf, MouseX.kr(0, BufFrames.kr(buf))).poll * 100 + 40; Saw.ar(freq * [1, 1.1]) * 0.1 }.play; ) // DetectIndex ( { var buf1 = LocalBuf.newFrom((0..5).scramble); var buf2 = LocalBuf.newFrom((0..5).scramble - 1); var b ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow