clap-detector
clap-detector copied to clipboard
Update config in README
This pull request updates the config in the README to match the code in the config to prevent the following error:
/home/pi/node_modules/clap-detector/lib/index.js:177
throw err;
^
Error: Command failed: sox -t hw:1,0 /home/pi/input.wav silence 1 0.0001 5% 1 0.1 5% −−no−show−progress stat
sox FAIL sox: Not enough input filenames specified
at ChildProcess.exithandler (child_process.js:383:12)
at ChildProcess.emit (events.js:400:28)
at maybeClose (internal/child_process.js:1058:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:400:28)
at Pipe.<anonymous> (net.js:686:12) {
killed: false,
code: 1,
signal: null,
cmd: 'sox -t hw:1,0 /home/pi/input.wav silence 1 0.0001 5% 1 0.1 5% −−no−show−progress stat'
}