-
... thisProcess.nowExecutingPath.dirname +/+ "growler-wt.wav"); ( a = { var trig = Impulse.ar(10); (MultiWtOsc.ar( TExpRand.ar(50, 500, trig), LFDNoise3.kr(3).range(0, 254.999), 0, 0, bufnum: b, numTables: 8, wtSize: 2048, ratio: 2, numOscs: 5 ...
-
... Key.kr(q.b[\x], index, 12, 1, 42).midicps ), [1000, 9000], 0.1 ).sum * Decay.kr(Impulse.kr(1 / dt), 0.5) * 0.3 ! 2 }; ) // play an empty buffer ( ~out = { var n = q.b[\y]; PlayBuf.ar(q.b[\y].numChannels ? 1, n, BufRateScale.kr(n), loop:1) } ...
-
... ring in https://github.com/supercollider/supercollider/pull/5097 UGens: Changed Impulse is now initialized correctly such that: it will fire on the first sample, given the default phase of 0 (or multiple of 1). a frequency of 0 fires once a ...
-
... z.busOffset_(8); s.scope(4, 8); // play something on these to check { Decay.ar(Impulse.ar(1, [1, 2, 3, 4] / 4), 0.01) }.play(outbus: 8); // try changing the decayTime z.set(\decayTime, 0.4); z.set(\decayTime, 1); ~lfo = { SinOsc.kr([1, 2, ...
-
... = 60, vbapBuf| var panned, source; source = SinOsc.ar([440, 660], 0, Decay2.ar(Impulse.ar([1, 0.9]), 0.1, 0.2)); azi = azi.circleRamp; panned = VBAP.ar(5, source, vbapBuf, [azi - (0.5 * width), azi + (0.5 * width)], ele, spr); // 'standard ...
-
... .kr( Env( levels: [0, 0.1, 0.2, 0.3], times: [0.1, 0.1, 0.1], curve: 8 ), gate: Impulse.kr(3) ); }.plot(duration: 1); ) ⧉ ✔ In the above example, the initial level (0) is never repeated. When retriggered, the envelope moves from its current ...
-
... ange(-1, 1); var stereo = Splay.ar(snd, spread, level, center); Peak.ar(stereo, Impulse.kr(2)).ampdb.poll(2); stereo }.play; ) // when we set full spread, panned to center: // the 2 signals are discrete, left and right // we see the energy- ...
-
... Grains", { arg centerFreq = 777, freqDev = 200, grainFreq = 2; var gate; gate = Impulse.kr(grainFreq); Out.ar( 0, SinOsc.ar( LFNoise0.kr(4, freqDev, centerFreq), 0, EnvGen.kr(Env.sine(0.1), gate, 0.1) ) ) }).add; SynthDef("aDelay", { arg de ...
-
... aseTime: decay); // this trigger (id==0) is to update the gui only SendReply.kr(Impulse.kr(10), '/amp', amp); // this trigger gets sent only when amplitude crosses threshold SendReply.kr(amp >= thresh, '/amptrig'); }).play(args: [inbus: s.o ...
-
... dio and control signals. Example: // 8-bit magic ( play { var t = PulseCount.ar(Impulse.ar(8e3)); HPF.ar( ( ((t * 15) & (t >> 5)) | ((t * 5) & (t >> [3, 4])) | ((t * 2) & (t >> 9)) | ((t * 8) & (t >> 11)) - 3 % 256 ) / 127-1 * 3 , 20 ).tanh ...