updated with Codec Zero
This commit is contained in:
12
README.md
12
README.md
@@ -12,7 +12,7 @@ Hardware
|
|||||||
- Buttons connected to the Raspberry pi GPIO as shown in the schema to debounce noisy contacts
|
- Buttons connected to the Raspberry pi GPIO as shown in the schema to debounce noisy contacts
|
||||||

|

|
||||||
|
|
||||||
- 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
|
- microSD card 8GB
|
||||||
|
|
||||||
@@ -56,9 +56,10 @@ First try using default audio device for playback and recording. Edit `dog-train
|
|||||||
> `nano dog-trainer.py`
|
> `nano dog-trainer.py`
|
||||||
|
|
||||||
Skip to the next section `Run it!`. If either playback or recording does not work check your sound cards
|
Skip to the next section `Run it!`. If either playback or recording does not work check your sound cards
|
||||||
> `aplay -L | grep ^hw:CARD=`
|
> `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`
|
> `nano .asoundrc`
|
||||||
|
|
||||||
Install the ALSA config file
|
Install the ALSA config file
|
||||||
@@ -100,4 +101,7 @@ Set volume for playback and recording
|
|||||||
Launch soundcard mixer
|
Launch soundcard mixer
|
||||||
> `alsamixer`
|
> `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.
|
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`
|
||||||
Reference in New Issue
Block a user