-
... ay need to reboot your server after running this. ( { var cutoff, son; cutoff = LFPar.kr(0.2, 0, 500, 500); son = LPF.ar(WhiteNoise.ar, cutoff); // Using Poll to debug by spitting out a value if the output hits NaN Poll.ar(if((son<=0)||(son ...
-
... ge(20, 60).round.midicps, // random note stereo: 0.5, gate: LFPulse.kr(1), vel: LFPar.kr(0.1).range(10, 100), // varying velocity mul: 0.2 ) }.play ) x.free; // Now let's define a piano synthdef: ( SynthDef(\help_mdapiano, { |out=0, freq=44 ...
-
... 0.1), \d.kr(1.5, 0.1), h: \h.kr(0.01), xi: 0.1 + \tr.tr(1)) * 0.2 ).tanh + 1 * LFPar.ar([100, 150]); }); ) ( Ndef(\lv, { Mix( LeakDC.ar( LotkaVolterra.ar(SampleRate.ir*0.5, a: {LFNoise2.ar(Rand(0.000174, 0.00174)).range(0.49, 0.5)}!3, b: \ ...
-
... eq undulation into something much more interesting... x = { var sig, out; sig = LFPar.kr(33) + MouseX.kr(0.01, 10, 1); out = Friction.kr(sig, friction: 5.41322e-5, mass: 8.05501, spring: MouseY.kr(0,1)); out = SinOsc.ar(out.range(150,500)); ...
-
... p_mp3_01", { |bufnum = 0| var son, wibble; son = DiskIn.ar(2, bufnum); wibble = LFPar.kr(0.1).range(0.5, 2.0); son = PitchShift.ar(son, pitchRatio: wibble); Out.ar(0, son); }).load(s); ) // Now let's create the MP3 object and cue it into a ...
-
... collect{|a| a.collect{|b| LFSaw.kr(*b)}}; var mods= y.collect{|a| a.collect{|b| LFPar.kr(*b)}}; var chans= #[0, 1]; FM7.ar(ctls, mods).slice(chans)*0.5; }.play)").postln.interpret; time.wait; syn.free; }; }; ) ( // Courtesy Fredrik Olofsson ...
-
... llating Ugen. Choose from: LFNoise0, LFNoise1, LFNoise2,SinOsc, Impulse, LFSaw, LFPar, LFTri, LFCub. freq The frequency of oscillation. low The lower bounds of oscillation. high The upper bounds of oscillation. phase The starting phase of t ...
-
... ment ( SynthDef( "organ", { |freq = 440, sustain = 1, amp = 0.1| var sig; sig = LFPar.ar( freq * [1,2,3,5], 0, amp/[2,4,5,7] ); Out.ar( 0, Env([0,1,1,0], [0.025,sustain,0.025]).kr(2) * sig.dup ) }).add; ); x = m.p( \organ ).play; x.stop; ⧉ ...
-
... multichannel", { |out=0, freq=440, mod=0.1, modrange=20| Out.ar(out, SinOsc.ar( LFPar.kr(mod, 0, modrange) + freq ) * EnvGate(0.1) ) }).add; ) ⧉ ✔ ( var freq, mod, modrange; freq = Array.exprand(8, 400, 5000); mod = Array.exprand(8, 0.1, 2) ...
-
... -0.5, 0.0, -1.0, -0.5, 0.0] // 3.14: [0.0, 0.5, -1.0, -0.5, 0.0, -1.0, -0.5] { LFPar.ar(SampleRate.ir/5) }.loadToFloatArray(2e-4, action:_.postln) // 3.13: [0.35, -0.84, -0.83, 0.36, 1.0, 0.35, -0.84] // 3.14: [1.0, 0.35, -0.84, -0.83, 0.3 ...