You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user passes in a folder of audio files, minutes loads all of them in, concatenates them, then reshapes them into phrases. There is an edge case where some of the audio in the folder has a different sample rate. We need to handle that case or throw errors.
If a user reads in audio files with different sample rates, our observation lengths begin to differ, and we cannot learn. One fix for this is to resample the audio to a common rate (say 44000, or some user specified number).
When a user passes in a folder of audio files,
minutes
loads all of them in, concatenates them, then reshapes them into phrases. There is an edge case where some of the audio in the folder has a different sample rate. We need to handle that case or throw errors.minutes/minutes/audio.py
Lines 25 to 27 in cf7deaa
The text was updated successfully, but these errors were encountered: