stft2.m File Reference

Go to the source code of this file.

Variables

function y
 
function w = w/sum(w)
 
function N
 
function H
 
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 in 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)
 

Variable Documentation

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

Definition at line 11 of file stft2.m.

Definition at line 1 of file stft2.m.

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

Definition at line 8 of file stft2.m.

Definition at line 1 of file stft2.m.

analysis window size N2 = N/2+1

Definition at line 6 of file stft2.m.

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

Definition at line 10 of file stft2.m.

half analysis window size pin = 1+hM

Definition at line 9 of file stft2.m.

size of positive spectrum soundlength = length(x)

Definition at line 7 of file stft2.m.

initialize output array w = w/sum(w)

Definition at line 1 of file stft2.m.

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

Definition at line 1 of file stft2.m.

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

Definition at line 12 of file stft2.m.