Processing, minim, Raspberry Pi and the PHat DAC, can they work together?

edited November 2016 in Raspberry PI

I'm working on some music visualization and I'm running in to an interesting problem.

I'm using minim to play the music while a simple visualization is running (see the example PlayASound that comes with minim). This works fine however the sound out on the Raspberry Pi is a bit weak so I want to boost the sound. One way for me to do this is to use the PHat DAC from Pimoroni (https://shop.pimoroni.com/products/phat-dac) since it provides a bit more volume.

To get the PHat DAC to work you need to comment out the line dtparam=audio=on in /boot/config.txt. Doing this disables the built in the ALSA audio on the Raspberry Pi. With this disabled any processing script will fail to load completely. Without the ALSA audio disabled sound will not get played through the PHat DAC.

Does anyone have any suggestions about where I might look for what might be causing the problem?

Please and thank you

Tagged:

Answers

Sign In or Register to comment.