ruby-noise-detection
ruby-noise-detection copied to clipboard
Unable to test the noise detection
Hello,
First of all, thank you for providing a script like this :)
I installed every dependances needed, and I tested the noise detection script with the following command:
./noise-detection-.rb -t 0
i used the built-in soundcard, that's why I wrote the 0
Here is the result of this command:
./noise_detection.rb:162: warning: assigned but unused variable - rec_out ./noise_detection.rb:174: warning: assigned but unused variable - value ./noise_detection.rb:44: warning: File.exists? is a deprecated name, use File.exist? instead ./noise_detection.rb:49: warning: File.exists? is a deprecated name, use File.exist? instead ./noise_detection.rb:54: warning: File.exists? is a deprecated name, use File.exist? instead Testing soundcard... /usr/bin/sox FAIL formats: can't open input `-': WAVE: RIFF header not found
I searched on the web and, as the error suggests, it comes from sox, but I have no idea how to fix this.
Vincent
Hello, it's the same for me here. I am getting this error too.
Janek