Floris : could this issue also be why other settings, like "Block size" not getting saved?
yes, exactly the same issue.
If the settings are the same across all projects, you can set them globally by creating the file /root/.bela/belaconfig
(creating intermediate folders as needed) and add a line in it:
CL=-Ix -py
(i.e.: "minus capital i x", where x is the gain, "minus p y" where y is the blocksize). For instance, CL=-I0 -p64
(minus capital i zero) will set the gain to 0 and block size to 64. When running through the IDE, any options specified in this file will be overridden. When running from the command line, these will be loaded.
The following lines, executed in the console at the bottom of the IDE will create the file /root/.bela/belaconfig
with CL=-I0 -p64
, setting the gain to zero for all channels of all your projects when running from the command line or at boot, which is - I understand - what you want to achieve. Feel free to amend as needed.
mkdir -p /root/.bela
echo "CL=-I0 -p64" > /root/.bela/belaconfig