Go Down

Topic: Vary the voltage of a water fountain pump according to the frequency (Read 2396 times) previous topic - next topic

antoine44

Apr 13, 2018, 10:36 pm Last Edit: Apr 13, 2018, 10:57 pm by antoine44 Reason: There is a lot of englsih
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 :)

Johan_Ha

If the sound source is music, there's not one frequency present, but several.
____________________

If you ask for help and write 'u' instead of 'you' because you think it's convenient, I will write 'no' instead of 'yes'. For same reasons.

Tomeks1972

I think you should use the Fast Fourier Transform (a library) to split music signal into required frequency ranges.

Go Up