Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (138) Code (31) Doc (44) Help (14) Quark (47) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. line Quark

    /* \line An line / ramp generator. a: start value b: end value curve: a curve value for the line. A 0 (zero) curve creates a linear line, a positive curve value makes the line tend towards the start value, and v.v. duration: duration of the ...

  2. cl-manual-examples Quark

    ... ("12345")\xrand("3'4'5'6'")", 2, 1)"; /y- /************** Listing 34. Usage of \ramp() generator. **************/ /y = "\ramp("*", 1, 0.2, 1, `exp)::\pitch("*", "2", 0, 0)"; /y+ // randomly choose accel or decel /y = "\ramp("*", 1, 0.2, {2. ...

  3. FPSoundRepresentation Quark

    ... e, in; dt = this.dt; speedValue = Control.names(\speed).kr(speed); speedValue = Ramp.kr(speedValue, dt); /* play default if input is not supplied */ if(input == nil, { in = Impulse.ar(speedValue.linlin(0,10, 5, rrand(50, 200.0))); in = BPF. ...

  4. FreqSpectrum Quark

    ... d var halfsize; var c; var minu, subt, diff; // complex method var complex; var ramped, complexr; var num, den; var minMag, singlBins; // rfft var rfftSize; var cosTable; var rcomplex, rcomplexr; (mindb == -inf).if({ // continuous phase met ...

  5. lag_polar Quark

    ... of the point to change to a new valye linear: if true the lag will be a linear (ramp), if false (default) the lag is applied using a 3th order filter. The latter will produce less unnatural doppler shift changes. -- this is an UMapDef defin ...

  6. README Quark

    ... other notation e= EaseInAtan(10) e.value(0.5) //-- a= (0..100)/100; //a linear ramp with values 0.0 - 1.0 a.collect{|t| EaseInQuad.(t)}.plot; a.collect{|t| EaseOutQuad.(t)}.plot; a.collect{|t| EaseInOutQuad.(t)}.plot; //--similar in sclang ...

  7. TestFilterUGens Quark

    ... \RHPF, \TwoZero, // \APF, // fixme \BRF, \HPF, \HPZ2, \BPZ2, \BRZ2, \Lag2, // \Ramp, // fixme \Lag3, \HPZ1, \BHiPass, \BLowShelf, \BPeakEQ, \BBandPass, \BBandStop, \BAllPass, \BHiShelf, \BLowPass, /* \NestedAllpassN, \NestedAllpassC, \Doub ...

  8. RedMatrixMixer Quark

    ... ar(in, "++nIn++");"; nOut.do{|i| defString= defString++"\n\tvar m"++i++"= Mix(z*Ramp.kr(o"++i++", lag));"}; nOut.do{|i| defString= defString++"\n\tReplaceOut.ar(out+"++i++", m"++i++");"}; defString= defString++"\n});"; ^defString.interpret; ...

  9. bendenv_align_tests Quark

    ... assertClose.(env.cumIntegralInverse(0), 0, 1e-9, "inverse at zero"); // linear ramp 1→3 over 2s: b(t)=1+t, M(t) = t + t²/2 ; M(1)=1.5, M(2)=4 env = Env([1, 3], [2]); assertClose.(env.cumIntegral(1.0), 1.5, 1e-9, "cumIntegral ramp mid"); as ...

  10. 3_serversidemethods Quark

    ... dur=1; SinOsc.ar( freq, 0, amp.slew( 0.1, 0.2 ) ) } ); // [Slew] ugen // Also: [Ramp] // useful conversions for frequencies: // midicps // cpsmidi Ndef( \testSynth ).clear; k.reset;

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow