If you need to look only at volume spikes, then install VUmeter and configure it to execute certain commands when volume spikes - and code your LED application to be executable from outside. Then, instead of repeating work done in VUmeter, you will make your application integratable with others.
A question: can you add second column of buttons - or an easy switch between white LEDs and red LED - with the same functionality for red LED?