stft_primer_ejemplo.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 stft_primer_ejemplo.m.

Definition at line 1 of file stft_primer_ejemplo.m.

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

Definition at line 8 of file stft_primer_ejemplo.m.

Definition at line 1 of file stft_primer_ejemplo.m.

analysis window size N2 = N/2+1

Definition at line 6 of file stft_primer_ejemplo.m.

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

Definition at line 10 of file stft_primer_ejemplo.m.

half analysis window size pin = 1+hM

Definition at line 9 of file stft_primer_ejemplo.m.

size of positive spectrum soundlength = length(x)

Definition at line 7 of file stft_primer_ejemplo.m.

initialize output array w = w/sum(w)

Definition at line 1 of file stft_primer_ejemplo.m.

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

Definition at line 1 of file stft_primer_ejemplo.m.

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

Definition at line 12 of file stft_primer_ejemplo.m.