-
... notes get shorter durations ( a = [ m: { rrand(60, 100) }, // midinote d: { ~m .linlin(60, 90, 3, 0.1) } // dur ] ) // suppose EventShortCuts are turned on // make an Event and see its data, then play, try several times x = a.ev x.on // sam ...
-
... eHighV69bb = hi; setSlider = { |view, val| if(view.notNil) { { view.value = val.linlin(0.0, 3.0, 0.0, 1.0).clip(0.0, 1.0) }.defer }; }; setSlider.(~noiseAmountSliderV69bc, amt); setSlider.(~noiseLowSliderV69bc, lo); setSlider.(~noiseMidSlid ...
-
... t even one channel. Can't pan no channel, sorry.").throw }; span = span * splay.linlin(0, 1, numChannels / n, 1); pan = pan + 1; // for PanAz, the first/last channel is not 0, but 1. channels = signals.collect { |x, i| var panOffset = i / ( ...
-
... lider() .action_({|slider| model.tracks[i].gesture_playback_rate = slider.value.linlin(0,1,0.25,4,) }) .mouseDownAction_({|v,x,y,m, buttonNumber| if (buttonNumber >= 1) { model.tracks[i].gesture_playback_rate = 1 }; buttonNumber >= 1 }), St ...
-
... Time * (1-fadePos)); endFade = startFade + fadeTime; fade = SinOsc.kr( 0, sweep.linlin(startFade, endFade, -0.5pi, 0.5pi, \minmax) ); //fade.poll( label: i.asString ); sig = LinXFade2.kr( sig, path, fade ); }); UMixOut.kr( 0, sig ); }) .cat ...
-
... nctCubePoints(3) }; x.collect({|j| var q = (greyMode.not.if { p[j] }{ p[j]!3 }).linlin(0,1, 1 / (1 + colorDeviation), (1 + colorDeviation)); Color(c.red * q[0], c.green * q[1], c.blue * q[2]); }) }; columnBreakCheck = { |i| (r > rMax).if { ...
-
... rPoints = numArrays.collect({ |i| [ ("arrayConf" ++ i).asSymbol .ir( [ 48, 5, i.linlin(0,numArrays, 0.5pi, -0.5pi), 0, 0.164 ] ), ("cornerPoints" ++ i).asSymbol.ir( [ 5, -5, 0.5pi, 0.5pi ] ) ] }).flop; crossfadeLag = \crossfadeLag.kr( cross ...
-
... //synthesise the honourable 'Dan Stowell' impulse response ir = ((0..dur*44100).linlin(0,dur*44100,1,0.125).collect({ |f| f = f.squared.squared; f = if( f.coin ) { 0 } { f.squared }; f = if( 0.5.coin ) { 0-f } { f }; }) ) * (-27.dbamp); if( ...
-
... 0; },{ range = 300.0; }); move = move.clip(range.neg,range); unimove = move.abs.linlin(0.0,range,0.0,1.0); if(move > 0,{ val = (startValue + unimove); },{ val = (startValue - unimove); }); model.setUnmappedValue( val.clip(0.0,1.0) ); }); }; ...
-
... }, { range = 300.0; }); move = move.clip(range.neg, range); unimove = move.abs.linlin(0.0, range, 0.0, 1.0); if(move > 0, { val = (startValue + unimove); }, { val = (startValue - unimove); }); model.setUnmappedValue( val.clip(0.0, 1.0) ); ...