stft.m File Reference

Go to the source code of this file.

Variables

 function [mY, pY]
 
w __pad4__
 
w N
 
w 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 or reset buffer w = w/sum(w)
 
normalize analysis window nframes =mod(soundlength-hM,H)
 
 frame =1
 
 mY =zeros(N2,nframes)
 
 pY =zeros(N2,nframes)
 

Variable Documentation

w __pad4__

Definition at line 1 of file stft.m.

fftbuffer = zeros(N,1)

Definition at line 11 of file stft.m.

frame =1

Definition at line 14 of file stft.m.

Referenced by a64multi_encode_frame(), ac3_decode_frame(), add_frame(), add_timecode_metadata(), adpcm_decode_frame(), adx_decode_frame(), alac_decode_frame(), amrwb_decode_frame(), ape_decode_frame(), aqt_probe(), aqt_read_header(), atrac1_decode_frame(), atrac3_decode_frame(), audio_encode_example(), aura_decode_frame(), av_buffersink_set_frame_size(), av_buffersrc_add_frame(), av_frame_alloc(), avisynth_read_packet_video(), bfi_decode_frame(), brpix_decode_frame(), channel_decorrelation(), cmv_decode_frame(), cng_decode_frame(), config_input(), cook_decode_frame(), copy_samples(), cpia_decode_frame(), cyuv_decode_frame(), dca_decode_frame(), decode_bdlt(), decode_dds1(), decode_dsw1(), decode_frame(), decode_tag(), decode_thread(), decode_tsw1(), decode_wdlt(), dfa_decode_frame(), dirac_decode_frame_internal(), dnxhd_decode_frame(), dpcm_decode_frame(), dv_write_pack(), dv_write_packet(), eightsvx_decode_frame(), encode_frame(), encode_residual_ch(), escape124_decode_frame(), evrc_decode_frame(), ff_default_get_audio_buffer(), ff_default_get_video_buffer(), ff_filter_frame_framed(), ff_h264_fill_mbaff_ref_list(), ff_ivi_decode_frame(), ff_load_image(), ff_samples_to_time_base(), filter_frame(), flac_decode_frame(), flush(), g722_decode_frame(), g723_1_decode_frame(), g726_reset(), get_pts(), get_video_buffer(), gsm_decode_frame(), idcin_decode_frame(), ilbc_decode_frame(), imc_decode_frame(), init_frame(), ipvideo_decode_frame(), ipvideo_decode_opcodes(), join_request_frame(), lag_decode_frame(), lavfi_read_packet(), libcelt_dec_decode(), libgsm_decode_frame(), libopenjpeg_decode_frame(), libopenjpeg_encode_frame(), libopus_decode(), libspeex_decode_frame(), mace_decode_frame(), main(), microdvd_read_header(), mpc7_decode_frame(), mpc8_decode_frame(), mss2_decode_frame(), mv_read_packet(), mv_read_seek(), mxf_write_system_item(), oggvorbis_decode_frame(), output_frame_end(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcx_encode_frame(), predictor_calc_error(), qcelp_decode_frame(), qdm2_decode_frame(), ra144_decode_frame(), ra288_decode_frame(), raw_decode(), CustomSource::read(), read_packets(), request_frame(), rl2_decode_frame(), roq_encode_frame(), s302m_decode_frame(), shorten_decode_frame(), sipr_decode_frame(), smka_decode_frame(), source_request_frame(), Stagefright_close(), Stagefright_decode_frame(), sub2video_get_blank_frame(), sub2video_push_ref(), sub2video_update(), swf_read_packet(), tak_decode_frame(), tgq_decode_frame(), tgv_decode_frame(), tmv_decode_frame(), truespeech_decode_frame(), try_decode_frame(), tta_decode_frame(), twin_decode_frame(), uninit(), unpack_frame(), v4l2_read_packet(), vda_h264_end_frame(), video_decode_example(), video_encode_example(), video_thread(), vmd_read_packet(), vmdaudio_decode_frame(), vmdvideo_decode_frame(), vorbis_decode_frame(), vqa_decode_frame(), wavpack_decode_frame(), wma_decode_superframe(), worker(), write_frame_header(), ws_snd_decode_frame(), xan_decode_frame(), and xface_decode_frame().

function[mY, pY]
Initial value:
= stft(x, w, N, H)
% Analysis/synthesis of a sound using the short-time fourier transform
% x: input sound
w N
Definition: stft.m:1
FFT size for synthesis(even) H
Discrete Time axis x
initialize buffer for FFT or reset buffer w
Definition: stft.m:12
w H
Definition: stft.m:1
sound(x3, Fs)

Definition at line 1 of file stft.m.

w H

Definition at line 1 of file stft.m.

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

Definition at line 8 of file stft.m.

Definition at line 16 of file stft.m.

w N

Definition at line 1 of file stft.m.

analysis window size N2 = N/2+1

Definition at line 6 of file stft.m.

normalize analysis window nframes =mod(soundlength-hM,H)

Definition at line 13 of file stft.m.

Referenced by smush_read_header().

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

Definition at line 10 of file stft.m.

half analysis window size pin = 1+hM

Definition at line 9 of file stft.m.

Definition at line 17 of file stft.m.

size of positive spectrum soundlength = length(x)

Definition at line 7 of file stft.m.

initialize buffer for FFT or reset buffer w = w/sum(w)

Definition at line 12 of file stft.m.