vocoder-0.1.0.0: Phase vocoder
Copyright(c) Marek Materzok 2021
LicenseBSD2
Safe HaskellNone
LanguageHaskell2010

Vocoder.Window

Description

This module defines popular window functions for use in the vocoder framework.

Synopsis

Documentation

makeWindow :: (Double -> Double) -> Length -> Window Source #

Creates a window of given length by sampling a function on the interval [0,1].

boxWindow :: Length -> Window Source #

Creates a box window.

triangleWindow :: Length -> Window Source #

Creates a triangular window.

hammingWindow :: Length -> Window Source #

Creates a Hamming window.

hannWindow :: Length -> Window Source #

Creates a Hann window.

generalizedBlackmanWindow :: Double -> Length -> Window Source #

Creates a generalized Blackman window for a given alpha value.

blackmanWindow :: Length -> Window Source #

Creates a Blackman window (with alpha=0.16).

exactBlackmanWindow :: Length -> Window Source #

Creates an exact Blackman window.

lanczosWindow :: Length -> Window Source #

Creates a Lanczos window.

flatTopWindow :: Length -> Window Source #

Creates a flat top window.