-
... v = Voicer .new(8, "harpsi" ); // uses Server.local f = Array .fill(5, { 1000.0.rand + 50 }); v.trigger(f); // play 5 notes v.release(f); // release the same gate1(freq, dur, gate = 1, args, lat) gate(freq, dur, gate = 1, args, lat) Trigger ...
-
... sig * mul); }); } makeSynthName { var str; str = this.hash.asString; // or 1.0.rand.asString? str.do({ arg s, i; (s == $.).if({ str.put(i, $-) }); }); ^("EQ" ++ str) } }
-
... age; var <curFreq; var oscFunc; var <controlSynth; var tuner; var <isTuned; var randSeed; var <tuningMap; var tunerOscChannel; var tunerDefName; *new {|soundIn, cvOut, gateOut, playMonitor=false, negativeVoltage=false| ^super.newCopyArgs( s ...
-
... edge; aHLDots = []; if(win.isNil, { win = GUI.window.new( "Pitch circle", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.view.bo ...
-
... event.collect( z.new( 0.0 , 1.0 , target: group).globenv_(envbus).freq_( 440 .rrand( 880 )) .dur_( 1.0 ).amp_( 0.01 ); ); // set the 'next' time event.next_( 0.2 .rrand( 1.0 )); }); ) a.play; // play it b = a.record; // play it AND record ...
-
... 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 ...
-
... te: rate, amp: 1).play; (buf.duration / rate / e.overlap).wait; } } }).play; // random order with steady rhythm Tdef(\sambAll).set(\overlap, 4); Tdef(\sambAll, { |e| inf.do { q.samba.scramble.do { |buf, i| var rate = [1, 1.25, 1.5, 0.75, 0. ...
-
... 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 ...
-
... 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, ...