-
... =0, formfact=2, widfact=0.5, spread=1, amp=0.1| var env = EnvGen.kr( Env( { 1.0.rand2 }!11, {1.0.rand}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay.ar( Forman ...
-
... Pkey ( \val ).collect { |x| Array .series(x.round, 60 - (x * 1.2), 5) + Array .rand(x.round, -0.8, 0.8) }, \legato , 0.6, \amp , 0.05] ).play; ) // cleanup (freeing buses and nodes) by pressing Cmd-. or explicitely p.free; //////////////// ...
-
... .if { ^this[index] } { ^nil } } oneOfTop { arg num; ^this.at(num.min(this.size).rand) } mapMode { arg mode; ^this.collect({ |item| item.mapMode(mode) }); } unmapMode { arg mode; ^this.collect({ |item| item.unmapMode(mode) }); } // change an ...
-
... creator],{ arg trig=0.0; //// //// Klank.ar( //// `[ // FloatArray.fill(3, { exprand(50.0,800.0) }).postln, // nil, // FloatArray.fill(3, { 1.0.rand }).postln // ], //// ImpulseSequencer.ar([1.0],K2A.ar(trig)) //// ).squared.fold2(0.1) //* ...
-
... 8; this.initRealtimeSystem; this.buildDict; // this.connect; id = inf.asInteger.rand; } *end { | time = 8 | thisProcess.interpreter.preProcessor = prevPreProcessor; space.clear(time).pop; isRunning = false; this.disconnect; } *buildDict { v ...
-
... .45, height / 4)) .items_(ndefpre.getSetNames) .value_(ndefpre.getSetNames.size.rand).font_(font); var coupleBut = Button(NTMI.g.main.leftMVZone, Rect(left + (width * 0.9), top, width * 0.1, height / 4)) .states_([["––"], ["- -"]]) .font_(f ...
-
... ue; usrView.refresh; }); }; maxNumber.value= range[1]; presetsPop.items= #["", "random notes", "Octaves", "Overtones", "Overtones2", "Cmaj7", "D#m"]; presetsPop.action= {|view| switch(view.value, 0, { keys.do{|key| key.put(\isClicked, false ...
-
... .if { ^this[index] } { ^nil } } oneOfTop { arg num; ^this.at(num.min(this.size).rand) } mapMode { arg mode, scAccidentals = false; ^this.collect({ |item| item.mapMode(mode, scAccidentals) }); } unmapMode { arg mode, scAccidentals = false; ^ ...
-
... out of the box pattern classes). Proto ({ ~event = (eventKey: \default ); ~startRand = 10; ~lengthLow = 3; ~lengthHi = 12; ~step = #[1]; ~scaleSeg = #{ Pseries (~startRand.rand, ~step.choose, rrand(~lengthLow, ~lengthHi)); }; ~asPattern = # ...
-
... out of the box pattern classes). Proto ({ ~event = (eventKey: \default ); ~startRand = 10; ~lengthLow = 3; ~lengthHi = 12; ~step = #[1]; ~scaleSeg = #{ Pseries (~startRand.rand, ~step.choose, rrand(~lengthLow, ~lengthHi)); }; ~asPattern = # ...