-
... se // along with this program. If not, see <https://www.gnu.org/licenses/>. AlgaSynth : Synth { //Need the setter to "synth.algaInstantiated = false" in *new, to reset state var <>algaInstantiated = false; *new { | defName, args, target, ad ...
-
... -. --. / .- .. .-. / "; ~ctlbus1 = Bus.control(s); MIDIIn.connectAll; ( SynthDef(\perc, {|freq=280| var ampEnv, snd, attack, release, sat, mod; release = 3; attack = ~ctlbus1.kr; sat = -2; mod = SinOsc.ar(4, 0, 2); ampEn ...
-
... t An Event responds to a play message by evaluating ~play in the event, and the default behaviour of ~play is determined by the value of ~type. 1 a = (play: { ~word.scramble.postln }, word: "hello word"); a.play; a = (type: \note, freq: [13 ...
-
... inish: { finishTest = true } ); var i, msg1, finishTest = false; var isPlaying; SynthDef(\xxx_test, { |freq, zzzz, gate = 1| }).add; this.assert(SynthDescLib.global.at(\xxx_test).canFreeSynth.not, "SynthDesc detects that Synth can't free it ...
-
... r any type of functionality // fully customizable // please note that the createSynthFunc must return a single synth // if there are more synths started please either add them to the env // or to the unit.synths in the func. This synth will ...
-
... r any type of functionality // fully customizable // please note that the createSynthFunc must return a single synth // if there are more synths started please either add them to the env // or to the unit.synths in the func. This synth will ...
-
... means of distance attenuation and air absorption simulation // // ATK Binaural SynthDefs are treated specially, since head models should be loaded into buffers before instanciating Synths... // // TODO: // // -> Automatic adding to worldAd ...
-
... { arg reply, name, args, atTime, targetStyle, target; var b = MixedBundle.new, synth, s = Server.default; synth = Instr(name).prMakeSynth(targetStyle, target, args, b, atTime); b.addFunction({ reply.value(synth.nodeID) }); b.sendAtTime(s, ...
-
... s, <numChannels, <headerFormat, <sampleFormat; var <isRecording=false, <bufnum, synth; *new { arg server, inbus=0, numChannels=2, headerFormat='aiff', sampleFormat='int16'; ^super.new.initXiiRecord(server, inbus, numChannels, headerFormat, ...
-
... \freq , Pn (500, 1)), Pbind ( \dur , Pn (0.1, 1)) ], 2).play; ) Playing single Synths from SynthDefs on the server The following play messages both cause a SynthDef to be written, send it to the server and start a synth with it there. Note ...