hamming
Provides a Hamming windowing function
Description
Processes incoming values based on the Hamming windowing function, provided below...
w[n] = a * (1 - a) * cos((2 * pi * n) / N)
where
and, in this implementation, . The Hamming window is a variation on the Hann window, but the slight change in coefficients causes the first sidelobe of its Fourier transform to be cancelled out. The function's input and output range is from 0. to 1.Arguments
x [number]
The values to be windowed, bounded to the range 0. - 1.
Inlets
x [number]
The values to be windowed, bounded to the range 0. - 1.
Outlets
out1 [number]
The windowed output, bounded to the range 0. - 1.
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
hot [bool] (default: false)
Trigger computation on all inlets.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
reset [bang] (default: 0)
Banging this attribute will reset the object to its default state.
x [number]
The values to be windowed, bounded to the range 0. - 1.
See Also
Name | Description |
---|---|
buffer~ | A data buffer for holding audio (or potentially some other) data. |
fftstream~ | Fast Fourier Transform |
hann | Provides a Hanning windowing function |
blackman | Provides a Blackman windowing function |
welch | Provides a Welch windowing function |