-
... env1.midicps; son = LFPulse.ar(env1m, 0, 0.5, 1, -0.5); son = son + WhiteNoise.ar(1); son = LPF.ar(son, env1m*1.5, env0); son = son + SinOsc.ar(env1m, 0.5, env0); son = son * 1.2; son = son.clip2(1); OffsetOut.ar(out, ...
-
... fact in action: s.plotTree // Play some high order ambisonics sound ( // White Noise going round Ndef(\hoa_testorientation, {|amp=0.125, freq=100, rotFreq=1, ele=0| // var sig = LFTri.ar(freq)*amp; var sig = WhiteNoise.ar(amp); var azi = L ...
-
... sr = SampleRate.ir; cr = ControlRate.ir; block = cr.reciprocal; ifqc = freq; // noise envelope kenv1 = EnvGen.kr(Env.new( [ 0.0, 1.1 * ipress, ipress, ipress, 0.0 ], [ 0.06, 0.2, dur - 0.46, 0.2 ], 'linear' ) ); // overall envelope kenv2 = ...
-
... can be used as drop-in replacements to get the old behavior back. Good for very noise and glitchy sounds where the filter [nearly] blows up. Class Methods GlitchBRF. ar ( in: 0.0 , freq: 440.0 , rq: 1.0 , mul: 1.0 , add: 0.0 ) From supercla ...
-
... env = Env.perc(att, rel, amp).kr(doneAction: 2); snd1 = HPF.ar( in: WhiteNoise.ar, freq: ffreq, mul: env ); snd2 = SinOsc.ar(freq: sinfreq, mul: env); sum = snd1 + snd2; Out.ar(out, Pan2.ar(sum, pan)); }).add; Synth ...
-
... internal.boot; b = Buffer .alloc(s,2048,1); // Simple demo with filtering white noise, and trying to infer the cutoff freq. // Move the mouse. ( { var in, chain, realcutoff, estcutoff; realcutoff = MouseX .kr(0.00001,22050); in = LPF .ar( W ...
-
... output. If the parameter signal doesn't change (which can e.g. happen with a LFDNoise UGen) the result will in general be a DC offset, hence DC leaking is recommended. Defaults to true. leakCoef - Number, the leakDC coefficient. Defaults to ...
-
... r trig, env, qenv; // Each key's BPF Q attack time (global) var qtime = LFNoise2.kr(1).linexp(-1, 1, 0.1, 1); // Master trigger sum var master_trig = DC.kr(0); // Live input plus noise, pitch shifted, with a little dust ...
-
... makeUpDelay; var size = 2048; var halfSize = (size / 2).asInteger; freqLFO = LFNoise2.kr(72).range(0.9, 1.1); ampLFO = SinOsc.kr(0.5).range(0.01, 0.5); // Sinusoids in = SinOsc.ar([440 * freqLFO, 330 * freqLFO]); // in = SinOsc.ar([220, 0] ...
-
... path sampleRate Use source if nil numChans Use source if nil dither 1=dither, 2=noise shaping, 3=both) usesrcstart 1=write source media BWF start offset to output) usesrcmetadata 1=attempt to preserve original media file metadata if possibl ...