ruby-noise-detection icon indicating copy to clipboard operation
ruby-noise-detection copied to clipboard

Unable to test the noise detection

Open vchabot opened this issue 8 years ago • 1 comments

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

vchabot avatar Mar 26 '16 18:03 vchabot

Hello, it's the same for me here. I am getting this error too.

Janek

c0olix avatar Jan 14 '18 09:01 c0olix