Skip to content

Speech API faster with higher sample_rate #3161

@elcombato

Description

@elcombato

The function sync_recognize() of the Speech API has consistently a shorter runtime, if I use a flac audio file with a sampling rate of 48 kHz in comparison to a sampling rate of 16 kHz.
How does it come that the larger file with more information to process, is analyzed faster?

And as a follow-up question: The docs say that a sampling rate of 16 kHz yields the best results. What is the reason for that?

(I already asked the question on Stack Overflow with some code included, but got no answer so far.)

Metadata

Metadata

Labels

api: speechIssues related to the Speech-to-Text API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions