Skip to content

Commit

Permalink
Removed more verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonjesus committed Oct 11, 2017
1 parent dbb60bc commit 1d761d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ detector.on('silence', function () {
detector.on('sound', function (buffer) {
// <buffer> contains the last chunk of the audio that triggers the "sound"
// event. It could be written to a wav stream.
console.log('sound');
//console.log('sound');
});

detector.on('error', function () {
Expand All @@ -35,7 +35,7 @@ detector.on('hotword', function (index, hotword, buffer) {
// event. It could be written to a wav stream. You will have to use it
// together with the <buffer> in the "sound" event if you want to get audio
// data after the hotword.
console.log(buffer);
//console.log(buffer);
console.log('hotword', index, hotword);
});

Expand Down

0 comments on commit 1d761d5

Please sign in to comment.