If you want to change your playback / recording device (also because the default setting doesn't work for you), you can do that in the configuration file. If you installed into /opt as recommended, it is /etc/opt/AlexaPi/config.yaml. If you installed elsewhere, the file config.yaml is in your AlexaPi/src directory.
You may need to adjust the volume and/or input gain for the microphone, you can do this with alsamixer.
Once the adjustments have been made, you can save the settings using alsactl store.
- To test playback, run
aplay /usr/share/sounds/alsa/Front_Center.wav - To rest recording, run