Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (139) Code (10) Doc (36) Help (15) Quark (74) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. Intro-to-the-ATK Doc

    ... n't!) ~sndbuf = Buffer.read(s, Atk.userSoundsDir ++ "/b-format/Anderson-Pacific_Slope.wav") ~sndbuf = Buffer.read(s, Atk.userSoundsDir ++ "/b-format/Howle-Calling_Tunes.wav") ~sndbuf = Buffer.read(s, Atk.userSoundsDir ++ "/b-format/Pampin-O ...

  2. Writing_Unit_Generators Help

    ... culation function to change to a different calculation function. // calculate a slope for control rate interpolation to audio rate. #define CALCSLOPE (next,prev) ((next - prev) * unit->mRate->mSlopeFactor) CALCSLOPE returns (next - prev) / ...

  3. Dual Quark

    ... Dual(0.3, 0.5).linexp(0, 1, 0.02, 2) // UGens can also be directly converted, a Slope ugen measures the approximate derivative. // but mind the numerical inaccuracies. { var a = SinOsc.ar(440).asDual; [a.real, a.dual * SampleDur.ir] }.plot( ...

  4. SoundFileAnalysis Doc

    ... fftcrest, \average, { |sig| FFTCrest.kr(FFT(LocalBuf(2048, 1), sig)) }); a.add(\slope, \average, { |sig| FFTSlope.kr(FFT(LocalBuf(2048, 1), sig)) }); a.add(\amplitude, \average, { |sig| Amplitude.kr(sig) }); a.add(\test, \trig, { |sig| [Imp ...

  5. bendenv_align_tests Quark

    ... lInverse(4.0), 2.0, 1e-9, "inverse ramp full"); // descending segment (negative slope) round-trip env = Env([2, 0.5, 0.5], [1, 1]); assertClose.(env.cumIntegralInverse(env.cumIntegral(0.7)), 0.7, 1e-9, "inverse round-trip negative slope"); ...

  6. SWBusNode Quark

    ... imum output value is configurable (and defaults to 0). It has the parameters posSlope1 , posSlope2 , negSlope and minValue , and implements the formula out(i) = (posSlope1 * in(i)) + (posSlope2 * in(i-1)) - (negSlope * out(i-1)) . Based on ...

  7. DualNumber Quark

    ... ^Dual(this, 0) } asDerivative { ^DerivativeNumber(this, 0) } } + UGen { dual { ^Slope.perform(this.methodSelectorForRate, this) } derivative { ^this.dual } asDual { ^Dual(this, this.dual) } asDerivative { ^DerivativeNumber(this, this.dual) ...

  8. EnvScaleView Quark

    ... oint2,brPtNumbView,brPtCurrNumbView,brPtAbsTView,brPtRelTView,brPtLevelView,crPtSlopeView,loopEndNodeView,loopStartNodeView,distInit; this.selectedBreakPoint = 1; // initialize grid vars this.gridWidth_(0.125,false); this.gridColor_(Color.g ...

  9. EnvGen Doc

    ... ns, EnvGen's initial value was in the middle of the first segment, reducing the slope of the initial attack. Code migrated to newer SC versions may require one of the above adjustments. More examples For more information about the control b ...

  10. ClassTree Doc

    ... ) FFTPhaseDev - (Undocumented class) FFTPower - Instantaneous spectral power FFTSlope - Spectral slope FFTSpread - Spectral spread FSinOsc - Fast sine oscillator. FeatureSave - Storing feature data from UGens in NRT mode Fhn2DN - FitzHughNa ...

prev 11 12 13 14 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow