Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (366) Code (115) Doc (97) Help (51) Quark (102) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Operators Doc

    ... y); amplitude = 40 / distance.squared; motorSound = RLPF.ar(FSinOsc.ar(200, 0, LFPulse.ar(31.3, 0, 0.4)), 400, 0.3); DelayL.ar(motorSound, 110/344, distance/344, amplitude) }.play) ⧉ ✔ hypotApx Hypotenuse approximation. Returns an approxim ...

  2. SoundBlock Quark

    ... = greenAmp * (SinOsc.ar([1200, 2400] * greenPitch, 0, [3, 5]).tanh * [0.5, 1] * LFPulse.ar(8, 0, 0.25).lag(0.0125)).sum * isGreen; Out.ar(out, [klack.sum, mecha.sum, greenSignal].sum); }).memStore } }*/

  3. MIDIIn Help

    ... ( s.latency = 0; SynthDef ( "moto-rev" , { arg ffreq=100; var x; x = RLPF .ar( LFPulse .ar( SinOsc .kr(0.2, 0, 10, 21), [0,0.1], 0.1), ffreq, 0.1) .clip2(0.4); Out .ar(0, x); }).send(s); b = Bus .control(s); x = Synth ( "moto-rev" ); // ma ...

  4. XiiSynthDefs Quark

    ... nge 0 - 1 to 0 - buflength in frames st = start * BufFrames.kr(buffer); clock = LFPulse.kr(rate.abs / len, 0); // loop len = Latch.kr(len, clock); offset = Latch.kr(st, clock); env = EnvGen.kr( Env .new([0,1,1,0], [0.01, 0.98,0.01]), clock, ...

  5. Super Mario Theme by dave (Dave) Code

    ... nd second voice SynthDef(\mario, { |out, amp=0.3, freq=440| var snd; snd = LFPulse.ar(freq)!2; snd = snd * EnvGen.ar(Env.linen(0.001, 0.1, 0.03), doneAction:2); OffsetOut.ar(out, snd*amp); }).add; // SynthDef for the bass Synt ...

  6. jitlib_basic_concepts_03 Help

    ... is applied to all slots: ~y[2] = { arg freq=500; SinOsc .ar(freq * [1, 1.1]) * LFPulse.kr(Rand(1, 3)) * 0.1 }; ~y.xset( \freq , 300); the parameter context also can keep bus mappings. a control can be mapped to any control proxy : ~c = { M ...

  7. ChordtrisSoundModule Quark

    ... { |out, amp=0.3, freq=440, sustain=0.5| var snd; var sustainLevel = 0.5; snd = LFPulse.ar(freq)!2; //snd = Latch.ar(snd, Impulse.ar(8000)); snd = snd * EnvGen.ar(Env([0, 1, sustainLevel, (sustainLevel/1.7), 0], [0.001, sustain/4, sustain*( ...

  8. jitlib_basic_concepts_03 Doc

    ... t is applied to all slots: ~y[2] = { arg freq=500; SinOsc.ar(freq * [1, 1.1]) * LFPulse.kr(Rand(1, 3)) * 0.1 }; ~y.xset(\freq, 300); ⧉ ✔ the parameter context also can keep bus mappings. a control can be mapped to any control proxy : ~c = { ...

  9. MFunc Doc

    ... ; // now slider also sets Ndef(\a), using a global spec Ndef(\a, { |freq = 200| LFPulse.ar(freq * [1, 0.1, 0.01]).product * 0.1 }).play; m.add(\set_a, { |sl| Ndef(\a).set(\freq, \freq.asSpec.map(sl.value)) }); // stop the posting, keep \set ...

  10. Block Quark

    ... arfreq, modFreq, index, pan); }], ['formletfun', {arg my= 1000 ; var amp; amp = LFPulse.kr(0.5,0,0.5); Formlet.ar(Dust.ar(12,[0.05,0.05]) * amp, my * exprand(0.5,2.0), 0.005, 0.1); }], ['sinenv', {arg trig = 1 , freq=440 , phase=0 , mul=0.4 ...

prev 31 32 33 34 35 36 37 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow