-
... leFiles.child); ) ( SynthDef("help-binStretch", { |out = 0| var in, chain; in = LFSaw.ar(200, 0, 0.2); chain = FFT(LocalBuf(2048), in); chain = PV_BinShift(chain, MouseX.kr(0.25, 4, \exponential)); Out.ar(out, 0.5 * IFFT(chain).dup); }).pla ...
-
... tings) rises more slowly, but oscillates less (more stable measurement). ( { // LFSaw begins at 0, illustrates attack time better var sig = LFSaw.ar(440); var amps = Amplitude.ar( sig, attackTime: [0.001, 0.01], releaseTime: [0.01, 0.2] ); ...
-
... chain = PV_MagSmear(chain, 1); // -1023 to 1023, 0 to 2046, 2 to 2048 phasor = LFSaw.ar(rate/BufDur.kr(fftbufnum), phase, numSamples, numSamples + 2); phasor = phasor.round(2); // the evens are magnitude ScopeOut.ar( ((BufRd.ar(1, fftbufnu ...
-
A basic FM matrix synth (Ndef) with GUI // still have to work out the right modulation index calculation q = q ? (); q.numOscs = 5; ( Ndef(\fmMatrix, { var numOscs = q.numOscs; var oscs; var modFreqs = \modFreqs.kr({|i| 1 ...
-
"In latter model synthesizers, digital noise sources began to appear in place of analog ones. Traditionally, a psuedo-random shift register set up for optimal length. By optimal length, it is meant that every state of all available bits wil ...
-
... to add {}.draw about the selected region, else you can write it in. ( { var m = LFSaw.kr(0.4, 0) * 24 + (LFSaw.kr([8, 7.23], 0) * 3 + 80); CombN.ar(SinOsc.ar(m.midicps, 0) * 0.04, 0.2, 0.2, 4) }.draw ) // There are class variables at Dot to ...
-
... |x| sin(x) + 1 }); f.value((0..1000).normalize(0, 8pi)).plot; UGen ( { var a = LFSaw .ar(100).range(0.0001, 10); [a, a.ampdb] }.plot(minval: -60, maxval: 10) )
-
render each synthdef in a given dictionary as one-shot sound file. ( q = (); q.numChans = 1; q.sRate = 48000; q.dur = 2; q.dirname = thisProcess.nowExecutingPath.dirname; q.subDirname = q.dirname +/+ "%-%sec-%chan".format(q.sRate, q.d ...
-
... MouseY.kr(0.6, 0.99); b1 = 2.0 * rho * cos(theta); b2 = rho.squared.neg; SOS.ar(LFSaw.ar(200, 0, 0.1), 1.0, 0.0, 0.0, b1, b2) }.play ) ( { var rho, theta, b1, b2; theta = MouseX.kr(0.2pi, pi); rho = MouseY.kr(0.6, 0.99); b1 = 2.0 * rho * co ...
-
simple MIDI data recorder. records MIDI into an array. Save data as ".mid" file (readable e.g. by Ableton Live). // requires SimpleMIDI from wslib quark "wslib".include; MIDIClient.init; MIDIIn.connectAll; /* MIDIFunc.trace; // sho ...