-
PeakMonitor { // back end for graphic peak follower classvar <all; // kr bus # -> monitor object var <target, // may be bus or mixer <synth, // writes peak level(s) onto control bus(es) <bus, <synthTarget, <freq, <>peaks, resp, // OSCrespon ...
-
SharedBus : Bus { var released = false,<>owner; *newFrom { arg bus,owner; // only the top owner can free the bus if(bus.isKindOf(SharedBus).not,{ ^this.new(bus.rate,bus.index,bus.numChannels,bus.server).owner_(owner) },{ ^bus }) } releaseBu ...
-
SharedBus : Bus { var released = false, <>owner; *newFrom { arg bus, owner; // only the top owner can free the bus if(bus.isKindOf(SharedBus).not, { ^this.new(bus.rate, bus.index, bus.numChannels, bus.server).owner_(owner) }, { ^bus }) } re ...
-
... 1, 1])) }).add; SynthDef(\2, { \in.ar([0, 0]).poll }).add; s.sync; s.bind { var bus, s1, s2; bus = Bus.audio(s, 2); s1 = Synth(\1, [\out, bus.index]); s2 = Synth(\2, [\in, bus.busArg], addAction:\addToTail); } }); ) ( s.waitForBoot({ SynthD ...
-
... ; ~source = np; inlets = [ MxInlet("in",0,AudioSpec(np.numChannels), MxListensToBus({~source.bus},{~source.server},{~source.group}) ) ]; outlets = [ MxOutlet( "out", 0, AudioSpec(np.numChannels), MxPlaysOnBus({~source.bus},{~source.server}, ...
-
BusDict { // stores dictionaries of descriptive names for buses // and the bus objects themselves // the dictionary key is the bus number, obtained from Bus.alloc // this class does not create instances; // the class itself is the interface ...
-
BusDict { // stores dictionaries of descriptive names for buses // and the bus objects themselves // the dictionary key is the bus number, obtained from Bus.alloc // this class does not create instances; // the class itself is the interface ...
-
... tiple speakers. // like PanAz, but with unlimited outputs and never more that 2 busses used. // use instead of Out.ar . // CPU and load time benefits at high numbers of outputs ( > 16 ) PanOut { *pan { |in, pos = 0| ^Pan2.ar( in, ( pos.fold ...
-
TestAbstractPlayer : UnitTest { var s,player,group,bus,bundle; makePlayer { ^SynthlessPlayer.new } makeBus { ^Bus.alloc(\audio,s,player.numChannels); //^this.subclassResponsibility(thisMethod) } setUp { Instr.clearAll; InstrSynthDef.clearCa ...
-
... se // along with this program. If not, see <https://www.gnu.org/licenses/>. AlgaBus { var <server; var <bus; var busArg; var <rate = nil, <numChannels = 0; *new { | server, numChannels = 1, rate = \audio | ^super.new.init(server, numChannel ...