-
... ---------------------- */ ~bass = { arg amp=0.5; { var amp_env, phase_env, phase, freq, dur; freq = 50.rand + 40; dur = 0.25; amp_env = EnvGen.ar(Env.perc(1e-6,dur), doneAction:2); phase_env = EnvGen.ar(Env ...
-
UnpackFFT Unpack an FFT chain into separate demand-rate FFT bin streams #magsphases = UnpackFFT(chain, bufsize) Takes an FFT chain and separates the magnitude and phase data into separate demand-rate streams, for arithmetic manipulation etc ...
-
// subBass step by step // Here's the input wave: { LFPar.ar(100 * 2, iphase: 2) }.plot; // Step 1: take input, constrain between 0-1, create a mirror image of it (invert phase) ( { var freq = 100, in, ina, inb; //Input wave - To use SinOsc ...
-
... Description Linear interpolating wavetable lookup oscillator with frequency and phase modulation inputs. This oscillator requires a buffer to be filled with a wavetable format signal. This preprocesses the Signal into a form which can be us ...
-
... - an Array of filter amplitudes, or nil. If nil, then amplitudes default to 1.0 phases - an Array of initial phases, or nil. If nil, then phases default to 0.0 freqscale - a scale factor multiplied by all frequencies at initialization time. ...
-
... emand-rate FFT bin streams into an FFT chain buffer PackFFT(chain, bufsize, magsphases) Takes an array of magnitudes and phases, and packs them into an FFT buffer ready for transforming back into time-domain audio using IFFT . Most people w ...
-
... ewEnergy; ^newAmount } alive {^energy>0} } //--an object with a frequency and a phase that can be influenced RedOscillator : RedObject { var <>freq= 0, <>phase= 0, <>amp= 1, <>coupling= 0.01, <delta, sum= 0; couple {|osc| sum= sum+(coupling ...
-
... } } //--keeping waves RedWaveSystem : RedObjectSystem { var <length, <>freqs, <>phases, <>amps, <>angularVel, <>theta= 0, <wave; *new {|length, freqs, phases, amps, angularVel| ^super.new.initRedWaveSystem(length, freqs, phases, amps, angul ...
-
... ~stutter = { |snd, reset, fragmentlength, rate = 1.0, maxdelay = 10| var phase, fragment, del; phase = Sweep.ar(reset); fragment = { |ph| (ph - Delay1.ar(ph)) < 0 + Impulse.ar(0) }.value(phase / fragmentlength % 1); de ...
-
... isn't the intended typical usage! It's OK to do this though. ( x = { var mags, phases, chain, sig; // Create simple undulating magnitudes mags = { FSinOsc .kr( ExpRand (0.1, 1)).range(0, 1)}.dup(100); // Then give them a "rolloff" to make ...