-
... e pattern's work One of the simpler pattern definitions in the main library is Prand: Prand : ListPattern { embedInStream { arg inval; var item; repeats.value.do({ arg i; item = list.at(list.size.rand); inval = item.embedInStream(inval); }) ...
-
... Automation will seek to that position. Pitfalls: * If a slider seems to take a random value at each rewind, it's probably because you haven't recorded a starting value for it. (The slider keeps its previous level, might seem "random".) Eac ...
-
... ap=2@2; 20.do{ EZSlider (w, 392@16, " Freq " , \freq ,unitWidth:30,initVal:6000.rand, numberWidth:60,layout: \horz ) .setColors( Color .grey, Color .white) .font_( Font ( "Helvetica" ,11)); }; ); Window .closeAll // use this to close all th ...
-
... p = 2@2; 20.do{ EZKnob(w, 180@24, " Freq ", \freq, unitWidth: 30, initVal: 6000.rand, layout: \horz) .setColors(Color.grey, Color.white) .font_(Font("Helvetica", 11)); }; ); Window.closeAll // use this to close all the windows ///////////// ...
-
... }; }); if(p.isEmpty, { p= [Dictionary.newFrom([ //at least one pattern "name", \random, "range", #[0, 32], "pitches", {40.rrand(80)}!32, "velocities", {1.0.linrand}!32 ])]; }); p; }; writeUserPatternsToDisk= { //(re)write all user patterns ...
-
... e animate our values: ( ~values = 20.collect { NumericControlValue().value_(1.0.rand) }; ~sliders = 20.collect { Slider() }; ~numbers = 20.collect { NumberBox().minWidth_(40) }; ~view = View(bounds:600@200).layout_(GridLayout.rows(~sliders, ...
-
... e pattern's work One of the simpler pattern definitions in the main library is Prand: Prand : ListPattern { embedInStream { arg inval; var item; repeats.value.do({ arg i; item = list.at(list.size.rand); inval = item.embedInStream(inval); }) ...
-
... per can be used to call methods on the superclass SomeSuperclass { value { ^100.rand } } MyClass : SomeSuperclass { value { ^super.value * 2 } } ⧉ ✔ Instances Object.new will return a new object. When overriding the class method .new you mu ...
-
... = 2@2; 20.do{ EZSlider(w, 392@16, " Freq ", \freq, unitWidth: 30, initVal: 6000.rand, numberWidth: 60, layout: \horz) .setColors(Color.grey, Color.white) .font_(Font("Helvetica", 11)); }; ); Window.closeAll // use this to close all the wind ...
-
... er, Automation will seek to that position. Pitfalls If a slider seems to take a random value at each rewind, it's probably because you haven't recorded a starting value for it. (The slider keeps its previous level, might seem "random".) Eac ...