No effect of gain in configuration.txt
Started by Zottelcello




3 posts in this topic
Zottelcello

3 posts 2 threads Joined: Jun 2021
01-06-21, 20:49 -
#1
I was able to set the gain for all my presets in version 20200810.

For this I added the command GAIN = 0.2 in the configuration.txt. Otherwise I would always have crackling distortion.

With version 20210521 this command did not work anymore.

Does anyone know what I can do? I don't want to add the command GAIN = 0.2 to every definition.txt.


Wait, I remember: That didn't work there either, I had to change the files on the SD card with Putty. Can this feature be added in the next update please?


I had changed the samplerbox.py file in the following way: 



Under
Code:
gv.volumeCC = gv.cp.getfloat(gv.cfg,"volumeCC".lower())
comes this:
Code:
gv.globalgain = gv.cp.getfloat(gv.cfg,"GAIN".lower())
And this I have commented out:
Code:
gv.globalgain = 1
This post was last modified: 01-06-21, 21:20 by Zottelcello.


Messages In This Thread
No effect of gain in configuration.txt - by Zottelcello - 01-06-21, 20:49