I need to build an audio player with a web based control panel/interface. The Pi audio jack would drive an amp and a webpage hosted on the Pi would control the audio playback.
The complication is the webpage must display an audio waveform of the file that shows the play position in real time. I actually have https://wavesurfer-js.org working on my Pi and can play audio via IP to the browser on my PC. I just need the audio to also play out the audio jack.
This should happen in sync with the audio played via the web. If I pause, jog or restart the audio from the web browser the audio output to the jack will remain in sync with those commands.
I'd really appreciate any suggestions on techniques/technologies I might use to accomplish this. Thanks!