-
... e| var coll, desc, msg, io; case { src.isSymbol or: { src.isString } } { desc = SynthDescLib.at(source.asSymbol); } { src.isFunction } { // oops, must communicate def back to here // I'm gonna try something naughty though // this is being c ...
-
... if the server is shut down you will have to reload the synthdef and re-read the synthdesclib. ( SynthDef ( \acid , { arg out, freq = 1000, gate = 1, pan = 1, cut = 4000, rez = 0.8, amp = 1; Out .ar(out, Pan2 .ar( RLPF .ar( Pulse .ar(freq, 0 ...
-
... hod. Each output value from the pattern gets posted to the main output. s.boot; SynthDescLib .global.read; p = Pbind ( \degree , Pwalk ((0..14), Pstutter ( Pwhite (1, 4, inf ), Prand (#[-2, -1, 1, 2], inf )), Pseq (#[-1, 1], inf ), 0), \del ...
-
... descriptors for SynthDefs; the descriptor is a SynthDesc , and the library is a SynthDescLib . The normal methods -- .send(s) , .load(s) -- to communicate a SynthDef to the server do not enter it into the library. As a result, SynthDefs sen ...
-
... zing melody) using the default SynthDef: // you must load the synth descriptors SynthDescLib .global.read; // Factories are used here too -- you should populate at least ~target // if ~target is not a MixerChannel, you should also supply ~o ...
-
... zing melody) using the default SynthDef: // you must load the synth descriptors SynthDescLib .global.read; // Factories are used here too -- you should populate at least ~target // if ~target is not a MixerChannel, you should also supply ~o ...
-
... } removeSynthDefs { encyclopedia.keysDo { |key| var defName = this.prefix(key); SynthDescLib.global.removeAt(defName); server.sendMsg("/d_free", defName) }; } prefix { |key| ^format("%_%", key, this.identityHash).asSymbol } removePrefix { | ...
-
... . Discussion: NOTE: The synthdef has to be .add'ed, so that it is stored in the SynthDescLib . Example: ( s.waitForBoot({ SynthDef(\helpSeti, { |out, freqs = #[100, 150, 200, 250]| Out.ar(out, SinOsc.ar(freqs.poll, 0, 0.1).sum ! 2) }).add; ...
-
... = other.desc); } } defName_{ | inDefName | defName = inDefName.asSymbol; desc = SynthDescLib.match(defName); if (desc.isNil) { // try Ndefs Ndef.all.do { |space| space.do { |ndef| ndef.objects.do { |object| if (object.respondsTo(\synthDef)) ...
-
... hod. Each output value from the pattern gets posted to the main output. s.boot; SynthDescLib.global.read; p = Pbind(\degree, Pwalk((0..14), Pdup(Pwhite(1, 4, inf), Prand(#[-2, -1, 1, 2], inf)), Pseq(#[-1, 1], inf), 0), \delta, 0.25, \sustai ...