Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (663) Code (163) Doc (222) Help (83) Quark (188) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. SplineMapper Quark

    ... 1.0, 1.0 ] ], 4.0, false); b.gui( nil ,500@500,\bipolar,\bipolar); ) ( { w = LFSaw .ar(MouseX.kr(40,4000,\exponential)); SplineMapper (b).ar( w , 64 ) * MouseY.kr(0.7,0.0) }.play ) By passing spec and domainSpec to the gui it will size the ...

  2. SpaceDolph Quark

    ... ss4.ar(sigsub, lfolp2, rez); sigmid = Pulse.ar(lfosighigh * 2) * env; sighigh = Saw.ar(lfosighigh * 20) * env; sighigh2 = Saw.ar(lfosighigh * 4) * env; sigfinal = sigroot + sigmid + sighigh + sighigh2; sigfinal = BLowPass4.ar(sigfinal, lfol ...

  3. TestStopPatternBeforeReplaceInterpConnection Quark

    ... { SinOsc.ar(\f.kr(440)) * EnvPerc.ar(release:2) }).add; AlgaSynthDef(\test2, { Saw.ar(\f.kr(440)) * EnvPerc.ar(release:2) * 0.5 }).add; s.sync; a = AP(( def: \test, dur: 0.5 ), playTime:2 ); b = AN({ \in.ar }, [\in, a], interpTime: 2).play ...

  4. DXMix Quark

    ... to crossfade must be put into a Ref ( x = { DXMix .ar( Dseq ([0, 1], inf ), `[ Saw .ar( LFDNoise3 .kr(0.1).range(40, 90), 0.03), PinkNoise .ar(0.05) ], fadeTime: 3 ) ! 2 }.play ) x.release // sources can itself be multichannel arrays // fa ...

  5. Filter Quark

    ... , 3 ]; PitchShift.ar(\in, winSize, pitchRatio, pitchDispertion, timeDispersion)*Saw.ar; } ], [ 'myfx', {arg volume= 0 -> [-20, 20]; \in * volume.dbamp; } ] ]

  6. 06_FB_1 Quark

    ... ga.boot({ a = AlgaNode({ SinOsc.ar(\freq.kr(50) + \fm.ar(0)) }); b = AlgaNode({ Saw.ar(\freq.kr(3) + \fm.ar(0)) }); a.from(b, \fm, scale:[-200, 200]); b.from(a, \fm, scale:[-50, 50]); //feedback connection! a.play(chans:2); //play stereo }) ...

  7. TestPattern5 Quark

    ... ) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) }).add; AlgaSynthDef(\test2, { Saw.ar(\freq.kr([440, 441]) + \fm.kr(10)) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) * 0.5 }).add; s.sync; a = AlgaPattern(( def: \test, dur: 0.25, freq: 44 ...

  8. TestPattern10 Quark

    ... c(0.01, 0.5), doneAction:2) }, sampleAccurate:true).add; AlgaSynthDef(\test2, { Saw.ar(\freq.ar(440)) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) * 0.5 }, sampleAccurate:true).add; s.sync; a = AlgaPattern(( def: Pseq([\test, \test2], inf ...

  9. 032-wave_synth2 Quark

    ... beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; SynthDef(\saw, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0, lp= 1000| var z; z= Mix(LPF.ar(LFSaw.ar(freq+[0, beat], Rand(0, 2), amp*0.5), lp)); Out.ar(out, Pan2.ar(z, pa ...

  10. PSaw Quark

    PSaw UGenPatterns quark library superclass: Pattern based on Saw PSaw(freq, mul, add, length) freq (default: 440) mul (default: 1) add (default: 0) length number of values produced (default: inf) // example s.boot; a= Pbind ( \dur , 1/3, \l ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow