Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... his],this.parent)); hier.do(function,*otherargs); }); } //combined effects grainEnv{arg levels=[0,1,1,0],times=[1,1,1],curves='welch',releaseNode=nil,loopNode=nil; var n=SPEnv.new(levels,times,curves,releaseNode,loopNode); this.do(_.env(n)) ...

  2. Pstep Doc

    ... tly when needed, not before. See Pseg for a pattern whose value changes like an Env . Class Methods Pstep. new ( levels , durs: 1 , repeats: 1 ) Create an instance of Pstep. Arguments: levels A number, collection, or Pattern that returns th ...

  3. NodeMessaging Doc

    ... #[0.999, 1.001], gate = 1| var sig = Mix(Saw.ar(freq * (detune ++ [1]), amp)), env = EnvGen.kr(Env.adsr, gate, doneAction: Done.freeSelf); Out.ar(out, (sig * env) ! 2); }).add; SynthDescLib.global[\controlList] ) ⧉ ✔ Prints: SynthDesc 'con ...

  4. Instr-making-Synths Doc

    ... Instr(\sin, { arg freq,amp,dur=0.2; SinOsc.ar(freq,0.0, LFNoise1.kr(0.1,amp)) * EnvGen.kr(Env.triangle(dur),doneAction:2) }); Instr(\sin).spawnEvent( (dur: 4.0.rand) ) ) ⧉ ✔ see also Instr Patterns helpfile source: /tmp/scquark_hs/crucial-l ...

  5. InstrSynthDef Doc

    ... at bus it is playing on when the actual synth is being started. objects such as Env or Float or Array will pass themselves as an instrOnly arg, thus fixing them in the synthDef objects such as Sample can be used in the course of the ugenGra ...

  6. Re: Re: the perfect frequencies by 0-2U (grirgz) Code

    ... c.ar(x.choose/fac3).range(1,20) ).tanh/2, ].choose; Pan2.ar((sin+saw) * EnvGen.kr(Env.sine(12, 1/n), 1, doneAction:2), 1.rand2) } ); }; ) ( // DEFINE A ROUTINE r = Routine({ inf.do({ f.play; 10.wa ...

  7. dacTest Quark

    ... ers; var config, model, view, presenter; SynthDef(\dacTest, { |out, gate=1| var env = EnvGen.kr(Env.asr(0.03, 0.3, 0.01), gate, doneAction: Done.freeSelf); var sig = WhiteNoise.ar * env; Out.ar(out, sig) }).add; config = Environment(know: t ...

  8. A Simple Synthesizer Keyboard 1 by pyoungryangko (prko) Code

    ... = { |i| { |g = 0| LFTri.ar((i + 69 + [0, 0.15]).midicps) * 0.1 * Env.adsr.kr(gate:g); }.play }!n; ctl = { |i=0, gate=0| x[i].set(\g, gate) }; w = Window("self ear-training", Rect(200, 200, 583, 136)); w.front; ...

  9. Pwalk Help

    ... ; SynthDef ( \help_walk , { arg freq; Out .ar(0, Saw .ar([freq, freq+1], 0.5) * EnvGen .kr( Env .perc(0.01, 0.1), doneAction:2)) }).add; ) ( r = Task ({ { Synth .new( \help_walk , [ \freq , x.next]); 0.1.wait; }.loop; }).play( SystemClock ) ...

  10. 004-multiple_synth Doc

    ... y.geom(4, 0.5, Rand(0, 1)); rings= Array.geom(4, maxDur, Rand(0, 1))*maxDur; e= EnvGen.ar(Env.perc(0.01, maxDur), 1, amp, doneAction:2); z= Klank.ar(`[freqs, amps, rings], Impulse.ar(0)); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //-- ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow