-
... 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 ...
-
... ar(sig, pan, 0.1)); }).add ) ( Task({ 32.do({ arg i; Synth(\vowblend, [ \pan, i.linlin(0,32, -1, 1 ), \freq, i.linlin(0,32, 30, 66 ).midicps, \b1, 2.rand, \b2, 2.rand, \b3, 2.rand, \b4, 2.rand, \bright, 1.5.rand ]); 0.25.wait });}).play ) ⧉ ...
-
... Synth(\lfo); ~alienSynth = {Synth(\alien, [\dur, 2, \amp, 0.125, \pan, x.linlin(radius, winW-radius, -1.0, 1.0)])}; ~explosionSynth = {Synth(\explosion, [\amp, 0.3])}; //////////////////////////Sound Functions ~engine ...
-
... //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) ); ...
-
... t(60, 10, 100, 25)) .value_(0.5) .action_({playback_speed = pb_slider.value.linlin(0, 1, 4, 0.25)}); }; //creates the ListView GUI// main_window_creator.value(); selection_window_creator.value(); ask_button_creator.value( ...
-
... ider(w); sl.orientation = \horizontal; sl.action = { |view| ~start = view.value.linlin(0, 1, 0, a.size) }; sl.keyDownAction = { |view, char| if(char == $ ) { Tdef(\u).play } { ~start.trunc.post; ",".postln; } }; w.layout = HLayout(sl); ) // ...
-
... s: 2, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd; snd = BPF.ar(snd, ffreq, rq, env); snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; ...