Skip to content

Update config in README#22

Open
dnicolson wants to merge 2 commits into
tom-s:masterfrom
dnicolson:update-readme
Open

Update config in README#22
dnicolson wants to merge 2 commits into
tom-s:masterfrom
dnicolson:update-readme

Conversation

@dnicolson

Copy link
Copy Markdown

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'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant