As the title suggests I'm trying to build two ledbars that'll hook up to my airplay sound system at home. I just ordered all of the things I think I need for a basic prototype. There is just one thing that I can't figure out right now, I've found this library to receive the music to a raspberry pi:
https://github.com/mikebrady/shairport-sync. This library will setup an airplay server and receive the audio but I don't want to play it, I just want to analyse it with FFT or something and send the intensity of the lower frequencies to the led bars via wifi to update the lights.
My problem is that I can't find a way to analyse the sound being played, there are a few output methods that the airplay library can use but I don't know how they work. I've searched a lot around the web to find something but I don't seem to find anything useful. Do you have any advice on where to look?
Thanks in advance and sorry if I'm posting this to the wrong place, I'm rather new to this.
