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
Post a Comment