The following are the steps to be performed:
- A push button is interfaced to the Raspberry Pi Zero's GPIO. When the GPIO button is pressed, the recorder is turned on (at the start of a beep sound from the speaker).
- The recorder accepts the user request and processes it using the Houndify library.
- The assistant processes the audio file using Houndify and responds to the user request.
In this project, we are using a push button to start listening to user requests, whereas commercially available products, such as Amazon's Echo or the Google Home, have special hardware (along with software) to enable this capability. We are using a push button to simplify the problem.