physics - Relationship between raw audio and corresponding spectrogram length -


i want cut piece of audio smaller pieces of length x. constraint that, after performing stft on pieces, spectrograms should have exact length y. knowing sample rate, how can figure out how long raw audio pieces need be?

edit: ok, know stride, window_size , sample_rate of stft function. want write equation like

 size_spectrogram = alpha * size_input_audio. 

what relationship can use?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -