캡처 하드웨어 기기 목록에서 USB 마이크를 찾습니다. 쓰기
카드 번호와 기기 번호를 누릅니다.
arecord -l
재생 하드웨어 기기 목록에서 스피커를 찾습니다. 기록
카드 번호와 기기 번호가 나와 있습니다. 3.5mm 잭은 일반적으로
Analog 또는 bcm2835 ALSA (bcm2835 IEC958/HDMI 아님)로 라벨이 지정됨
aplay -l
홈 디렉터리 (/home/pi)에 .asoundrc라는 새 파일을 만듭니다. 제조업체
마이크와 스피커에 대한 올바른 슬레이브 정의가 있는지 확인합니다. 사용
<card number> 및 <device number>를 다음으로 바꿉니다.
이전 단계에서 적어 두었던 숫자입니다. 다음 두 가지 모두에 대해 이 작업을 수행하세요. pcm.mic
및 pcm.speaker
[null,null,["최종 업데이트: 2024-08-22(UTC)"],[[["The Google Assistant Library for Python is deprecated; use the Google Assistant Service instead."],["This guide provides instructions to configure audio on Raspberry Pi for use with Google Assistant."],["Users need to identify and configure their microphone and speaker devices using provided commands."],["Verify audio setup by testing playback and recording functionalities with given commands."],["Upon successful audio configuration, proceed to configure a developer project and account settings."]]],["The content outlines configuring audio for hardware, specifically on a Raspberry Pi. Key actions include identifying microphone and speaker devices using `arecord -l` and `aplay -l`, and noting their card and device numbers. Then create `.asoundrc` file and update it with specific hardware details. Users then verify audio functionality by adjusting volume using `alsamixer`, testing playback with `speaker-test`, and testing recording using `arecord` and `aplay`. Lastly a command `sudo raspi-config` is suggested to choose the audio output.\n"]]