The function sets a loudness filter threshold to remove the background noise from the audio file which is being analyzed.
Table of Contents
setthreshold()
Function Definition: setthreshold(loudness = 30)
- Python Library: Speech Recognition
- Library Import: sr = SpeechRecognition()
- Mode: Stage Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
loudness | int | The loudness threshold value. | 0-100 | 30 |
Description
Example
There are no examples documented for this article.