![]() ![]() pcm.!default ) The possible commands that you can send to the module:ĪLEXA_START_RECORDING : It will start recording, and if VAD is enabled will stop when the speech is end.ĪLEXA_STOP_RECORDING : It will stop recording, and send the recorded voice to AVS for getting directives. Installing microphone dependenciesĬonnect your usb microphone and find the devises with usingĬhange hw:0,0 and hw:1,0 with the output and input source corresponding. The button is used only to start recording.ĭo not forget to enable Raspberry Pi button in config. Raspberry Pi Button to start recordingīutton should be connected to GPIO pin 4. So if you run your mirror at your computer for testing, you should gather another code. Remember that each initial code can be used only once, then it's being converted to token by the module. You have to be registered to Amazon AVS service, and add MagicMirror as device with using your account in order to use Amazon Alexa service.Īfter following the steps you should be able to gather all the parameters required to run Alexa on the MagicMirror. The client secret which is generated at Amazon.Īdd alexaStart() and alexaStop() commands to the Javascript console.ĭisable voice activity detection(VAD), it's used to understand when the user stops speaking.Įnable starting to record with pressing button which is connected to GPIO.ġ. The client id which is generated at Amazon. The device id that you've created at Amazon. The following properties can be configured: Argument See 'Configuration options' for more information.ĪvsClientId: '', Position: 'top_right', // The status indicator position To use this module, add it to the modules array in the config/config.js file: modules: [ Alexa module allows MagicMirror to connect Amazon Alexa Voice Synthesis(AVS) service without requiring anything else. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |