noisereduce
noisereduce copied to clipboard
MemoryError Traceback (most recent call last)
MemoryError Traceback (most recent call last) MemoryError: Unable to allocate 85.3 GiB for an array with shape (190747, 60002) and data type float64
I try simple usage same like on README.md but I have that error My audio duration is just 4.3 second
Thank you
I had a problem like this and solved it changing my audio to mono.
aud_seg = AudioSegment.from_wav(wav_filename)
aud_seg = aud_seg.set_channels(1)
aud_seg.export(wav_filename, format="wav")
We should probably raise a warning or an error somewhere when people are inputting data with too many channels, or where data is transposed.