-
s.reboot; s.unmute; s.mute; // plot { Demand.ar(Impulse.ar(1000), 0, DNoiseRing(change: 0.1, numBits: 32)) * (2**32).reciprocal }.plot(1) // plain 32bit value scaled to 0..1 and out of the speaker {Demand.ar(Impulse.ar(10000), 0, DNoiseRing ...
-
... es; *new { arg bufnum, v, axiom, rules, recycle=0, mode=0; ^this.multiNewList(['demand', bufnum, v, recycle, mode] ++ this.convertRules(axiom, rules)).axiom_(axiom).rules_(rules) } *convertRules { arg axiom, rules; ^[axiom.size, rules.size] ...
-
DetaBlockerBuf : DUGen { *new { arg bufnum = 0, startpoint = 0; ^this.multiNew('demand', bufnum, startpoint) } } BBlockerBuf : MultiOutUGen { *ar { arg freq, bufnum = 0, startpoint = 0; //arg freq = 440.0, iphase = 0.0; ^this.multiNew('audi ...
-
... ange = 0.5, chance = 0.5, shift = 1, numBits = 8, resetval = 0; ^this.multiNew('demand', change, chance, shift, numBits, resetval) } }
-
Dfsm : DUGen { *new { arg rules, n = 1, rgen; ^this.multiNewList(['demand', n, rgen ?? { Dwhite.new }] ++ this.convertRules(rules)) } *convertRules { arg rules; var states, nextStates, sizes, data; // if exit state not given, add one. if(ru ...
-
MultiOutDemandUGen : DUGen { // a class for UGens with multiple outputs var <channels; *newFromDesc { arg rate, numOutputs, inputs; ^super.new.rate_(rate).inputs_(inputs).initOutputs(numOutputs, rate) } initOutputs { arg numChannels, rate; ...
-
... } } Dbrown2 : UGen { *new { arg lo, hi, step, dist, length=inf; ^this.multiNew('demand', length, lo, hi, step, dist) } } /* Dbeta : UGen { *new { arg lo, hi, prob1, prob2, length=inf; ^this.multiNew('demand', length, lo, hi, prob1, prob2) } ...
-
... fer.isKindOf(Buffer).if({ buffer.bufnum; }, { buffer.as(LocalBuf) }); var src = Demand.ar( Impulse.ar(rate), 0, DetaBlockerBuf(bufnum, 0) ); leak.if{ src = LeakDC.ar(src); }; src * vol; } } play {|rate = 20000, using, leak = false, vol = 0. ...