projectM-visualizer / projectm

projectM - Cross-platform Music Visualization Library. Open-source and Milkdrop-compatible.
https://discord.gg/mMrxAqaa3W
GNU Lesser General Public License v2.1
3.22k stars 364 forks source link

Support Poweramp Visualizer (PowerMilk) spectrum bars effect #720

Open kblaschke opened 10 months ago

kblaschke commented 10 months ago

The Poweramp player for Android supports Milkdrop presets, but added an additional "spectrum bars" effect with different rendering styles. This effect doesn't seem to be scriptable via expressions, it only has a bunch of parameters which may or may not be changed via per-frame/init expressions (TBD). We might be able to reimplement the effect in projectM to support "PowerMilk" presets.

Example ZIP with demo presets: Powermilk_Spectrum_Presets.zip

Documentation for the "bars" effect is here: https://github.com/maxmpz/powerampapi/tree/master/poweramp_vis_presets_example#poweramp-milk-format-extensions

Some screenshots can be found in the Poweramp forums: https://forum.powerampapp.com/topic/15442-poweramp-visualization/

OfficialIncubo commented 10 months ago

Still had this feature in my mind several months ago and i didn't want to create an issue on my BeatDrop improvement.

...and a nice feature that will be integrated in both Milkdrop and projectM. Plus, it needs to be added as a preset editor option too.

But, where can I find the source code of the PowerAmp's Spectrum Bars Feature?

kblaschke commented 10 months ago

PowerAmp is closed source, the author wrote his own reimplementation of Milkdrop. So we can either ask Maxim for details on that feature or we'd have to reverse-engineer it from looking at the rendering output if we can't get any technical details. Shouldn't be too complicated though.

OfficialIncubo commented 8 months ago

Oh. I forgot that I have asked the feature on Discord 1 year ago. Check here: https://discord.com/channels/737206408482914387/738468377168707634/962737116503224340