Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... -3)}; // trigable perc envelope: triger, duration, attack, curve ~sn = {|...a|SinOsc.ar(*a)}; ~w = {|p,mn,mx|Demand.kr(p,0,Diwhite(mn,mx)).max(mn)}; ~l = {|d=12,s=1,e=0|Line.ar(s,e,d,doneAction:2)}; ) /* grid quantizer explained: ~ ...

  2. ProxyMixer Doc

    ... is proxy to the editor - see below // kr proxies show up in the middle ~lfo = { SinOsc.kr(2) }; ~lfnoyz0 = { |lofreq = 0.5, mul = 1, add| LFDNoise0.kr(lofreq, mul, add) }; // the editor zone is a NodeProxyEditor // open it and set some para ...

  3. QuNeo Doc

    ... min { var freq = ~quNeo.pads[0].x.kr(5000, 300); var amp = ~quNeo.pads[0].y.kr; SinOsc.ar(freq, mul: amp); }.play ) ( //One pad - One Slider - Using Ugens { var freq1 = ~quNeo.pads[0].x.kr(5000, 100); var freq2 = ~quNeo.pads[0].y.kr(5000, 1 ...

  4. MainFX Doc

    ... ); g = m.gui; // a GUI s.scope(8); ) // a test signal x = { PinkNoise.ar(0.5) + SinOsc.ar([220, 330]) * LFNoise2.kr([5, 8, 13, 21]).max(0); }.play; // all MainFX live here: MainFX.all; // kick in predefined effects (at full wet level) m.add ...

  5. TdefPreset_MoreTests Quark

    ... doneAction:2); freq = freq * XLine.kr(1, bend.midiratio, sustain); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; Tdef(\x, { |env| loop({ ( instrument: \pingbend, freq: env[\freq], bend: env[\bend], sustain: env[\sustain], pan: 1.0.rand2 ).p ...

  6. RedAGrain Doc

    ... ; //-- panBus //sine panning f.free; f= SynthDef("pan", {Out.ar(r.panBus.index, SinOsc.ar(4))}).play; //slow random panning f.free; f= SynthDef("pan", {Out.ar(r.panBus.index, LFNoise2.ar(0.3))}).play; //random discrete panning at fast rate ...

  7. MultiChannel Help

    ... run across them. // look at the outputs of Pan2: Pan2 .ar( PinkNoise .ar(0.1), FSinOsc .kr(3)).dump; play({ Pan2 .ar( PinkNoise .ar(0.1), FSinOsc .kr(1)); }); When an Array is given as an input to a unit generator it causes an array of mult ...

  8. Mosca Quark

    ... utput. SynthDef(\blip, { var env = Env([0, 0.8, 1, 0], [0, 0.1, 0]); var blip = SinOsc.ar(1000) * EnvGen.kr(env, doneAction: 2) * 0.6; Out.ar(0, blip ! 2); }).send(server); effects.setup(server, srcGrp.get(), multyThread, maxOrder, renderer ...

  9. MIDIKeyboard Quark

    ... g example ( SynthDef ( \midikeyboardsine , { arg freq, amp = 0.25; Out .ar(0, ( SinOsc .ar(freq,0,amp)* EnvGen .ar( Env .perc, doneAction:2)).dup) }).add; k = MIDIKeyboard .new; k.keyDownAction_({ arg note; Synth ( \midikeyboardsine , [ \fr ...

  10. RedKGrain Doc

    ... ; //-- panBus //sine panning f.free; f= SynthDef("pan", {Out.kr(r.panBus.index, SinOsc.kr(4))}).play; //slow random panning f.free; f= SynthDef("pan", {Out.kr(r.panBus.index, LFNoise2.kr(0.3))}).play; //random discrete panning at fast rate ...

prev 251 252 253 254 255 256 257 258 259 260 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow