오디오 구성 및 테스트
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
<ph type="x-smartling-placeholder">
이 페이지의 콘텐츠는 하드웨어에 따라 다릅니다. 다음 중에서 선택하세요.
<ph type="x-smartling-placeholder"></ph>
샘플을 실행하기 전에
Raspberry Pi입니다.
녹화 및 재생 기기를 찾습니다.
캡처 하드웨어 기기 목록에서 USB 마이크를 찾습니다. 쓰기
카드 번호와 기기 번호를 누릅니다.
arecord -l
재생 하드웨어 기기 목록에서 스피커를 찾습니다. 기록
카드 번호와 기기 번호가 나와 있습니다. 3.5mm 잭은 일반적으로
Analog 또는 bcm2835 ALSA (bcm2835 IEC958/HDMI 아님)로 라벨이 지정됨
aplay -l
홈 디렉터리 (/home/pi)에 .asoundrc라는 새 파일을 만듭니다. 제조업체
마이크와 스피커에 대한 올바른 슬레이브 정의가 있는지 확인합니다. 사용
<card number> 및 <device number>를 다음으로 바꿉니다.
이전 단계에서 적어 두었던 숫자입니다. 다음 두 가지 모두에 대해 이 작업을 수행하세요. pcm.mic
및 pcm.speaker
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(UTC)"],[],["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"]]