Volumio2 equalizer plugin

Greetings & thank you for this plug-in first of all.

Furthermore, please excuse my ignorance since I’ve never used Linux, RPI or anything similar.

I wanted to ask, is it possible to add custom bands ?
Maybe by modifying some lines with Notepad++ of the zip file and installing it after.

Or in order to change bands you have to do it through linux terminal after installation ?

Thank you in advance for any answers.

Hi,
preset are hardcoded in index.js of the plugin and UIconfig.json.
If your are familiar with ssh, node, what you can do is to change values to match with your need, but not the name.
near line 135, you’ll find :

if (self.config.get('enablemyeq') == false) { if (self.config.get('eqprofile') === 'flat') scoef = "60,60,60,60,60,60,60,60,60,60" else if (self.config.get('eqprofile') === 'loudness') scoef = "67,60,50,50,42,50,46,39,65,50" else if (self.config.get('eqprofile') === 'rock') scoef = "67,62,60,55,49,46,53,58,62,64" else if (self.config.get('eqprofile') === 'classic') scoef = "66,62,60,59,45,49,58,60,62" else if (self.config.get('eqprofile') === 'bass') scoef = "68,67,69,60,46,50,51,53,52" else if (self.config.get('eqprofile') === 'voice') scoef = "31,36,40,51,63,79,73,67,53,52" else if (self.config.get('eqprofile') === 'soundtrack') scoef = "65,75,70,60,60,70,70,70,60,70" } else scoef = self.config.get('coef')
change the values you want… But a wrong entry may result as a non usable plugin, or even prevent volumio to start… You’ll be warned :wink:

Thank you for the help but I guess I wasn’t clear or don’t understand your answer correctly.

What I’d like to do is change the frequency of the bands, for example 84Hz, 117Hz, 14kHz etc.

equalizer-volumio.jpg

Hello,
I use Volumio 2 (2.296) from a 1600x900 laptop.
How to have all the settings on the same horizontal line?
Thank you
jp

(Sorry for my english is google translate)

Can you add 2 presets “My Preset1”, “My Preset2”?
That way via ssh we can memorize them to our liking.
I know, I’m abusing you. Sorry.

@jppmedia
This behavior is due to volumio itself… It will be probably change in the future, but this not in the plugin side… A small workaround is to reduce the size of the page in your browser… :wink:

@danielfelix
I looking for a easy way to add custom preset… Even if add via ssh is the easiest way for me :wink: I don’t think many users will like it! It needs (IMHO) to be done in the webUI.
And I appreciate your suggestion! :wink:

I uploaded a new version with the possibility of adding 3 custom preset…
You have to save your value via ssh in /data/configuration/miscellanea/volsimpleequal/config.json

{ "mypreset1": { "type": "string", "value": "60,60,60,60,60,60,60,60,60,60" }, "mypreset2": { "type": "string", "value": "60,60,60,60,80,60,60,60,60,60" }, "mypreset3": { "type": "string", "value": "60,60,60,60,60,60,60,60,60,60" },
And after in the webUI select the setting you want to use :wink:

You are a genious!
Try it.

I’ll add something in the webUi more convenient…
Edit don’t forget to restart volumio when you enter new values. Killall node is your friend…

@balbuza, Should I add those lines to the existing ones in config.json?

forget my previous post and download last version… :wink:
surprise :smiley: !
no more ssh !
(not perfect, but more convenient)
volsimpleequal-preset.png

I insert the parameters of MyPreset1,2,3, and Save.
Setting Preset = Off, I choose MyPreset1, Apply, the interface is restarted, the sound is cut off for a moment, then everything returns to normal but … all the configuration was lost, it returns Custom … = On and the saved values from MyPreset1,2,3. got lost
What do I do wrong?

I can’t check now. Maybe I made something wrong when I uploaded the version. Tomorrow is a new day…

All my recognition to your work. A pleasure to help you test your work. I know how complicated the development of any application is.
Regards
Daniel

Hi,
I made a fresh install of volumio on a rpi2 and last version of the plugin and everything works as expected…
Maybe delete the configuration file of the plugin :

 rm /data/configuration/miscellanea/volsimpleequal/config.json

let me know…

New version for custom preset.
To make it more convenient, I have added sliders for each preset. No the more elegant way, but efficient…
github.com/balbuze/volumio-plug … eequal.zip
volsimpleequalpresetsliders.jpg

Perfect, I uninstalled, I removed config.json, I reinstalled and it worked perfect. I see the MyPreset parameters in config.json.
Maybe you should delete that file when uninstalling.
Regards

Daniel

done in version 0.2.5 ! :wink:

Genious!

Hi!
Surprise ! :smiley:
volsimpleequal jumps from 0.2.3 to 0.3.0 !
Guess why ?
Because it is now based on mbeq, a 15 bands equailzer using FFT. More CPU but higher quality.
Please test and let me know !
very ugly display ! Please @Michelangelo help if you read ! :wink:
volsimpleequal15bands.jpg