Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1087) Code (73) Doc (288) Help (101) Quark (618) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. SortedRand Quark

    ... of distribution; // 0 = full linear (no random) // 1 = equal distribution ( all steps < (2*n) ) // 2 = similar to ({0.0 rrand 1.0}!n).sort; total random // 3 and up = exaggerated spread SortedRand { *new { |n = 10, minVal = 0, maxVal = 1, w ...

  2. extSpec-massEdit Quark

    ... EditSpec { |inArray| ^MultiRangeSpec( minval, maxval, minRange, maxRange, warp, step, inArray, units ) .originalSpec_( this ) .size_( inArray.size ) } massEditValue { |inArray| ^inArray } massEdit { |inArray, params| ^params; } } + IntegerS ...

  3. Touch Quark

    ... { | spec, cv, dur, delta | ^super.new(spec.minval, spec.maxval, spec.warp, spec.step, spec.default, spec.units) .cv_(cv).dur_(dur ? 1).delta_(delta ? 0.05).untouchedFlag_(true) } asTouch {^this} // Touch replaces the CV's standard constrain ...

  4. WavetablePrep Quark

    ... r = fft.real.copy, i = fft.imag.copy; var half = (topBin * 0.05).asInteger; var step; // number of items = topBin * 0.1 // total line should slide over -1 / (topBin * 0.1) // = -10 / topBin topBin = topBin.asInteger; step = max(-1, -10.0 / ...

  5. extSpec-massEdit Quark

    ... this.massEditValue( inArray ); ^RangeSpec( minval, maxval, 1.0e-11, inf, warp, step, minmax, units ); } massEditValue { |inArray| if( inArray.notNil ) { ^[ inArray.flat.minItem, inArray.flat.maxItem ]; } { ^[minval, maxval]; }; } massEdit ...

  6. wsetta Quark

    ... ln; inf.do { |i| var event; var soundDur, totalDur, remainWaitDur; /////// post steps and wait for debug // i.postln; 1.wait; /////// which wavesets? post if changed wse = NTMI.wse.wses.wrapAt((ev.wse_index ? 0).asInteger); if (wse.isNil) { ...

  7. Spectralyzer Quark

    ... lyzer listens to an input and displays its spectrum in equal relative bandwidth steps. This is useful for tuning multichannel speaker setups, e.g. with Latency and SpeakerAdjust. // quick first example: ( x = Spectralyzer .new(61); // make ...

  8. sKeyboard Quark

    ... t( HLayout( StaticText().string_("Min"), minNumber= NumberBox().fixedWidth_(55).step_(1),//.clipLo_(0).clipHi_(127), StaticText().string_("Max"), maxNumber= NumberBox().fixedWidth_(55).step_(1),//.clipLo_(0).clipHi_(127), View().fixedWidth_ ...

  9. PhasorTJ Quark

    ... jitterEngines, phaseEngines; *initClass { jitterEngines = IdentityDictionary[ \step -> {|freq, selector = \ar| LFDNoise0.perform(selector, freq)}, \hold -> {|freq, selector = \ar| LFDNoise0.perform(selector, freq)}, \lin -> {|freq, selecto ...

  10. Interpl Quark

    ... c, y0, ym, y1; sign = (end.y - y).sign; k = curve; ((x == end.x) || (curve == \step)).if( { ^y }); (k == \quadratic).if( {^this.quadinterp(end, n, theoneafterthat)} ); xrange = (end.x - x); dx = (n - x)/xrange; ((k == \exponential) || (k = ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow