I have installed a custom lighting system in my house (one of those rgb strip things) that has a webserver websocket on it. The only problem that remains is how to stream music through it so it can light up reacting to the music.
i would like to capture the audio coming out the speaker of an iOS device in html so i could then do some processing in html/javascript which in turn throw the processed data to the lighting system.
The browser can be chrome or safari. The music will be played by something like spotify. I understand that the browser must be active to continuely stream audio data, this is a comprimise im okay with.
What html / javascript / CSS APIs should i use to do this?