Author BT123
Recipients BT123, serhiy.storchaka
Date 2018-03-01.09:37:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519897073.07.0.467229070634.issue32056@psf.upfronthosting.co.za>
In-reply-to
Content
ok, I found this bug when I use librosa-0.5.1 to read audio file in the audio-classification project -- an ASR project. (https://github.com/nextco/audio-classification)

In the project, librosa.load function read audio file, and it called wave.open function finally. But all of the functions don't validate the audio file which lead to the project dividing by zero. 

Although the bug is easy and small, I think the bug should be fixed because there are so many python-library(such as librosa, audioread) use it without validation in more and more popular ASR project.

My program backtrace is as follow:
https://github.com/BT123/testcasesForMyRequest/blob/master/wave-1.png
https://github.com/BT123/testcasesForMyRequest/blob/master/wave-2.png
History
Date User Action Args
2018-03-01 09:37:53BT123setrecipients: + BT123, serhiy.storchaka
2018-03-01 09:37:53BT123setmessageid: <1519897073.07.0.467229070634.issue32056@psf.upfronthosting.co.za>
2018-03-01 09:37:53BT123linkissue32056 messages
2018-03-01 09:37:53BT123create