Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. PmonoArtic Help

    ... sc .kr(plfofreq, mul:mw, add:1); freq = Lag .kr(freq, freqlag) * plfo; fcurve = EnvGen .kr( Env .adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1).madd(0.7, 1) * ffreq; sig = Mix .ar([ Pulse .ar(freq, 0.9), Saw .ar(freq*1.007)]); sig = RL ...

  2. AmpComp Help

    ... ustain=0.01, amp=0.5, pan = 0; var freq = MouseX.kr(300, 7000, 1); var window = Env .sine(sustain, amp * AmpComp .ir(freq)); Out .ar(out, Pan2 .ar( SinOsc .ar(freq), pan ) * EnvGen .ar(window, doneAction:2) ) } ).send(s); ) // send grains ( ...

  3. SynthDef Help

    ... 'good style'. One of these, ' gate ' when used to control the gate input of an EnvGen , deserves special mention, as it allows one to use Node's release method. See Node for an example and more detail. Static versus Dynamic Elements It is ...

  4. Pbindf Help

    ... , nharms = 10, pan = 0, gate = 1 | var audio = Blip .ar(freq, nharms, amp); var env = Linen .kr(gate, doneAction: 2); OffsetOut .ar(out, Pan2 .ar(audio, pan, env) ); }).add; ); a = Pbind ( \instrument , \test , \dur , 0.1); Pbindf (a, \freq ...

  5. Pattern Help

    ... or a Pfunc (the pattern that creates FuncStreams). Event Patterns An Event is a Environment with a 'play' method. Typically, an Event consists of a collection of key/value pairs that determine what the play method actually does. The values ...

  6. ampdb Help

    ... 0.01, 0.1, 1, 10].ampdb; Symbol \foo .ampdb; // returns itself. this is used in Envelopes see Env . Function f = ampdb({ |x| sin(x) + 1 }); f.value((0..1000).normalize(0, 8pi)).plot; UGen ( { var a = LFSaw .ar(100).range(0.0001, 10); [a, a. ...

  7. TaskProxy Help

    ... set switch the pattern immediately. (stuck conditions can be subverted by this) envir_(event) provide a default environment for the proxy. If given, it is used as an environment for the routine function. When set for the first time, the rou ...

  8. abs Help

    ... 100, -100], -2, 1, 3].abs; Symbol \foo .abs; // returns itself. this is used in Envelopes see Env . Point Point (-1, 2).abs; Function f = abs({ |x| sin(x) }); f.value((0..1000).normalize(0, 8pi)).plot; UGen ( { var a = SyncSaw .ar(100, 440, ...

  9. Sequencing with Patterns Help

    ... |freq = 440, sustain = 1, amp = 0.5| var sig; sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .linen(0.05, sustain, 0.1), doneAction: 2); Out .ar(0, sig ! 2) }).send(s); r = Task ({ var delta; while { delta = dur.next; delta.notNil } { Sy ...

  10. ProxyMixerOld Help

    ... it is alive ~test = { |freq=250, intv=19, timescale=1, curve=0, loopnode=0| var env = EnvGen .kr( Env ({ 1.0.rand2 }!11, {1.0.rand}!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * in ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow