-
... // Mostly NoteOn / NoteOff, some cc messages, // no hardware scenes, flattened out with underscores /* MKtlDesc.loadDescs("*launchpad"); m.free; m = MKtl(\lp, "*launchpad"); m.gui; */ ( deviceName: "Launchpad", protocol: \midi, deviceType: ...
-
( s.waitForBoot({ SynthDef(\imp, { Out.ar(0, Impulse.ar(0).dup * EnvPerc.ar(release: 0.01)); }).add; s.sync; ~dur = 1; t = TempoClock.default; d = Pbind( \type, \note, \instrument, \imp, \dur, Pfunc { var val = ~dur.next; val.postln; val } ...
-
... usdur, transdur], \sin), doneAction: 2); sound = SinOsc.ar(freq, 0, amp) * env; Out.ar(0, sound); }).load(s); ) s.boot; a = OverlapTexture.new(\sinetest); a.play(60, 1, 1, args: [\freq, {440.rrand(880)}, \amp, 60.reciprocal]) a.stop; a.isPl ...
-
... a * b }, 2); steno.operator('+', { |a, b| a + b }, 2); steno.quelle('>', { |in| Out.kr(bus, A2K.kr(in)) }); steno.quelle('1', { |in| DC.ar(1) }); server.sync; func = { |code, result, message| var busValue; steno.value(""); server.setControl ...
-
... r, lengths, args) } avgsmooth { |avgpts = 5| var runsum = this[..avgpts-1].sum, out = this.class.new(this.size - avgpts + 1); (this.size - avgpts + 1).do({ |i| out.add(runsum / avgpts); runsum = runsum - this[i]; this[i+avgpts].notNil.if({ ...
-
... y].max(val)) }; ) // now measure maxima: ... touch every pad until it has maxed out ... // then, read your maxima: q.maxima.postln; // for my manta, the values are: q.maxima = [ 1, 177, 184, 187, 188, 192, 192, 183, 180, 188, 193, 197, 200, ...
-
... ion) x = DiskSndFile(~path, loop: true); //play ( y = x.makeUnit; z = UChain(y,\output); z.useSndFileDur; // use duration z.prepareAndStart(s); ) // or shorter: ( z = x.makeUChain; z.prepareAndStart(s); ) z.release(0.5); // release of 0.5s ...
-
... ion) x = DiskSndFile(~path, loop: true); //play ( y = x.makeUnit; z = UChain(y,\output); z.useSndFileDur; // use duration z.prepareAndStart(s); ) // or shorter: ( z = x.makeUChain; z.prepareAndStart(s); ) z.release(0.5); // release of 0.5s ...
-
... ion) x = DiskSndFile(~path, loop: true); //play ( y = x.makeUnit; z = UChain(y,\output); z.useSndFileDur; // use duration z.prepareAndStart(s); ) // or shorter: ( z = x.makeUChain; z.prepareAndStart(s); ) z.release(0.5); // release of 0.5s ...
-
... balEffects are e.g. delay, reverb, and also the monitor which handles the audio output routing. You can add and remove effects at runtime. Settable parameters are also: - fadeTime (fade in and out of each sample grain) - amp (gain) - minSus ...