Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. GrainOTec by simon (Dindoléon) Code

    ... lume_slider.mouseDownAction = { | volume_slider, x, y, m | volume_value = (y).linlin( 0, volume_slider.bounds.height, 1, 0 ); volume = volume_value; volume_slider.refresh }; volume_slider.mouseMoveAction = volume_slider.mouseDownActi ...

  2. SchrittWechsel Quark

    ... aster fader (right-most) -> master volume q.blocks.do{ |block| q.god.ampAll(val.linlin(0, 127, 0, 1.5)); } }; (chan < 8).if{ //q.blocks[q.blockChannels.findKeyForValue(chan)].setActivityParam(\amp, val.linlin(0, 127, -85, 0).dbamp); q.block ...

  3. TeensyHeadTracker Quark

    ... the synth is initialized properly yawMidi.func_({|val| try{ synth.set(\yaw, val.linlin(0.0,1.0,(-pi),pi)) } }); pitchMidi.func_({|val| try{ synth.set(\pitch, val.linlin(0.0,1.0,(-pi),pi)) } }); rollMidi.func_({|val| try{ synth.set(\roll, va ...

  4. SGME_GUIPanel4 Quark

    ... ME.setParameterOSC( string: "/envFollower/" ++ 1 ++ "/range", value: knob.value.linlin(0,1,-5,5), addrForbidden: \GUI, ) }; range2.action = {|knob| synthiGME.setParameterOSC( string: "/envFollower/" ++ 2 ++ "/range", value: knob.value.linli ...

  5. Maths2 Quark

    ... sMaths2 = pluggedIsSignal or: { plugged >= 1 }; if(needsMaths){ phasor = phasor.linlin(-1,1,width.neg, 1-width); maths = phasor.bilin(0, width.neg, 1-width, 0, -1, 1); maths = 1-(maths.abs); maths = maths*postEnv; }; if(needsMaths2){ phasor ...

  6. MasterUI Quark

    ... .value_(0.4).action_({ | slider | masterGainSynth.set(\masterGain, slider.value.linlin(0,1,0,5)); }); if (prMasterBus.isNil, { stageMaster[\live][\element].enabled_(false); stageMaster[\live][\element].states_([["Live", Color.grey(0.4), Col ...

  7. multiple wavetable animation by elifieldsteel (eli.fieldsteel) Code

    ... .moveTo(0@384); (wt0.size-1).do{ arg i; Pen.line( Point(i, wt0[i].linlin(-1.02,1.02,384,0)), Point(i+1, wt0[i+1].linlin(-1.02,1.02,384,0)) ); Pen.stroke; }; }); StaticText(win, Rect(517,100,384,48)) .font_(F ...

  8. testing-rms Quark

    ... (1.0) }; OSCFunc({ |msg| defer { var a = levels[msg[2]]; a.value = msg[3].ampdb.linlin(-40, 0, 0, 1); a.peakLevel = msg[4].ampdb.linlin(-40, 0, 0, 1); } }, "/rms"); CmdPeriod.doOnce { w.close }; ) // to stop it ~dirt.stopSendRMS;

  9. buffer-timed-loop Quark

    ... yBuf.ar(~buffer0.numChannels, ~buffer0, rate, Impulse.kr(triggerRate), startPos.linlin(0,1,0, ~buffer0.numFrames), 1)*mul;}); Ndef('block1').xset('triggerRate', <measured>); == radpostcont == (none) >> lt 2 == radpost == Ndef('recblock1', 0 ...

  10. SGME_Oscillator Quark

    ... r(scaledFreq, mul: pulseLevel, add: (-1*(pulseLevel/2)), width: 1-pulseShape) * linlin(scaledFreq, 100, 1000,1,0)); sigPulse = sigPulse + Pulse.ar(scaledFreq, mul: pulseLevel * linlin(scaledFreq, 100, 1000,0,1), width: 1-pulseShape); sigPul ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow