-
... ll(1000, { | i | SinOsc.ar(\freq.kr(100) * i) })) * DC.ar(0) }).add; }) ) ( a = Group(s.defaultGroup); b = Group(a); c = Group(b); d = Group(b); e = Group(b); Synth(\test, target:b); Synth(\test, target:c); Synth(\test, target:d); Synth(\te ...
-
( Server.supernova; s.options.blockSize = 64; s.boot; ) ( p = ParGroup(); z = ParGroup(); fork { loop { ( degree: rrand(0.0, 12.0).round(1/4), group: p, db: rrand(-30, -25), pan: rrand(-1.0, 1.0) ).play; 0.002.wait; } }; fork { loop { ( deg ...
-
... a dummy Process environment = Environment.make { |self| ~setup = { |self, name, group| self.name = name; self.group = group; self.foobar = \foobar; }; }; satie.makeProcess(\dummy, environment); } tearDown { this.quit(satie); server.remove; ...
-
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 ...
-
UGroup { classvar <>all; var <>id; var <>groups; var <>children; *new { |id = \default| // only returns new object if doesn't exist var result; result = all.detect({ |item| item.id === id }); ^result ?? { this.basicNew( id ) }; } *basicNew ...
-
UGroup { classvar <>all; var <>id; var <>groups; var <>children; *new { |id = \default| // only returns new object if doesn't exist var result; result = all.detect({ |item| item.id === id }); ^result ?? { this.basicNew( id ) }; } *basicNew ...
-
... isNil,{ bundle.add(["/d_recv", this.asSynthDef.asBytes, synth.addToTailMsg(this.group,this.synthDefArgs) ]); Library.put(SynthDef,server,dn,true); },{ bundle.add( synth.addToTailMsg(this.group,this.synthDefArgs) ); }); } addPlayer { arg pla ...
-
... sNil, { bundle.add(["/d_recv", this.asSynthDef.asBytes, synth.addToTailMsg(this.group, this.synthDefArgs) ]); Library.put(SynthDef, server, dn, true); }, { bundle.add( synth.addToTailMsg(this.group, this.synthDefArgs) ); }); } addPlayer { a ...
-
... dPluginToDictionary(type, name, srcName); } makeInstance { |name, synthDefName, group = \default, synthArgs = #[]| var synth, nodeID; if(synthArgs.includes(\bufnum)) { synthArgs = this.processBufnum(synthArgs); }; synth = Synth(synthDefName ...
-
... se // along with this program. If not, see <https://www.gnu.org/licenses/>. AlgaGroup : Group { //Need the setter to "synth.algaInstantiated = false" in *new, to reset state var <>algaInstantiated = false; *new { arg target, addAction = \ad ...