class

DSP::Windows::Tukey

Inherits DSP::Windows::Window < Reference < Object

Produces a Tukey window of a given size (number of samples). The Tukey window, also known as tapered cosine, can be regarded as a cosine lobe of width alpha * N / 2 that is convolved with a rectangular window. At alpha = 0 it becomes rectangular, and at alpha = 1 it becomes a Hann window. For more info, see https://en.wikipedia.org/wiki/Window_function#Tukey_window.

Constants

ALPHA_RANGE = (0.0..1.0)

Class methods

get(size, alpha = 0.5)
Source