-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added metadata event based on mic info #23
base: master
Are you sure you want to change the base?
Conversation
Isn't the volume different left and right? If you want to return stereo signals? |
@@ -51,6 +51,11 @@ micInputStream.on('data', function(data) { | |||
console.log("Recieved Input Stream: " + data.length); | |||
}); | |||
|
|||
micInputStream.on('metadata', (metadata) => { | |||
console.log('metadata', metadata); | |||
//metadata { in: 0, timestamp: 22890, timestamp2: 0, out: 365, volume: 0, hd: 0, clip: 8 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the commented line
if(debug) { | ||
audioProcessOptions.stdio[2] = 'pipe'; | ||
} | ||
audioProcessOptions.stdio[2] = 'pipe'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you removing this from within the debug flag?
@xavicolomer are you going to work on this PR? |
Added metadata information on Mic information
This will provide information about Volume, timestamp, in, out, etc...
Debug Info
Parsed Metadata: