-
... eject(_ == 0); if ((SynthDef.synthDefDir +/+ "vgPartia*").pathMatch.notEmpty) { SynthDescLib.global.read; "\n\n*** VGSynth found written synthdefs and reads them from %.\n\n" .postf(SynthDef.synthDefDir); doneFunc.value; loaded = true; ^thi ...
-
... n.(out) }); }; ~sendSynthDef = { var synthdesc; ~def.do({ |def| if((synthdesc = SynthDescLib.global[def]).notNil) { synthdesc.send(s); }; }); }; ~asPattern = { var out; ~prepareForPlay.value; // one use is streams that must persist past 1 b ...
-
... r = XiiSettings.new; // activate the settings registry //GUI.cocoa; synthdefs = SynthDescLib(\xiiquarks); // read synth defs from file ("ixiquarks/synthdefs.scd").loadPath; // SynthDescLib.getLib(\xiilang).synthDescs.keys.asArray; {SynthDes ...
-
... uf(88200).set(Array.fill(88200, { #[0, 0.25, 0.5, 0.75, 1.0].choose })) }).add; SynthDescLib.at(\bigLocalBuf).constants; // prints: FloatArray[1, 88200, 0, 0.75, 0.5, 0.25] ⧉ ✔ . clear set the buffer slot to zero. Discussion: This is import ...
-
... n.(out) }); }; ~sendSynthDef = { var synthdesc; ~def.do({ |def| if((synthdesc = SynthDescLib.global[def]).notNil) { synthdesc.send(s); }; }); }; ~asPattern = { var out; ~prepareForPlay.value; // one use is streams that must persist past 1 b ...
-
... wing line will open a window showing all SynthDefs and their parameters: ~satie.synthDescLib.browse ⧉ ✔ Now, let's make some noise. We can create instances of synths and pass them some initial arguments. ( // create some test sound instance ...
-
... encryptor| ^super.newCopyArgs(addrBook, oscPath, libName).init; } init { lib = SynthDescLib.getLib(libName); lib.addDependant(this); encryptor = encryptor ?? { NonEncryptor }; // NonEncryptor uses noops this.makeOSCFunc; } makeOSCFunc { os ...
-
... target.asTarget; target.server.ifRunning({ forkIfNeeded{ name= this.defName; if(SynthDescLib.at(name).isNil, { SynthDef(name, {|outBus, gate= 1, atk= 2, rel= 4, on= 1, amp= 0, vol= 0| var onEnv= EnvGen.kr(Env.asr(atk, 1, rel), on); var freq ...
-
... d in OSC messages. Normally this excludes gate, so we have to change a setting. SynthDescLib.at(\moogy).msgFuncKeepGate = true; ( p = Pbind( \type, \voicerNote, \voicer, v, \degree, Pwhite(-7, 7, inf), \dur, Pwhite(1, 3, inf) * 0.25, \legat ...
-
... ngFormat); // see that \simpleSine was added to SATIE's SynthDef library ~satie.synthDescLib.browse; // now, play an instance of \simpleSine called \mySine ~satie.makeSourceInstance(\mySine, \simpleSine, group: \default, synthArgs: [\freq, ...