If you must use PLC, choose a PLC with analog input to amplify and transmit the music signal to PLC, and PLC can judge the strength and rhythm of music according to the analog input signal. Through PLC programming, you can realize the effects of running water lamp speed control, light flashing with music rhythm, running water lamp chasing, and you can also create your own patterns.
Of course, a low-cost single chip microcomputer can also do it.