Skip to content

Speech API faster with higher sample_rate #3161

Closed

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.)

Activity

  1. added
    api: speechIssues related to the Speech-to-Text API.
    type: questionRequest for information or clarification. Not an issue.
    on Mar 17, 2017
  2. daspecster commented on Mar 17, 2017

    @daspecster
    Contributor

    Thanks for the question @elcombato! To be totally honest, I'm not sure. I'm guessing it's just some optimization upstream.

    @gguuss do you have any insight into this?

  3. lukesneeringer commented on Mar 17, 2017

    @lukesneeringer
    Contributor

    Hi @elcombato,
    This repository is for the client library, not the API itself. To be honest, I am not sure why you are getting distinct behavior there. You can feel free to follow-up with the API's support channels (as it seems you may have already done).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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