coqui.Coqui.estimate_quality_sync(*, audio_file: BinaryIO | None = None, audio_path: Path | None = None, audio_url: str | None = None) tuple['high' | 'average' | 'poor', SampleQualityRaw]

Estimates quality of given audio file, return a quality level of “high”, “average” or “poor”, as well as the raw estimated sample quality numeric value.

You must only specify one of audio_file, audio_path or audio_url.

Parameters:
audio_file: BinaryIO | None = None

open file with mode=”rb”

audio_path: Path | None = None

path to audio file

audio_url: str | None = None

URL of audio file, must be publicly accessible

Note: This is an automatically