반응형
AIY Voice Kit 은 구글에서 개발자들이 AI 서비스를 개발하기 위한 DIY Kit 이다. 드라이버등이 설치되어 있는 Raspbian Linux 기반 Image를 제공하지만, 다음 처럼 직접 드라이버를 설치할 수 있다.
1. Driver 다운로드
https://github.com/google/aiyprojects-raspbian
에서 git clone 으로 소스를 다운로드 한다.
2. Driver Install
cd aiyprojects-raspbian/script 로 script로 들어가서
sudo configure-driver.sh
sudo install-alsa-config.sh
install-service.sh
로 드라이버를 설치한다. (install-deps 은 demo 소스 코드를 동작시키기 위한 필요 패키지들을 설치한다.)
3. Reboot 및 확인
rebooting 하고 aplay -l (Playback device) 및 arecord -l(Capture device) 로 다음과 같이 나오는지 확인한다.
4. Record & Play
arecord test.wav 로 녹음하고 녹음한 wave 파일을 aplay test.wav 로 스피커로 출력 가능하다.
반응형