RNBO Objects & Operators hann
Open Help

hann

Provides a Hanning windowing function

Description

Processes incoming values based on the Hanning windowing function, provided below...

 w[n] = 0.5 * [1 - cos((2 * pi * n) / N)] 

where, in this implementation, N = 1 . The function's input and output range is from 0. to 1.

Arguments

x [number]

Optional

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
blackman Provides a Blackman windowing function
hamming Provides a Hamming windowing function
welch Provides a Welch windowing function