Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... | EaseInOutQuad .(t)}.plot; //--similar in sclang and inside synthdefs s.boot { SinOsc .ar( EaseInOutExpo .kr( MouseX .kr)*500+500, 0, 0.1)}.play a.collect{ |x| EaseInOutExpo. (x)}.plot //--rates are flexibe when used inside synthdefs { Sin ...

  2. Reverberator3 Quark

    ... ay=1.0; ( Patch ({ var in; in = Decay2 .ar( Impulse .ar(0.6, 0.25), 0.01, 0.25, SinOsc .ar( SinOsc .kr(3.7,0,200,500))); Reverberator3 .ar(in,0.6) }).play )

  3. Tubie Quark

    ... 0.1, gain = 2.4| var snd; var saw1, pulse, reso, verb, out; pulse = Clipper8.ar(SinOsc.ar(SinOsc.ar(freq), mul: LFNoise1.kr(1/freq).range(15,25)), -0.5, 0.5); saw1 = Saw.ar(LFNoise1.ar(1/freq).range(freq-21, freq+17), mul: 0.9) * pulse; res ...

  4. sos_bell Quark

    ... out=0, amp=0.1, pan=0| var son, strike, hum; // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3, 0.2, 0], [0, 0.3, 0.3, 0.3])); ...

  5. waveFolder Quark

    ... fset.mod(1) * 2pi, 0.001); //The sound being sent through the wavefolder: snd = SinOsc.ar( freq: freq, mul: env, add: offset); //The wavefolder itself: snd = SinOsc.ar( freq: 0, phase: snd.mod(2pi), add: SinOsc.ar(freq: 0, phase: offset, mu ...

  6. WFSTools Quark

    ... if(azMax != 2pi, {az = (az / azMax) * 2pi}); case { az.rate == 'control' } { ^([SinOsc.kr(0, az), SinOsc.kr(0, az - (0.5pi))] * d ) + center; } { az.rate == 'audio' } { ^([SinOsc.ar(0, az), SinOsc.ar(0, az - (0.5pi))] * d ) + center; } { tr ...

  7. surf Quark

    ... 00,tideEffect=0.5; var wave,tide,halfrange; halfrange = max - min * 0.5; tide = SinOsc.ar(tideFreq,0,halfrange,halfrange + min) * tideEffect; wave = SinOsc.ar(waveFreq,0,halfrange, halfrange + min) * (1 - tideEffect); (wave + tide) / 12000 ...

  8. UGenPatterns Overview Quark

    ... o need to do the math - just reuse the knowledge you have about how for example SinOsc works. generators: PClipNoise PDC PExpRand PFSinOsc PImpulse PIRand PLFPulse PLFSaw PLFTri PLine PMouseX PMouseY PMouseButton PPulse PRand PSaw PSilent P ...

  9. SharedProxySpace Quark

    ... / play sine tone with freq dependant on ensemble, but a little random. ~out = { SinOsc .ar(440 + (300 * ~ensemble.ar) + Rand (0, 10), 0, 0.1) }; ~ensemble = 1; // tune up a bit; ~ensemble = { Line .ar(0, 2, 10) }; // Henry pushes his proxys ...

  10. Siren Quark

    ... 2, iphase = 0, modPhase = 0, noiseLevel = 0, mul = 1, add = 0| var wave; wave = SinOsc.ar( 0, MulAdd( LFSaw.ar( freq, iphase/pi )**sharpness, pi, modPhase ) ); if( noiseLevel == 0 ) { ^wave.madd( mul, add ) } { ^((wave * (1-noiseLevel)) + ( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow