stpt2.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
 
 N2 =N/2+1
 
 soundlength =length(x)
 
 hM =(M-1)/2
 
Pointers pin =1+hM
 
 pend =soundlength-hM
 
Initialize buffers fftbuffer =zeros(N,1)
 
 yw =zeros(M,1)
 
Analysis Synthesis windows sw =hanning(M)
 

Variable Documentation

Initialize buffers fftbuffer =zeros(N,1)

Definition at line 18 of file stpt2.m.

Definition at line 1 of file stpt2.m.

hM =(M-1)/2

Definition at line 11 of file stpt2.m.

Definition at line 1 of file stpt2.m.

N2 =N/2+1

Definition at line 9 of file stpt2.m.

pend =soundlength-hM

Definition at line 15 of file stpt2.m.

Pointers pin =1+hM

Definition at line 14 of file stpt2.m.

soundlength =length(x)

Definition at line 10 of file stpt2.m.

sw =hanning(M)

Definition at line 23 of file stpt2.m.

Definition at line 1 of file stpt2.m.

w =w./sum(w)

Definition at line 1 of file stpt2.m.

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

Definition at line 1 of file stpt2.m.

yw =zeros(M,1)

Definition at line 19 of file stpt2.m.