Open shuttle1987 opened 6 years ago
That would be good but I agree with your labelling this low-priority. Calling sox for now is fine.
I guess one thing is that sox may be a whole lot faster depending on how the standard library wave module is implemented. This might be a good first issue for someone to contribute?
Sure, since it's pretty orthogonal to everything else.
It seems as though Kaldi needs sox anyway
I think this might be a situation where it makes sense to use this standard library function as a fallback only if sox is not available.
If desired we could implement a pure python standard library only version of functions like
trim_wav_ms
by using thewave
module https://docs.python.org/3/library/wave.html