-
... Musical acoustics midicps cpsmidi midiratio ratiomidi dbamp ampdb octcps cpsoct Random operators Other log log2 log10 sin cos tan asin acos atan sinh cosh tanh distort softclip isPositive isNegative isStrictlyPositive Binary Operators Arith ...
-
... wBrick { ^ChordtrisBrick.new( [\i, \j, \l, \o, \s, \t, \z].choose, this.generateRandomChord, 4, //x 0, //y 0 //orientation ); } generateRandomChord { var chord = Chord.new(12.rand, [\minor, \major].choose); chord.chordLanguage = ChordtrisPr ...
-
... ); var layout; var i = 0; var makeEntry = { var view = View().background_(Color.rand).layout_( HLayout( TextField().string_(("This is entry number " + i.asString)), Button().states_([["Delete"]]).action_({ view.remove; i = i - 1 }) ) ); i = ...
-
... notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, inf ) } => ArpegPat ( \up ); #{ |notes| Pseq ([notes.sort, notes+7, notes+7, notes+14, ...
-
... notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, inf ) } => ArpegPat ( \up ); #{ |notes| Pseq ([notes.sort, notes+7, notes+7, notes+14, ...
-
... into a Pdiff). Sieve.union(Pseq([1, 10], inf), 5, 7, `30) Sieve.union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one argument just returns its resulting elements. // As pattern ...
-
... instance methods Examples ( a = ZArchive.write("archiveTest"); a.writeItem(1.0.rand); a.writeItem([1,2,3,4,5].choose); a.writeItem("hello"); a.writeItem( Event.make({ ~a = \a; ~b = \b; }) ); a.writeItem([1,2,3,4,5]); a.writeItem( Ref(4.0) ...
-
... [{ | glob, loc | // extend list notes being played (using some randomness :) ) glob[\patternnotes] = glob[\patternnotes].add(glob[\acceptablenotes].choose.debug("add new note")); // alway ...
-
... tv = 19, timescale = 1, curve = 0, loopnode = 0| var env = EnvGen.kr( Env({ 1.0.rand2 }!11, { 1.0.rand }!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay ...
-
... argName); } init {|argParent, argCoords, argName| name = argName; color = Color.rand; caller = argParent; //menuList = ListView(argParent.compositeBack, Rect(0, 0, 100, 40)).background_(Color.gray(0.85)).visible_(false); view = UserView(arg ...