onlaj / Piano-LED-Visualizer

Piano LED Visualizer: Connect an LED strip to your Raspberry Pi and create an immersive visual experience for your piano playing
MIT License
498 stars 107 forks source link

Save Raspberry pi settings? #402

Closed tutseryday closed 1 year ago

tutseryday commented 1 year ago

Hello,

Is there any way to save settings or changes? For instance I have a smaller keyboard and so I have to change the LED count and offset. But whenever I turn off my Raspberry Pi, the settings don't save and I have to manually change the LED count and offset every single time I turn on my Pi.

Any way to save settings? Thanks in advance

onlaj commented 1 year ago

Hey. I'm not sure what you mean by that. Does the settings resets to default after restart or you just need some kind of presets to easily switch between different pianos?

tutseryday commented 1 year ago

Sorry for not being clear. Yes it resets to default after each restart. Offset goes back to 0, LED count goes back to 176 after every restart

onlaj commented 1 year ago

Changes should be saved into "settings.xml" file. Did you manually install Visualizer or did you use image from releases?

If you are able to SSH into your RPi try this command:

sudo chmod a+rwx -R /home/Piano-LED-Visualizer/

It should allow Visualizer to make changes to files.

tutseryday commented 1 year ago

I installed it manually. I will try that, thanks for your assistance