Pirate radio


#1

is it possible to have the audio coming out of the phatdac but also use the vu meter and buttons of the phatbeat? :)


#2

You are pushing data out to the I2S pins, so I don’t think it matters what chip(s) are ‘listening’ at the other hand. i.e, I suspect you will get sound from both at the same time if you have speakers hooked to the pHAT BEAT. Disconnect them, and the sound will come out of the pHAT DAC only.


#3

ok thanks! imma sandwich the phatdac between the rpi and phatbeat using a long header, i shall report back!


#4

I’ve just tried and that is exactly right, you can have both plugged into the Pi that way and choose which source (or both) you’d like to use as output by conmecting/disconnecting cables to your amp/speaker(s).


#5

ok thats great! thanks a lot @RogueM :)


#6

i still need to install the driver for phatdac too or? i only installed phatbeat during the installer.


#7

no - they use the same dtoverlay, so if you have a functional pHAT BEAT then the only thing to do is fit the pHAT DAC onto the Pi (in place of, or in addition to).


#8

Excellent thanks muchly! 😁


#9

now if it could work out if a mini jack was connected to the phatdac and then disable the speaker that’d be ace!


#10

there would be zero way to do that, that I can think of… again you are pushing data to a couple of pins on the GPIO to the amp onboard the pHATs: if you want sounds at all you need to push that data out.

… therefore I’m not sure how that could be achieved, even if could assess whether a jack connector has been inserted into the pHAT DAC. Well, at least not without some external circuitry that cuts the signal to the speakers.


#11

Think I’ll just put a switch inline so I can just disable the speaker when
required then!


#12

is there a way to get the vu meter of the phatbeat to just match the dynamics of the song played and not the set volume? so that the leds are always lively even at low volumes?


#13

@gadgetoid has something in the pipeline to address this problem, but using the audio source dynamic is a very good idea… not sure it’s technically possible in the current implementation but Phil relishes challenges ;-)

… can you create a issue/request at https://github.com/pimoroni/pivumteter so we have a log somewhere?


#14

will do that thanks :)