I’m trying to automate parts of my Audacity workflow in Python. I’m using the pipe_test.py example code as the basis for my code. I’m on Windows 11 using Audacity 3.4.1
I am trying to run Loudness Normalization on a track using the following command:
rmslevel = -20
normalizeto = 0
do_command(f’LoudnessNormalization: RMSLevel={rmslevel} NormalizeTo={normalizeto}')
I get the “BatchCommand finished: OK” response from do_command but the track doesn’t change in Audacity.
This is what I’m trying to automate for the current selection:
I would appreciate some help. Thanks.