-
... "test").front().action_({ |v| v.postln; }).labelText_("Label test").value_(1.0.rand).value.postln; * SliderSequencerView() * * AUTHOR: Marinus Klaassen (2012, 2021Q3) * * EXAMPLES: m = SCMMIDIFuncNoteView(bounds: 400@50).front(); m.actionN ...
-
... 80 resolution 3.do({ preyArray = preyArray.add( XixiPrey.new(Point.new(100+(400.rand), 100+(200.rand)), Rect(10, 5, 620, 470))); }); 4.do({ predatorArray = predatorArray.add( XixiPredator.new(Point.new(-10, -10), Rect(10, 5, 620, 470), prey ...
-
... ; }, "disentangle", { a.disentangle(0.3); }, "entangle", { a.entangle(0.3); }, "RANDOM", { a.rand(1.0); } ].pairsDo { |label, action| Button(q.comp1, Rect(0, 0, 110, 20)).states_([[label]]).action_(action); }; // w.view.decorator.nextLine.s ...
-
... ) { MFdef(\mainPreStep).(-1) } }; MKtl('xtm').elAt(\fx).at(1).elemDesc.label = "rand MFX"; MKtl('xtm').elAt(\fx).at(1).action = { |b| if (b.isOn) { MFdef(\mainPreStep).() } }; MKtl('xtm').elAt(\fx).at(2).elemDesc.label = "next MFX"; MKtl('x ...
-
... freqs,amps,amps], Decay .ar( Impulse .ar( exp(1)/5.0 ), SinOsc .kr( pi/9.0, 1.0.rand ).range(0.05,0.7) ) ) * EnvGen .kr( Env .new([-40,-20, -30,-40].dbamp, [2, 1, 2].normalizeSum, 'exp' ), timeScale: dur, levelScale: 0.5, doneAction: 2 ).ta ...
-
... i][j]}}}, {gui.do{|x| x.do{|y, j| if(j==0 or:{j%2==1}, {y.view.valueAction= 1.0.rand})}}}, {gui.do{|x| x.do{|y, j| if(j==0 or:{j%2==1}, {if(0.3.coin, {y.view.valueAction= 1.0.rand})})}}}, {gui.do{|x| x.do{|y, j| if(j==0 or:{j%2==1}, {y.view ...
-
... // play locally // play sine tone with freq dependant on ensemble, but a little random. ~out = { SinOsc .ar(440 + (300 * ~ensemble.ar) + Rand (0, 10), 0, 0.1) }; ~ensemble = 1; // tune up a bit; ~ensemble = { Line .ar(0, 2, 10) }; // Henry ...
-
... ,1], [3, 0.0001]), sweeptrig); trig = Dust.kr(pluckratefactor * (LFNoise2.kr(ExpRand(0.1, 0.4)).range(1, LFNoise2.kr(ExpRand(0.02, 0.08)).exprange(0.3, 20)) * // Boost the amount of triggers when we're doing a "sweep" (EnvGen.kr(Env.new([1, ...
-
... ,1], [3, 0.0001]), sweeptrig); trig = Dust.kr(pluckratefactor * (LFNoise2.kr(ExpRand(0.1, 0.4)).range(1, LFNoise2.kr(ExpRand(0.02, 0.08)).exprange(0.3, 20)) * // Boost the amount of triggers when we're doing a "sweep" (EnvGen.kr(Env.new([1, ...
-
... ef = Ndef(\bleepo); var deltaPairs = ndef.controlKeys.collect { |key| [key, 0.1.rand2] }; MFdef(\relSet).(ndef, deltaPairs); this is for using influx changevectors to nudge ndefs. */ MFdef(\relSet).add(\relSet, { |obj, deltaPairs| var newva ...