Hello!!
Hopefully I am in the right spot; I am new to Pi so apologise if I make less sense than usual.
I can’t get PHAT BEAT to work… tried pretty many times including reinstalling OS
Thank you!!
What I have
I have a new Pi 4. all upgraded, sound using headphones works well.
I have installed PHAT BEAT, the soldering looks ok, nothing seems too bad (maybe I’ve been too kind to my work).
Installing PHAT BEAT as per the manual seems fine (no errors)
https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-phat-beat
observations
- The LEDs work randomly… if I power-off/on different LEDs will light up
- If I enable Audio (dtparam=audio=on) in /boot/config.txt and I select Analog “speaker-test -c2 -t wav” will make a sound
- tried both speakers, left and right (and also both ways, red cable first and second)
The configs
COMMAND
/boot/config.txt
#Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
dditional overlays and parameters are documented /boot/overlays/README
#Enable audio (loads snd_bcm2835)
#dtparam=audio=on
[pi4]
#Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
#NOOBS Auto-generated Settings:
dtoverlay=i2s-mmap
dtoverlay=hifiberry-dac
enable_uart=1
dtoverlay=w1-gpio
COMMAND
/etc/asound.config
pcm.!default {
type plug
slave.pcm “softvol_and_pivumeter”
}
ctl.!default {
type hw
card 0
}
pcm.pivumeter {
type meter
slave.pcm “hw:0,0”
scopes.0 pivumeter
}
pcm.softvol_and_pivumeter {
type softvol
slave.pcm “pivumeter”
control {
name “PCM”
card 0
}
}
pcm_scope.pivumeter {
type pivumeter
decay_ms 500
peak_ms 400
brightness 128
output_device phat-beat
}
pcm_scope_type.pivumeter {
lib /usr/local/lib/libpivumeter.so
}
pcm.dsp0 pivumeter
COMMAND
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
pivumeter
softvol_and_pivumeter
default
Playback/recording through the PulseAudio sound server
output
sysdefault:CARD=b1
bcm2835 HDMI 1, bcm2835 HDMI 1
Default Audio Device
dmix:CARD=b1,DEV=0
bcm2835 HDMI 1, bcm2835 HDMI 1
Direct sample mixing device
dsnoop:CARD=b1,DEV=0
bcm2835 HDMI 1, bcm2835 HDMI 1
Direct sample snooping device
hw:CARD=b1,DEV=0
bcm2835 HDMI 1, bcm2835 HDMI 1
Direct hardware device without any conversions
plughw:CARD=b1,DEV=0
bcm2835 HDMI 1, bcm2835 HDMI 1
Hardware device with all software conversions
usbstream:CARD=b1
bcm2835 HDMI 1
USB Stream Output
sysdefault:CARD=Headphones
bcm2835 Headphones, bcm2835 Headphones
Default Audio Device
dmix:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct sample mixing device
dsnoop:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct sample snooping device
hw:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Direct hardware device without any conversions
plughw:CARD=Headphones,DEV=0
bcm2835 Headphones, bcm2835 Headphones
Hardware device with all software conversions
usbstream:CARD=Headphones
bcm2835 Headphones
USB Stream Output
sysdefault:CARD=sndrpihifiberry
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Hardware device with all software conversions
usbstream:CARD=sndrpihifiberry
snd_rpi_hifiberry_dac
USB Stream Output
photo