Page 1 of 1

Where are Retrovol settings stored in Bionic64?

Posted: Tue Mar 16, 2021 5:43 am
by taersh

Hi.

After first time running Retrovol Mixer all settings like main volume, capture on/off etc.pp. are kept after e.g. a restart of X. They are also persistent stored between reboots etc. But all these settings are not stored into /root/.retrovolrc.

I want to make these settings persistent like in a save file, but without the use of save files.
So, where are these settings stored?


Re: Retrovol Settings?

Posted: Tue Mar 16, 2021 4:07 pm
by puddlemoon

hey there,
Is it /etc/asound.state you are looking for?


Re: Retrovol Settings?

Posted: Tue Mar 16, 2021 5:32 pm
by taersh

Sorry, but no.

Both of them - /etc/asound.conf and /etc/asound.state - are already stored persistent. I needed that to have the right sound card activated after booting without save file. Though, each time after reboot, I need to make the same settings in Retrovol over and over again. When using a save file etc. all Retrovol settings are persistent. But only position and size of window, as well as the volume slider connected to the task bar icon is stored in /root/.retrovolrc.

The /etc/asound.* stuff doesn't seem to have anything to do with that.


Re: Retrovol Settings?

Posted: Tue Mar 16, 2021 5:54 pm
by mikewalsh

@taersh :-

Rainer, I know this is a bit like teaching my grandmother to suck eggs, but.....wouldn't the easiest way simply be to build this into a re-master?

Mike. ;)


Re: Retrovol Settings?

Posted: Tue Mar 16, 2021 6:22 pm
by Grey

It's probably best to try asking the author at https://github.com/pizzasgood/retrovol
In september last year, a new version appeared there, which means the author is more or less active. Alternatively, you can look in source code where the settings are stored.
Although the new version caused me more questions than answers. But if I do not confuse it with another program, then retrovol itself does not store the sound settings, but takes them from alsa.


Re: Retrovol Settings?

Posted: Tue Mar 16, 2021 7:04 pm
by taersh
mikewalsh wrote: Tue Mar 16, 2021 5:54 pm

@taersh :-

Rainer, I know this is a bit like teaching my grandmother to suck eggs, but.....wouldn't the easiest way simply be to build this into a re-master?

Mike. ;)

Everything that would go into a remaster is stored at /initrd/pup_rw. I don't use remaster programs anymore. Instead I have all .sfs modules extracted on my development partition. I change things manually and rebuild the .sfs module via PackIt under xz compression. Nothing is to be found about Retrovol in /initrd/pup_rw that could cause the persistent storage.

Grey wrote: Tue Mar 16, 2021 6:22 pm

But if I do not confuse it with another program, then retrovol itself does not store the sound settings, but takes them from alsa.

This makes sense (see above). Going to check this.


Re: Retrovol Settings?

Posted: Tue Mar 16, 2021 9:03 pm
by TerryH

In looking for a different init script, I noticed the script /etc/init.d/10alsa. This may be what you are looking for to set alsa config at boot.


Re: Where are Retrovol settings stored in Bionic64?

Posted: Fri Mar 19, 2021 2:55 am
by Grey

I know for sure that alternative sound mixer PNMixer works well in Puppy(xenial/bionic). But again, I don’t remember where it stores the settings, but the mixer is pretty nice. Try to play with it:
https://github.com/nicklan/pnmixer


Re: Where are Retrovol settings stored in Bionic64?

Posted: Fri Mar 19, 2021 6:07 am
by Eastler_Dart

a simple Trick:
Boot your puppy, so that all actual settings to be done are done.
Change the date of your System to next year
Change a value of retrovol
set date back to real year
search for files of 'nextYear', that should bring only a few,
from which ist easier to pick the real one

Hope it helps, Eastler


Re: Where are Retrovol settings stored in Bionic64?

Posted: Fri Mar 19, 2021 6:28 am
by Grey
Eastler_Dart wrote: Fri Mar 19, 2021 6:07 am

a simple Trick:

Yes, sometimes such a cunning method can help out :thumbup:


Re: Where are Retrovol settings stored in Bionic64?

Posted: Fri Mar 19, 2021 6:29 am
by williams2

I have a script to set reasonable audio values when Puppy boots, like this:

Code: Select all

amixer set Speaker 0 0 mute
amixer set Headphone 81% 81%
amixer set PCM 80% 80%
amixer set Master 81%

but if I use HDMI digital sound, as opposed to analog sound, there are no mixer settings, just sound enabled or sound disabled.


Re: Where are Retrovol settings stored in Bionic64?

Posted: Sat Mar 20, 2021 9:27 am
by Geek3579

Hey, this works well in LxPup64 19.09 also. I have been looking for something like this for a while. Many thanks !