WINDOW(3SP)

NAME
HammingWindow, HanningWindow - windowing routines

SYNOPSIS

#include <speech.h>

int HammingWindow (float *d, int len)

int HanningWindow (float *d, int len)

DESCRIPTION

These routines perform windowing operations on an array of floats. All of the routines moditfy the input array of floats.

HammingWindow() performs a Hamming window on the array d of lenght len.

HanningWinodw() performs a Hanning window on the array d of lenght len.

DIAGNOSTICS

HammingWindow() and HanningWindow() return a negative number on
error and sets ErrorString.

SEE ALSO
ErrorString(3SP), malloc(3), free(3)

BUGS

AUTHORS
These routines were taken from C Language Algorithms for Digital Signal Processing by Paul M. Embree and Bruce Kimble.