-
... rection = 1; }; }, \random, { current = size.rand; }, \off, { current = current.clip(0,size-1); direction = 1; } ); pointsNext.wrapAt( current ).yield; }; }.r }).category_( 'pattern_point' ) .valueIsMapped_( false ) .numChannels_( 2 ) .setS ...
-
... t of range input = UGlobalEQ.ar( UIn.ar(0, 1) ) * gain * UEnv.kr; Out.ar( index.clip(0, maxIndex), input ); }) ) .addSynthDefControls .shouldPlayOnFunc_({ |unit, target| WFSSpeakerConf.includesServer( target.asTarget.server ); }) .createSyn ...
-
... env, envGen, resonance, verb; var lpassFq, sig; tone = abs (tone); tone = tone.clip(0,1); env = Env.adsr(attack, dec, sus, rel, curve: 'sine'); envGen = EnvGen.kr(env, gate); lpassFq = 100 + (tone**(0.7) * 21900) ; // used to cut highs whe ...
-
... ratio var baseFreq = sr / wtSize; var map = (log(freq / baseFreq) / log(ratio)).clip(0, numMaps - 1.001); var map1 = floor(map + 1); if(tables.size == 1) { ^blend(tables[0][map.floor], tables[0][map1], map.frac) } { pos = wtPos.clip(0, tabl ...
-
... ,[0, 0, 0]); var envelope = EnvGen.ar(envShape, t_trig) ; incidence = incidence.clip(0,1); amp = amp.clip(-1,1); ampScaled = abs(amp) **(0.7); lpassFq = 100 + (incidence**(0.7) * 21900) ; // used to cut highs when incidence is low // WAS hp ...
-
... n gives positive integer values ( p = Pbind( \midinote, (PLpoisson(\mean) + 50).clip(60, 90), \dur, 0.1 ); ) // prepare current Environment ~mean = 10; // run x = p.play; // changing mean value ~mean = Pstutter(5, PLseq((0, 5..30))); x.stop ...
-
... ons.monitorInOffset = 0}; options.monitorInChannels = options.monitorInChannels.clip(1,8); super.setDefaultOptions; } createComponent { this.createInputLevels; } createInputLevels { var inLevelArray; this.createLabel("Input meters").align_( ...
-
... \fadeIn ] = SmoothNumberBox( vws[ \view ], Rect( labelWidth + 2, 0, 40, 14 ) ) .clipLo_(0) .scroll_step_(0.1) .formatFunc_( { |value| [ value.round(0.01), "s" ].join(" ") } ) .background_( { |rect| var fadeInCurve = 0; if( UGUI.nowBuildingU ...
-
... // show pre- and post volume amps on the sliders ProxyMeter.addMixer(m); // see CLIPPING WARNING - CAREFUL, THIS IS LOUD! // when level of ~x exceeds +-1, this would create // digital clipping when s.volume.volume is full on. // so turn dow ...
-
... r(SinOsc.kr(1.6).range(1220, 1355)); output = output + noise; output = output.clip(-0.5, 0.5) * creakEnvGen * amp * TRand.kr(0.8, 1.0, creakTrig); combs = Mix([CombC.ar(output, 0.2, 0.0084, 0.12), CombC.ar(output, 0.2, 0.00181, 0.03)]) ...