using the script in this answer, silence at the beginning of the recording is not clipped.
fwiw, im using python3.
as ive actually slightly tweaked the script, heres my copy: https://wtools.io/paste-code/b2tk
using the script in this answer, silence at the beginning of the recording is not clipped.
fwiw, im using python3.
as ive actually slightly tweaked the script, heres my copy: https://wtools.io/paste-code/b2tk
the issue was due to a quick, inaudible flash of sound when the mic was started. adding del r[0:8000] before r = normalize(r) eliminated the first moments of audio containing the inaudible sound data, solving my issue.