Explore related resources

Find more information about the topics in this Learning Path:

Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I know the microphone recording worked?
After recording by running arecord -d 5 test.wav, a file named test.wav should appear in your current directory. Its size should be non-zero.
Which wake word should I use, and how do I know the bot is listening?
Say “computer”, pause for about a second, then ask your question. The terminal displays output indicating it’s waiting for the keyword before it detects the wake word.
How do I re-activate the Python virtual environment in a new terminal?
Run cd $HOME/assistant followed by source env/bin/activate. Then run python main.py to start the assistant.
How do I find the card and device numbers for my USB audio hardware?
Run arecord -l to list recording devices and aplay -l to list playback devices. Use the card and device numbers in commands such as arecord -D plughw:3,0 -d 5 test.wav and aplay -D plughw:2,0 test.wav, replacing the values with your hardware’s numbers.
How do I stop the application when I am done testing?
Press Ctrl+C in the terminal where python main.py is running. The process exits and the prompt returns.

Share

Tell others about this Learning Path.

Return to Embedded and Microcontrollers