-
... terToAbstractPlayControl { AbstractPlayControl.proxyControlClasses.put(\module, SynthDefControl); AbstractPlayControl.buildMethods.put(\module, #{ | func, proxy, channelOffset = 0, index | var role, moduleName, dict, obj; var npModules = NP ...
-
... ************************ // Fig 57.2: FM synthesiser for computer noises ( SynthDef(\fmSynth, { |carrierFreq=100, carrierLvl=0.5, modulatorRatio=5, modulatorIndex=1.5, outputAmp=0.2, sig, out=0| // the simple FM core ...
-
... ay; ///// moment in the restaurant: //// load a library with a lot of so-called synthdefs "libs/_SynthLib.scd".resolveRelative.openOS; "libs/_SynthLib.scd".loadRelative; q.synthDefs.cs; // that many q.tonalDefs.cs; // the ones with frequenc ...
-
... s.waitForBoot({ var win = Window.new( "", Rect(0, 400, 200, 100) ); var button; SynthDef(\GMhelp, { |out = 0, amp = 0.1, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr(Env.perc); Out.ar(0, snd!2); }).add; // Instanci ...
-
... to be subclassed // In order to have several Soundscape models that implement a SynthDef. The audio synthesis module // You could have several Soundscape instances, and each of them is a Zone of your Soundscape. // A Zone allow you to manag ...
-
... velope. Env s can be used both server-side, by an EnvGen or an IEnvGen within a SynthDef , and clientside, with methods such as -at and -asStream , below. An Env can have any number of segments which can stop at a particular value or loop s ...
-
... ay: -maxima and Array: -findNlargest . s = Server.internal; // etc all the rest SynthDef(\liveFFT, {|in=8,fftbuf=0,magbuf=1,freqbuf=2| var fft, inp; inp = SoundIn.ar(0); // your input. Also can be In.ar(in); fft = FFT(fftbuf, inp, wintype: ...
-
... le a.close; //monitor off a.stop; recording from some bus a = Bus .audio(s, 2); SynthDef ( "test" , { arg out; Out .ar(out, { WhiteNoise .ar(0.1) }.dup(2)) }).send(s); x = Synth ( "test" , [ \out , a]); n = RecNodeProxy .audio(s, 2); n.sour ...
-
... le a.close; //monitor off a.stop; recording from some bus a = Bus .audio(s, 2); SynthDef ( "test" , { arg out; Out .ar(out, { WhiteNoise .ar(0.1) }.dup(2)) }).send(s); x = Synth ( "test" , [ \out , a]); n = RecNodeProxy .audio(s, 2); n.sour ...
-
... a.touch(1.0.rand, 1.0.rand); a.hue_(h); h = h + 1; 0.02.wait; }) }) // set up a SynthDef that takes x and y parameters, and maps them to sound SynthDef(\test, {arg gate = 1, x, y; var env, src; env = EnvGen.kr(Env([0, 1, 0], [0.1, 3], \sin, ...