stftlab4.m File Reference

Go to the source code of this file.

Variables

function y
 
function w = w/sum(w)
 
function N
 
function H
 
function t
 
analysis window size N2 = N/2+1
 
size of positive spectrum soundlength = length(x)
 
length of input sound array hM = (M-1)/2
 
half analysis window size pin = 1+hM
 
initialize sound pointer at the middle of analysis window pend = soundlength-hM
 
last sample to start a frame fftbuffer = zeros(N,1)
 
initialize buffer for FFT yw = zeros(M,1)
 
normalize analysis window sw = hanning(M)
 

Variable Documentation

last sample to start a frame fftbuffer = zeros(N,1)

Definition at line 12 of file stftlab4.m.

Definition at line 1 of file stftlab4.m.

length of input sound array hM = (M-1)/2

Definition at line 9 of file stftlab4.m.

Definition at line 1 of file stftlab4.m.

analysis window size N2 = N/2+1

Definition at line 7 of file stftlab4.m.

initialize sound pointer at the middle of analysis window pend = soundlength-hM

Definition at line 11 of file stftlab4.m.

half analysis window size pin = 1+hM

Definition at line 10 of file stftlab4.m.

size of positive spectrum soundlength = length(x)

Definition at line 8 of file stftlab4.m.

synthesis window sw = hanning(M)

Definition at line 16 of file stftlab4.m.

Definition at line 1 of file stftlab4.m.

initialize output array w = w/sum(w)

Definition at line 1 of file stftlab4.m.

initialize output sound frame y
Initial value:
= stftlab4(x, w, N, H, t)
% Analysis/synthesis of a sound using the peaks
% of the short-time fourier transform
% x: input sound
FFT size for synthesis(even) H
function t
Definition: stftlab4.m:1
function H
Definition: stftlab4.m:1
function w
Definition: stftlab4.m:1
Discrete Time axis x
use a maximum of peaks[f0, f0error]
sound(x3, Fs)
function N
Definition: stftlab4.m:1

Definition at line 1 of file stftlab4.m.

initialize buffer for FFT yw = zeros(M,1)

Definition at line 13 of file stftlab4.m.