Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. extArray Quark

    ... ); list = Array.series(size, 1, 1); arr2 = list/ (size+1) * 2 - 1; final = arr2.linlin(arr1.first, arr1.last, -1, 1).round(0.0000001); ^final; } funcSpec {var func, spec, specFunc; if( this.collect({|item| item.isFunction }).includes(true), ...

  2. Middle Children of History MUSC115 Final by ianmcdougall60 (ianmcdougall60) Code

    ... s: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = BPF.ar(snd, ffreq, rq); snd = CombC.ar(snd, maxdelaytime: 2, delaytime: delay, dec ...

  3. SCLOrkQuNeo Quark

    ... ccNumber>5), { // do this for regular sliders (not knobs) sliderValue = ccValue.linlin(0, 127, 0, 1); sliderArray[ccNumber].valueAction = sliderValue; }, { // ...and for the two knobs: // weird scaling. Ignore knob-bottom numbers (51-77) to ...

  4. FPSignal Doc

    ... collect switchTo inject selfSwitch '><*> when if Utilities expexp explin linexp linlin lincurve curvelin nexp nlin storePrevious mapWith Event Network - Monadic interface reactimate debug Event Network - Imperative interface enOut enDebug N ...

  5. Hotel Cheree - MUSC 115 FINAL by melliott (melliott) Code

    ... s: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; SynthDef("stereosampler", {a ...

  6. MackieControl Quark

    ... ask({ var lastRawVal; nSteps.do({ |ii| var val, rawVal; interval.wait; val = ii.linlin(0, nSteps-1, 0,0.5pi).sin.linlin(0,1, startVal, value ); rawVal = (val * 127).asInteger * 128; if( lastRawVal != rawVal ) // only update if actually chan ...

  7. 2_elements_and_actions_midi Quark

    ... e)) }); //slider 1 k.elAt(\sl, 1).action_({ |elem| x !? _.set(\freq, elem.value.linlin(0.0, 1.0, 50, 2000) ) }); //knob 1 -> number of harmonics k.elAt(\kn, 1).action_({ |elem| x !? _.set(\numHarmonics, elem.value.linexp(0.0, 1.0, 1, 50) ) ...

  8. SGME_SlewLimiter Quark

    ... In.ar(inputBusControl) + InFeedback.ar(inFeedbackBusControl); control = control.linlin(-1, 1, 300, -300); control = (rate + control).clip(1, 1000); sig = Slew.ar(sig, control, control); Out.ar(outputBusVol, sig); },[nil, nil, nil, nil, nil, ...

  9. EventSource Doc

    ... ble nodes holdStore injectFSigStore injectFStore Utilities expexp explin linexp linlin lincurve curvelin nexp nlin storePrevious selectSome paged mapWith onlyChanges Event Network - Monadic interface reactimate debug Event Network - Imperat ...

  10. Dual Quark

    ... , SinOsc.ar(100) * 20) + Line.ar(0, 1, 0.01)).dual }.plot // mappings Dual(0.5).linlin(0, 0.3, 0, 1) Dual(0.5).linexp(0.01, 1, 0.01, 1) expexp(-0.7942271232605, 0.2, 0.8, 0.1, 2.3) expexp(-0.7942271232605.asDual, 0.2, 0.8, 0.1, 2.3) curveli ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow