updated with Codec Zero

This commit is contained in:
cpu
2023-12-09 03:22:35 +01:00
parent 74aea45d73
commit 00e3d27774

View File

@@ -12,7 +12,7 @@ Hardware
- Buttons connected to the Raspberry pi GPIO as shown in the schema to debounce noisy contacts
![dog-trainer-schema](assets/dog-trainer-schema.png)
- USB speaker with a microphone e.g. [Jabra Speak 410](https://www.jabra.com/_/media/Jabra_VXi_Product-Documentation/Jabra-SPEAK-410-Series/technical-specifications/RevB/Jabra-Speak-410-Techsheet-A4-290420-Web.pdf)
- USB speaker with a microphone e.g. [Jabra Speak 410](https://www.jabra.com/_/media/Jabra_VXi_Product-Documentation/Jabra-SPEAK-410-Series/technical-specifications/RevB/Jabra-Speak-410-Techsheet-A4-290420-Web.pdf) or [Codec Zero](https://www.raspberrypi.com/products/codec-zero/)
- microSD card 8GB
@@ -57,8 +57,9 @@ First try using default audio device for playback and recording. Edit `dog-train
Skip to the next section `Run it!`. If either playback or recording does not work check your sound cards
> `aplay -L | grep ^hw:CARD=`
`arecord -L | grep ^hw:CARD=`
If your sound device is other then `USB` then change the line `card USB` in ALSA config
Put your sound device name `card USB` or `card Zero` into ALSA config file
> `nano .asoundrc`
Install the ALSA config file
@@ -101,3 +102,6 @@ Launch soundcard mixer
> `alsamixer`
Press F6 to select a soundcard. Find your USB sound device in the list e.g. `Jabra Speak 410 USB`. Press F4 and use up/down arrow keys to set recording volume and repeat also for the playback (F3). Make sure it is not muted. Press (m) to toggle mute. Press ESC to exit.
Make it survive after the restart
> `sudo alsactl store`