Raspberry PI - Speaker pHAT

OS/Raspberry Pi 2017.02.12 19:35 Posted by 파란크리스마스

Speaker pHAT

출처 : https://shop.pimoroni.com/products/speaker-phat
Setting up pHAT DAC
Pi VU Meter ( ALSA Plugin to display a VU meter on various Raspberry Pi add-ons )
Raspberry Pi Zero Streaming Airplay using Speaker pHAT - YouTube

자동 설치

$ curl https://get.pimoroni.com/phatdac | bash

Pi VU Meter 설치

출처 : Pi VU Meter ( ALSA Plugin to display a VU meter on various Raspberry Pi add-ons )

$ git clone https://github.com/pimoroni/pivumeter.git
$ cd pivumeter
$ setup.sh blinkt

수동 설치

$ git clone https://github.com/pimoroni/speaker-phat
Cloning into 'speaker-phat'...
remote: Counting objects: 128, done.
remote: Total 128 (delta 0), reused 0 (delta 0), pack-reused 128
Receiving objects: 100% (128/128), 114.17 KiB | 23.00 KiB/s, done.
Resolving deltas: 100% (39/39), done.
Checking connectivity... done.
$ cd speaker-phat
$ sudo ./setup.sh
 
This script will install everything needed to use
Speaker pHAT
 
--- Warning ---
 
Always be careful when running scripts and commands
copied from the internet. Ensure they are from a
trusted source.
 
Checking for required packages...
Enabling I2C interface...
 
Installing ALSA plugin...
 
Configuring sound output...
 
Adding Device Tree Entry to /boot/config.txt
dtoverlay=i2s-mmap
dtoverlay=hifiberry-dac
 
Commenting out Blacklist entry in
/etc/modprobe.d/raspi-blacklist.conf
 
Disabling default sound driver
 
All done!
 
Enjoy your Speaker pHAT!
 
Some changes made to your system require
your computer to reboot to take effect.
 
Would you like to reboot now? [y/N]
$ sudo shutdown -r now

플레이어 설치

출처 : GUI based MP3 players

$ apt-get install lxmusic