Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... f( \p_step, { |unit, lo = 0.0, hi = 1.0, steps = 12| { var current = 0; current.linlin( 0, 1, lo.next, hi.next ).yield; inf.do { |i| current = (current + ((1/steps.next).clip2( 1.0e12 ))).wrap( 0.0, 1.0 ); current.linlin( 0, 1, lo.next, hi. ...

  2. test UPattern Quark

    ... f( \p_step, { |unit, lo = 0.0, hi = 1.0, steps = 12| { var current = 0; current.linlin( 0, 1, lo.next, hi.next ).yield; inf.do { |i| current = (current + ((1/steps.next).clip2( 1.0e12 ))).wrap( 0.0, 1.0 ); current.linlin( 0, 1, lo.next, hi. ...

  3. GMZZ2DSlider Quark

    ... 1; var values = [0, 0]; var min; if(thisPolarities[0] == \uni) { values[0] = x.linlin( super.interactionRect.left, super.interactionRect.right, 0, (nDivX - 1) ); } { nDivX = (nDivX * 2) - 1; values[0] = x.linlin( super.interactionRect.left ...

  4. NRect Quark

    ... 0], ab[1]) } } mapVector { |v| ^this.constrain( this.prDoFlopWith(v){ |a,b,x| x.linlin(0, 1, a, b, \none) } ) } unmapVector { |v| ^this.prDoFlopWith( this.constrain(v) ){ |a,b,x| x.linlin(a, b, 0, 1, \none) } } asNRect { ^this } moveBy { |v ...

  5. USoundFilePlotWindow Quark

    ... tor( "slices" ), MenuAction( "Align slices", { this.slices = (..slices.size-1) .linlin( 0, slices.size-1, slices[0], slices.last ).collect(_.asInteger); }), Menu( *((2..9) ++ (10,12..16) ++ (20,24..32)).collect({ |i| MenuAction( "%".format( ...

  6. b06-slot-10-after-slot-2 Quark

    ... ute=0, solo=1; (Ndef.ar('filterTrack_3_2', 1) * volume.dbamp.lag(lagTime) *mute.linlin(0,1,1,0).lag(0.1)*solo.lag(0.1) )}); Ndef('track3').set('volume', 0, 'lagTime', 0, 'mute', 0, 'solo', 1); == radpostcont == (none) >> fx t 3 10 pch == ra ...

  7. clip_point Quark

    ... ness = 0.1| radius = radius.max(1.0e-10); point = point - center; point = point.linlin( radius.neg, radius, -1, 1, \none ); point = Select.kr( clipMode, [ point.softclip2(1, clipSoftness ), point.softfold2(1, clipSoftness ), point.wrap2(1), ...

  8. SSWindow Quark

    ... ds.height-widthSlider)).value_(0.5); zoomSlider.action = {zoom=zoomSlider.value.linlin(0,1,minZoom,maxZoom); this.refresh;}; xTranslateSlider = Slider(this,Rect(widthSlider, argBounds.height-widthSlider, argBounds.width-(2*widthSlider), wid ...

  9. point_speed Quark

    ... ue = ((point - Delay1.kr( point )) * ControlRate.ir).asPoint.rho; value = value.linlin( *fromRange ++ [-1,1, \none ] ); value = Select.kr( clipMode, [ value.softclip2(1, clipSoftness ), value.softfold2(1, clipSoftness ), value.wrap2(1), val ...

  10. index_of_nearest Quark

    ... ].do({ |item,i| out = if( item < out[0], [ item, i+1 ], out ); }); out = out[1].linlin(0, n-1, *range ++ [ \none ]); UMapOut.kr( out ); }, { |unit, vals = #[0.5], nearestTo = 0.5, range = #[0.0,1.0] | vals.collect(_.absdif( nearestTo )) .mi ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow