Automatic Gain Control in Python?
Steve GS
Gronicus at SGA.Ninja
Sat May 28 17:29:10 EDT 2022
I have an extensive Excel/VBA program that hourly calls and plays podcasts
through a "smart" speaker. The output of the speaker feeds into another
computer that records the m\audio using Audacity.
It has become obvious that NPR does not regulate volumes for podcasts and
broadcasts nor are programs in themselves regulated by volume. Audacity
does not have an AGC.
It has also been noted that Excel/VBA code cannot see the audio being played
on the same computer.
I would like to find code that will regulate the volume and give some
semblance of control/moderation. Also, sometimes the Smart Speaker fails to
play the program and I get an hour of silence before the next command to
play happens. The code should detect that nothing is playing and send the
command to the smart speaker again.
Is there any Python code that I might be able to call from VBA that will
monitor and regulate the volume of the audio? A few samples of code that can
read/modify the audio will help me develop the final product.
Suggestions appreciated.
More information about the Python-list
mailing list