-
... s the old value for a smooth connection v.globalControls[\ffreq].automateFade { SinOsc.kr(0.2).exprange(900, 2100) }; v.release([60, 64, 67].midicps); // the modulator still exists, belonging to the VoicerGlobalControl // when we free the V ...
-
... rg/1-4Wu) numHarms = 7; humFreq = 100; hum = Array.fill(numHarms, {|i| SinOsc.ar( (i+1) * humFreq, 0, 1/numHarms)}); hum = hum.sum; dustNoise = Dust2.ar(LFNoise1.ar(0.5).range(1000,15000)); // Dust or Dust2 ? staticNoise = ...
-
... 0, curve=0; var env = Env.perc(0.01, 1/rate, 1, curve).ar(0, Impulse.ar(rate)); SinOsc.ar(freq*env) * amp; }); ⧉ ✔ Run NTMI.run and you should be able to select your new sound in one of the sound slots. A few things to notice here are: - th ...
-
... nthDef(\sine, { |freq = 400, freqlag = 0.0, amp = 0.1, amplag = 0.05| Out.ar(0, SinOsc.ar(Lag.kr(freq, freqlag), 0, mul: VarLag.kr(amp, amplag, warp: 1)) ! 2 * EnvGate()); }).add; ) // simple usage, each stream is setting the corresponding ...
-
... controller s.boot; // boot the server Ndef(\sinewave, { |freq = 500, amp = 0.1| SinOsc.ar(freq, 0, amp * 0.2) }); Ndef(\sinewave).play; ~freqRange = [500, 5000, \exponential].asSpec; // create a frequency range HIDdef.usage(\freq, { |value| ...
-
... ✔ Use as a Sequencer ( var size; size = 12; s.waitForBoot({ n = { |freq = 330| SinOsc.ar(freq, 0, 0.2) }.play; w = Window("test", Rect(200, 450, 10 + (size * 17), 10 + (size * 17))); w.view.decorator = FlowLayout(w.view.bounds); b = MultiS ...
-
... b = Buffer.alloc(s, 512, 1); b.cheby([1,0,1,1,0,1]); ( x = play({ Shaper.ar( b, SinOsc.ar(300, 0, Line.kr(0,1,6)), 0.5 ) }); ) x.free; b.free; ⧉ ✔ The Shaper UGen performs waveshaping on an input source. The method 'cheby' fills the buffer ...
-
... 0, pan=0, amp=1; var env, sine; env = EnvGen.ar(Env.perc, doneAction:2); sine = SinOsc.ar(freq, 0, env*amp); Out.ar(outbus, Pan2.ar(sine, pan)); }).play(Server.default)}.asCompileString; xiigui = nil; point = if(setting.isNil, {Point(208, 1 ...
-
... r // example with sound ( var size; size = 12; s.waitForBoot{ n={ arg freq=330; SinOsc .ar(freq,0,0.2)}.play; w = Window ( "test" , Rect (200 , 450, 10 + (size * 17), 10 + (size * 17))); w.view.decorator = FlowLayout (w.view.bounds); b = Mu ...
-
... s, releaseTime: rel, peakLevel: amp ).kr(gate: gate); carrier = SinOsc.ar(freq: freq); modulator = SinOsc.ar(freq: freq * modFreqRatio).range(0, modDepth); snd = carrier * modulator; snd = snd * env; snd = Pan2.a ...