-
Shaper wave shaping oscillator Shaper.ar(bufnum, in, mul, add) Shaper.kr(bufnum, in, mul, add) Performs waveshaping on the input signal by indexing into the table. bufnum - the number of a buffer filled in wavetable format containing the tr ...
-
... aif", 40) //SoundFile.openRead("sounds/test.aif").play Example 3, loading a waveshaper buffer and modifying it in performance ( SynthDef ( \shaper ,{ arg out=0, bufnum=0, numbufs = 8, sustain = 1, freq = 500, amp = 0.1, pan = 0; var audio; ...
-
... of Chebyshev polynomials at the given amplitudes for use in waveshaping by the Shaper ugen. The Wavetable will be normalized. size - must be a power of 2 plus 1, eventual wavetable is next power of two size up. amplitudes - an Array of amp ...
-
... hev polynomials at the given amplitudes. For eventual use in waveshaping by the Shaper ugen; see Shaper helpfile and Buffer:cheby too. size - the number of samples in the Signal. amplitudes - an Array of amplitudes for each Chebyshev polyno ...
-
... waveshaping. 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' fill ...
-
... .kr(0.1,8pi,1)); SinOsc .ar(0, in, 0.2); // 0 Hz sine oscillator }.scope(1); ) Shaper input is used to look up a value in a table. Chebyshev polynomials are typically used to fill the table. s.sendMsg( \b_alloc , 80, 1024); // allocate tab ...
-
... (n) = amplitude * cos(n * acos(x)). To eliminate a DC offset when used as a waveshaper, the wavetable is offset so that the center value is zero. amplitudes - An Array containing amplitudes for the harmonics. The first float value specifies ...