I'm trying to detect the BPM of an Icecast MP3 stream using Liquidsoap, but I'm having trouble getting it to work.
My Dockerfile:
FROM savonet/liquidsoap:8101608
# Copy the script into the image
COPY script.liq /usr/src/app/script.liq
# Set the command to run the script
CMD ["liquidsoap", "/usr/src/app/script.liq"]
I want to use the function mentioned here: https://www.liquidsoap.info/doc-dev/reference#bpm. If that is not possible i can just add additional dependencies to the dockerfile.
It would be nice if the bpm is saved to a local file every 10 seconds. I think its just a few lines of code but im completely new to liquidsoap and the documentation is not really beginner friendly.
Thanks for any help!