RNBO Objects & Operators blackman
Open Help

blackman

Provides a Blackman windowing function

Description

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

 w[n] = a0 - a1*cos((2*pi*n) / N) + a2*cos((4*pi*n) / N) 

where, in this implementation, a0 = 0.42 , a1 = 0.5 , a2 = 0.08 , and 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
hann Provides a Hanning windowing function
hamming Provides a Hamming windowing function
welch Provides a Welch windowing function