Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ({ |i| ((((i * periods) / (n-close)) + phase).wrap(0,1) < width ) .binaryValue .linlin(0,1,*range); }); }, [ \range, [0.0,1.0], \periods, 1, \width, 0.5, \phase, 0, \close, true ], { |f, obj| [ \range, if( obj.minItem == obj.maxItem ) { [0, ...

  2. midi_note_gate Quark

    ... \toRange ); curve = unit.get( \curve ); if (abs(curve) < 0.001) { value = value.linlin( *fromRange ++ [ -1, 1, \none ] ); } { value = value.lincurve( *fromRange ++ [ -1, 1, unit.get( \curve ), \none ] ); }; if( unit.get( \invert ).booleanVa ...

  3. main-fx-pch3 Quark

    ... ute=0, solo=1; (Ndef.ar('filterTrack_1_1', 1) * volume.dbamp.lag(lagTime) *mute.linlin(0,1,1,0).lag(0.1)*solo.lag(0.1) )}); Ndef('track1').set('volume', 0, 'lagTime', 0, 'mute', 0, 'solo', 1); == radpostcont == (none)

  4. 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 ...

  5. 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 ...

  6. 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 ...

  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. 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 } ) }; ...

  9. ClearDragSink Quark

    ... s.time / 0.2).asInteger; n.do({ |i| view.background = this.color.copy.alpha_( i.linlin(0,n-1,0.33,0) ); 0.2.wait; }); }).play( AppClock ); } stopTask { this.task.stop; this.task = nil; view.background = Color.clear; } doesNotUnderstand { |w ...

  10. ClearDragSink Quark

    ... s.time / 0.2).asInteger; n.do({ |i| view.background = this.color.copy.alpha_( i.linlin(0,n-1,0.33,0) ); 0.2.wait; }); }, AppClock).start; } stopTask { this.task.stop; this.task = nil; view.background = Color.clear; } doesNotUnderstand { |wh ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow