New feature - add a spectrum?

I’ve tried to get mopidy work with respeaker which is a new hardware with mips based mt7688 cpu and runs openwrt. It works great. There are 12 on-board rgb leds on respeaker. I would like to make the leds’ lights follow the playing music like a spectrum.

There are a gstreamer plugin named spectrum we can use to supply spectrum data of the playing music. We can add the spectrum plugin to the playbin plugin as an audio filter. I tried it with https://github.com/respeaker/Music_Visualizer/blob/master/player_with_spectrum.py#L41

To add the spectrum plugin to mopidy, we can add some code to https://github.com/mopidy/mopidy/blob/develop/mopidy/audio/actor.py#L228

Does anyone else would like to have a spectrum with mopidy? What’s the best way to add the spectrum feature to mopidy?