Is there a way to adjust silence based on loudness of voice/ background noise in record file

To record what the user is speaking using
cmd_record = “RECORD FILE root/data//complain gsm 1234 15 s=2 “”\n”
Is there a way to control the silence from absolute silence to specific loudness
The problem is when the user stops speaking but there is outside noise the recording continues for 15 sec. I want a way to control it, maybe loudness, frequency or anything.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.