-
... ts are given directly rather than calculated for you. Formula is equivalent to: out(i) = (a0 * in(i)) + (a1 * in(i-1)) + (b1 * out(i-1)) Examples: ( // same as OnePole { var x; x = LFTri .ar(0.4, 0, 0.99); FOS .ar( LFSaw .ar(200, 0, 0.2), 1 ...
-
// add a new synthdef so everyone gets it: ( SynthDef(\kabelScahden, { |out, freq=50, sustain=1, amp = 1| var h, n, m, k, trig, hum; hum = { trig = Dust.kr( 7 ** LFNoise1.kr(0.3) ); h = ToggleFF.kr(CoinGate.kr(0.4,trig)) * RLPF.ar(LFPulse.a ...
-
... ed in which will be polled and passed to the function. ( Patch({ |freq=200| var out; out = LFSaw.ar(freq); (Dust.kr(0.3)).onTrig({ |time,value| ["dusty",time,value].postln },out); // this value will be polled anytime the trig goes out * 0.1 ...
-
... ter section. This represents the sum of what you will here on a stereo hardware output. Arguments: masterBus The recommendation would be to use the output bus that will be used for the stereo hardware output. In most cases this should be si ...
-
... 300, height= 300, w, wgrav, world, n= 10, synths; //--synthesis SynthDef(\fm, {|out= 0, t_trig= 0, dur= 0.5, freq= 400, freq2= 606, amount= 10, amp= 1, pan= 0| var e, z; e= EnvGen.kr(Env.perc(dur*0.01, dur), t_trig); z= BPF.ar(LFSaw.ar(freq ...
-
... 300, height= 300, w, wgrav, world, n= 10, synths; //--synthesis SynthDef(\fm, {|out= 0, t_trig= 0, dur= 0.5, freq= 400, freq2= 606, amount= 10, amp= 1, pan= 0| var e, z; e= EnvGen.kr(Env.perc(dur*0.01, dur), t_trig); z= BPF.ar(LFSaw.ar(freq ...
-
... .ar(Env.perc(releaseTime: \dur.kr), durTrig, doneAction: Done.pauseSelf); OffsetOut.ar(\out.ir(0), x * env * \amp.kr(0.1)); }).add; ) ( fork { ~numSynths = 1; //Create a control Bus with ~numSynths channels ~freqBusses = Bus.control(s, ~num ...
-
Instr { classvar <dir; var <>name, <>func, <>specs, <>outSpec, >path; var <explicitSpecs;// specs that were explicitly stated on construction (not guessed) // specs are optional : can be guessed from the argnames // outSpec is optional but ...
-
... ; s = server ? Server.default; SynthDef(\xiiSpectral_MagClip1x1, { arg inbus=0, outbus=0, thresh = 0, bufnum=0, dryvol = 0, vol=1; var in, chain; in = InFeedback.ar(inbus, 1); chain = FFT(bufnum, in); chain = PV_MagClip(chain, thresh); // I ...
-
... [0, 0.6, 0.3, 1.0, 0], [0.1, 0.02, 0.4, 1.1], [ \lin , \exp , -6, \sin ]).plot; Out .ar(0, sin * // use MouseX to index into the InterplEnv to control amps IEnvGen .kr(env, MouseX .kr(0, env.times.sum)) * EnvGen .kr( Env .asr(0.01, 1, 0.01) ...