Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... aultAmplitudes.wrapAt(i)), //coordinates amplitude: defaultAmplitudes.wrapAt(i).linlin(*[defaultAmpRange, 0, 1].flat) ) }!maxNumVoices; var ampSelectFunc; var ampClosestTarget, ampUpdate, ampTask; var ampLinesA= {0.5+0.5.linrand}!20, ampLin ...

  2. bigUV Quark

    ... mfx.preNames[mainIndex] ? "¿-?"; "bigUV updating.".postln; Pen.rotate(mainIndex.linlin(-1, NTMI.mfx.preNames.size, 0.5pi, -0.5pi)); Pen.scale(fontScaler, fontScaler); Pen.stringCenteredIn(domainName, Rect.aboutPoint(0@0, center.x, 40), NTMI ...

  3. fx-clear Quark

    ... ute=0, solo=1; (Ndef.ar('filterTrack_2_3', 1) * volume.dbamp.lag(lagTime) *mute.linlin(0,1,1,0).lag(0.1)*solo.lag(0.1) )}); Ndef('track2').set('volume', 0, 'lagTime', 0, 'mute', 0, 'solo', 1); Ndef('spaceTrack2', {arg pan = 0 ; Pan2.ar(Ndef ...

  4. Re: [improved] Gradually change TempoClock tempo [ accelerando / decelerando ] [extension] by tomdugovic (tom.dugovic) Code

    ... the next bar. Personally, I was not able to heavily distinguish between `.linlin` and `.linexp` for reasonable musical tempos. There may be a mathematically smoother way of handling this at the control rate. This function do ...

  5. Synchronous control bus visualizer using the shared memory interface by rukano (rukano) Code

    ... or(i/4, sin(i*pi)*0.5+0.5, k.ascii[0]-97/5); Pen.strokeOval(Rect(getVal.(k).linlin(-1,1,0,width-100),25+(i*75),50,50)); }; }; u.mouseDownAction = { |u, x, y| var k = #[a,b,c,d,e][floor(y/(u.bounds.height/5))]; if( Ndef(k ...

  6. Assignment 3 115granular by margo-gentile (Margo Gentile) 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; // Same as above, but adding ...

  7. PLine Quark

    ... lStr.next(inval); if(addVal.isNil or:{mulVal.isNil}, {^inval}); inval= (counter.linlin(0, 1, start, end)*mulVal+addVal).yield; counter= (counter+dur.reciprocal).min(1); }; ^inval; } } PXLine : PLine { *new {|start= 1, end= 2, dur= 1, mul= 1 ...

  8. 115granular by mason-mccormack (Mason McCormack) 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; // Same as above, but adding ...

  9. Using a MIDI keyboard - simple example by bruno (Bruno Ruviaro) Code

    ... vel, note; noteArray[note] = Synth("quick2", [\freq, note.midicps, \amp, vel.linlin(0, 127, 0, 1)]); ["NOTE ON", note].postln; }); MIDIdef.noteOff(\myKeyUp, {arg vel, note; noteArray[note].set(\gate, 0); ["NOTE OFF", note].post ...

  10. time-bandit Quark

    ... ~wavesets = ws; ~path = path }) }) }; sl.action = { |view| ~start = view.value.linlin(0, 1, 0, ~wavesets.size) }; sl.keyDownAction = { |view, char| switch(char, $f, { ~path.postcs }, $ , { Tdef(\u).play }, { ~start.post; ",".postln } ) }; ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow