-
... chitecture will be described in another document. AdhocClass ({ ~asPattern = #{ SynthDescLib .global.read; // other initialization may take place here too Pbind ( \degree , Pn ( Plazy ({ Pseq ((0..7).scramble, 1) }), inf ), \delta , 0.125, ...
-
... s will be added to ~timingOffset. ~instrument = ~instrument.asSymbol; hasGate = SynthDescLib.global[~instrument].controlNames.includes(\gate); gateDelay = hasGate.if { ~sustain.value }{ 0 }; // reserve buses with right sizes, // this looks ...
-
... Synth }{ if (target.isNil) { target = Server.default.asTarget; } }; synthDesc = SynthDescLib.global[name.asSymbol]; if (synthDef.isNil) { synthDef = SynthDefStorage.synthDefDict[name.asString].tryPerform(\at, 0) ?? { synthDesc.tryPerform(\d ...
-
... ut } initArgAt { |name| ^initArgDict[name.asSymbol] } controlNames { var desc = SynthDescLib.at(this.asDefName); ^if(desc.notNil) { IdentitySet.new.addAll(desc.controlNames) } { IdentitySet.new } } // this test is split out of the above in ...
-
... . - freq for tonal sounds */ q = q ? (); q.origSynthDefs = q.origSynthDefs ?? { SynthDescLib.global.synthDescs.keys }; // load other synthdef libs explicitly in startup, e.g. // "allesAnAlle.scd", "_FXLib.scd"; // (~libsPath +/+ "allesAnAll ...
-
... do(_.dump); "" [].join($/).asCompileString #[abc, def].join($/).asCompileString SynthDescLib.at(\default).controls y.controls.keysValuesDo { |k, v| [k, v].postln }; "" // move g = Group.basicNew(s, 500); h = Group.basicNew(s, 501); s.sendBu ...
-
... t; Class.initClassTree(Platform); Class.initClassTree(GUI); Class.initClassTree(SynthDescLib); Class.initClassTree(SynthDef); globalShortcutsEnableFunc = { if(globalShortcutsEnabled) { this.globalShortcutsSync; } }; Platform.case( \osx, { p ...
-
... nique pattern from the collection to tell if it's been loaded. *isLoaded { ^if( SynthDescLib.global.synthDescs.at(\defaultB).notNil and: Pbindef.all.keys.includes(\ikedaBass), { true }, { false } ); } // Create GUI *gui { var header; var ga ...
-
... requires that the SynthDef has been added in order to have control arg info in SynthDescLib. ( ~getCtlIndex = { |defName, argName, index| var x = SynthDescLib .global.at(defName.asSymbol).controls .collect({ |x| x.name.asSymbol }).indexOf( ...
-
... (freq, 0, amp) * Env.sine(dur).kr(2));}).add; // someone else try to look it up SynthDescLib.at(\foo); Synth(\foo);