gen_blackman
generate blackman window
Synopsis
#include <window.h>
void gen_blackman_fr16(w,a,N)
fract16 w[];
int a;
int N;
Description
This function generates a vector containing the Blackman window. The
length of the window required is specified by the parameter
stride parameter
vector
. The length of the output vector should therefore be
w
Algorithm
=
−
w n
[ ]
0 42 0 5
.
. cos
where n = {0, 1, 2, ..., N-1}
Domain
a > 0; N > 0
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
/* Window vector
/* Address stride in samples for window vector */
/* Length of window vector
is used to space the window values within the output
a
π
π
2
n
4
+
0 08
.
cos
−
N
1
N
DSP Run-Time Library
n
−
1
*/
*/
, and the
N
.
N*a
4-65
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?