-
... inchans, mode: mode ); // Only generate if forced to or if it does not exist in synthdesclib if(forceAdd or: { SynthDescLib.global.at(name.asSymbol).isNil }, { verbose.if({ "Creating AllBuf synth for mode %".format(mode).postln }); synthfun ...
-
// General-use synthdefs // I will keep them in a separate SynthDescLib as well as the global one Library.put(\ddwGlobal, \storeMethod, if(SynthDef.findRespondingMethodFor(\add).notNil) { \add } { \memStore } ); SynthDescLib(\ddwSynths, { S ...
-
... p.algaMaxIO = maxIO; AlgaStartup.initSynthDefs(rebuild); } *initClass { var algaSynthDescLib = SynthDescLib(\alga); servers = IdentityDictionary(1); schedulers = IdentityDictionary(1); clocks = IdentityDictionary(1); parGroups = IdentityDic ...
-
// add this from 3.6.6 if using 3.6.5 or earlier! + SynthDescLib { add { |synthdesc| synthDescs.put(synthdesc.name.asSymbol, synthdesc); this.changed(\synthDescAdded, synthdesc); } }
-
... a); s.makeWindow.boot; s.addr.start; s.addr.score.score.postcs; a.lifeTime = 3; SynthDescLib .read; Pbind ( \server , s).play(a); // Renderer // could be used like this: SynthDescLib .read; ( a = Renderer (3.0); // render 3.0 seconds Pbind ...
-
... gs); } initAbstractSVoice {|grp, args| var name= this.defName; forkIfNeeded{ if(SynthDescLib.at(name).isNil, { this.def.add; grp.server.sync; }); syn= Synth(name, args, grp); }; } *type {^this.subclassResponsibility(thisMethod)} //also synt ...
-
... { | synthName, metaKey = \specs, useGlobalSpecs = true | var desc, spec; desc = SynthDescLib.global[synthName.asSymbol]; spec = desc.tryPerform(\metadata).tryPerform(\at, metaKey) ?? { useGlobalSpecs.if { Spec.specs[this] } }; spec.isNil.if ...
-
... argItem.patternpairs.pairsDo{|key, pat| var desc; if(key==\instrument, { desc= SynthDescLib.global.synthDescs[pat]; if(desc.notNil, { channels= desc.outputs[0].numberOfChannels;//is this correct? rate= desc.outputs[0].rate; //is this corre ...
-
... .asKeyValuePairs++[\sController_bus, bus]; name= this.defName; forkIfNeeded{ if(SynthDescLib.at(name).isNil, { this.def.add; target.server.sync; }); syn= Synth(name, args, target); }; } defName { ^(this.class.name++bus.numChannels).asSymbol ...
-
... play; (instrument: \able).play; (instrument: \bubble).play; r.postExamples; b = SynthDescLib.global.synthDescs[\bla] SynthDescLib.global.synthDescs.do { |sd| sd.exampleEventString.postln }; ""; */