Question about y_frames computed in librosa.core.spectrum.stft() function
See original GitHub issueDescription
I noticed that y_frames
in librosa.core.spectrum.stft() is computed by
y_frames = util.frame(y, frame_length=n_fft, hop_length=hop_length)
when win_length
is smaller than n_fft
(for example, in asr task, win_length
=400, n_fft
=512) and center
flag is False
, it seems got fewer frames than expected(often missing last frame).
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
librosa.stft — librosa 0.10.0.dev0 documentation
The STFT represents a signal in the time-frequency domain by computing discrete Fourier transforms (DFT) over short overlapping windows. This function returns a ......
Read more >Getting the frequencies associated with STFT in Librosa
I would like to point out this question and answer in particular: How do I obtain the frequencies of each value in an...
Read more >How does the plot of the output of librosa.stft work? - Kaggle
So, I have been analyzing audio data. I used the librosa package and used its .stft() function to calculate the Fourier transform of...
Read more >window - How to deal with overlap in STFT when considering ...
How do I produce a single channel audio file, with the highest energy per window? For reproduction: I am using librosa.core.stft for the...
Read more >some question about librosa stft - Google Groups
if sample_rate value set 10000, stft method n_fft parameter set 100, ... to STFT bands, librosa.fft_frequencies() will compute that for you.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, thanks a lot.
I see, I just supposed that
nfft
is length of padded frame, not real frame length, and for speech recognition task(see kaldi:feature-window.cc:54), number of frames is computed byinstead of
and
frame_length
is always equal towin_length
.