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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -