Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .do{ |i| { var freq = pitches[i].midicps; var env = Env.perc.ar(Done.freeSelf); SinOsc.ar(freq) * 0.1 * env }.play; 0.2.wait } } ) ⧉ ✔ . clipAt ( index ) Similar to -at , but guarantees that any value for index is valid by clipping values o ...

  2. 03. GeoGraphyAudio Quark

    ... .01, dur, 1, -8), 1.0, doneAction:2) // doneAction=2 avoids the freeing issue * SinOsc .ar(pitch.midicps), LFNoise1 .kr(1/dur), // --> panning is proportional to duration and to pitch amp ) )}) ; // here we send it to server, a variable rep ...

  3. SGliss Quark

    ... p; }; } } SGlissSine : AbstractSGlissVoice { *type {^\Sine} func { ^{|fre, amp| SinOsc.ar(fre, Rand(0, 2pi), AmpComp.kr(fre)*1.25*amp); }; } } SGlissSineFB : AbstractSGlissVoice { *type {^\SineFB} func { ^{|fre, amp| SinOscFB.ar(fre, LFNois ...

  4. Simple Trapset by codepool (codepool) Code

    ... cale: dur, levelScale: levK); out =Pan2.ar(Decay2.kr(t_trig, 0.005, 0.45, FSinOsc.ar(26.midicps, 0.4)+FSinOsc.ar(38.midicps, 0.2)),0); Out.ar(0, out*kEnv); }).load(s); SynthDef("snTrig1", { arg levSn=1, t_trig=0, dur=0.125, ...

  5. NPModules Quark

    ... req] ?? {{\freq.kr(440)}}; { var freq = this.krFunc(\freq, \freq.asSpec, dict); SinOsc.ar(freq) } }, sinefb: {|dict| { var freq = this.krFunc(\freq, \freq.asSpec, dict); var fb = this.krFunc(\fb, [0, 2], dict); SinOscFB.ar(freq, fb) } }, am ...

  6. Vapor Doc

    ... env = EnvGen.kr(Env([0, 1, 0], [0.1, 3], \sin, 1), gate, doneAction: 2); src = SinOsc.ar(x * 330 + 220, 0, y * 0.5); Out.ar(0, src * env); }).add; // a dictionary to put our notes into - keyed with the id of the touch n = Dictionary.new; / ...

  7. NumberBox Doc

    ... h by step using arrow keys: ( s.waitForBoot({ n = { |freq = 220| var out; out = SinOsc.ar(freq, 0, 0.2); 8.do{ out = AllpassN.ar(out, 0.2, 0.02+0.20.rand, 8) }; out; }.play; w = Window("Use arrow keys to change the frequency by steps", Rect ...

  8. SCNumberBox Help

    ... ynth by step using arrow keys ( s.waitForBoot({ n={ arg freq=220; var out; out= SinOsc .ar(freq,0,0.2); 8.do{out = AllpassN .ar(out, 0.2,0.02+0.20.rand,8)}; out; }.play; w = Window ( "Use arrow keys to change the frequency by steps" , Rect ...

  9. Pbind Help

    ... env = Decay2 .kr(gate, 0.05, 8, 0.0003); synth = RLPF .ar( LFPulse .ar(freq, 0, SinOsc .kr(0.12, [0, 0.5pi], 0.48, 0.5)), freq * SinOsc .kr(0.21, 0, 18, 20), 0.07 ); #a, b = synth*env; DetectSilence .ar(a, 0.1, doneAction: 2); Out .ar(out, ...

  10. TaskProxy Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) x.play; ( x.source = { loop { s.sendMsg("/s_new", "pdef_grainlet", -1, 0, 0, \freq, rrand(600, 640)); 0.1.wait; } } ) ( x.sou ...

prev 241 242 243 244 245 246 247 248 249 250 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow