Hello, I'm looking for a program (or a trick) that would vary the voltage of a pump automatically according to the frequency of sound emitted (a YouTube video for example).
The project is that the water fountain takes a certain height depending on the music, here, low = 20cm, average = 30cm and acute = 40cm
There is a total of 3 frequency bands ("low" between 0 and 400 Hz, "average" between 400 and 2500 Hz and "acute" between 2500 and 16000 Hz)
If someone have the solution to my problem I am a taker, thank you