node-red / node-red-ui-nodes

Additional nodes for Node-RED Dashboard
Apache License 2.0
117 stars 81 forks source link

Update ui_microphone.js #57

Closed theoneandonly-vector closed 3 years ago

theoneandonly-vector commented 3 years ago

Types of changes

What types of changes does your code introduce? add 2nd output which tells the state "started" & "stopped"

-->

Proposed changes

I created a voice control-application which needs to mute another device as soon as the voice-recognition starts.

Checklist

knolleary commented 3 years ago

For this type of feature, we'd prefer to use the node status to indicate if it is recording or not instead of adding a second output.

dceejay commented 3 years ago

OK to close ? -as we aren't going to implement a 2nd output as per this change.

theoneandonly-vector commented 3 years ago

I'm going to create a new one using status