Ive been trying to integrate Alexa into my Bela Mini board for a little now following the instructions from the Octavo example (https://beagleboard.org/p/beaglefriends-octavosystems/pocketbeagle-alexa-0425b6). I got it to work with a USB mic and speaker. Now I wanted to reduce the large part count and use the speaker and mic that can be attached to the Bela. I followed these instructions to use the Bela ALSA and it works (https://forum.bela.io/d/1228-pocketbeagle-bela-mini-alsa-audio-codec-support).

The issue Im running into is that because the mic and speaker are on the same sound card, it causes issues with recording commands and playing messages. I tested with my USB mic and Bela speaker and that works fine.

Has any one been able to both play and record from the same sound card? This does not happen at the same time: button press -> record command (ie Whats the weather) -> play response from Alexa back -> press button stops play back -> ...... Im using the alsaaudio python library for recording audio and the MPyg321 python library for playing the mp3 I get back.

Thanks in advance!

    ifenta The issue Im running into is that because the mic and speaker are on the same sound card, it causes issues with recording commands and playing messages. I

    that shouldn't be a problem: the Bela ALSA driver can record and play at the same time. There may be something wrong in your code?