-
... rd changes Pfunc({ arg igs; ( // choose degree convert it via a scale to a note number ( [1,3,5].choose.degreeToKey([ 0, 1, 4, 8, 12 ]) ) // choose an octave + 30 + [0,11,23,35].choose // 1 4 5 1 chord progression + [1,4,5,1].wrapAt(igs.bea ...
-
... ndle(nil, { var value = this.value.asArray; value = value.collect { |v| if (v.isNumber) { v } { spec.items.indexOf(v) } }; bus.set(*value) }); }; } free { super.free(); bus.free; bus = nil; } asMap { ^this.bus.asMap } asControlInput { ^this ...
-
... elem| z !? _.set(\freq, elem.value.linlin(0.0, 1.0, 50, 2000) ) }); //knob 1 -> number of harmonics k.elAt(\kn, 1).action_({ |elem| z !? _.set(\numHarmonics, elem.value.linexp(0.0, 1.0, 1, 50) ) }); ) ⧉ ✔ ... Now you can control four parame ...
-
... The above set probabilities randomly generate two arrays of 16 and 32 midi numbers. The range is 25 notes long, from A(220Hz) to A(880Hz)*/ ( //<-EVALUATE THE MUSICAL DICTIONARY--------------------------------------------------- ...
-
... to a bus that does not exist (e.g. snd t 1 1 -6, where -6 is read //as the bus number) used to throw an error and leave an Ndef 'inBus-6' if(busNum != 0 and: { mixTrackNames.includes(("bus" ++ busNum).asSymbol).not }, { ("Bus " ++ busNum + ...
-
... { ~pdefs.do({ |pdef| pdef.player.addDependant(currentEnvironment) }); if(~dur.isNumber and: { ~dur.isStrictlyPositive }) { stopTime = thisThread.clock.beats + ~dur; thisThread.clock.sched(~dur - 0.001, inEnvir { ~stop.value((notifyTime: sto ...
-
... cll event is a true rest, e.g. 'x', then the top note is a Rest() // and not a number -- but top notes being numbers is a precondition for // ProtoEvent(\macroRh) to forward to the child process. So the child never // fires and never has a ...
-
... Dict like class that provides a way to register Servers automatically between a number of Peers // the addrBook contains NetAddrs for Peers (sclang!) that will add servers // the dataspace is a shared dictionary of ips and ports // for 1 se ...
-
... : FoaAudition // // The Ambisonic Toolkit (ATK) is intended to bring together a number of tools and // methods for working with Ambisonic surround sound. The intention is for the toolset // to be both ergonomic and comprehensive, providing ...
-
... rectly produced by an out ugen // this allows us to conveniently write constant numbers to a bus from the synth // if you want the synth to write nothing, return nil from the UGen function. if(isScalar and: { output.notNil } and: { buildSyn ...