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 -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -