RNBO Objects & Operators hamming~
Open Help

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 a = 0.54 and, in this implementation, N = 1 . 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 [auto]

Optional

The signal to be windowed, bounded to the range 0. - 1.

Inlets

x [auto]

The signal to be windowed, bounded to the range 0. - 1.

Outlets

out1 [signal]

The windowed output, bounded to the range 0. - 1.

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 [auto]

The signal 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