That’s a good question. In my own script I’m modulating values from around 0-18, but I think the range is the same as the db range you can see in the menu, which looks like it’s around -63 - 20.
@tehn or @zebra can probably provide a better answer.
Also, as tehn mentioned I would use use the new params instead of calling audio.level_cut_rev directly (I forgot these existed). You can see all the param names by calling params:print() in your script. I’m not sure if these are documented anywhere else, but you can also see them in the Audio.add_params() function of that file I linked earlier.
If you do call the audio functions directly (but don’t
), make sure to wrap the value in util.dbamp, or it could get very loud and hurt your ears and/or speakers (I’m speaking from personal experience
) Fortunately It looks like the audio param methods will do this for you.