GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Issues about Google Cloud Speech API (Service) · Issue #2518 · googleapis/google-cloud-python

Issues about Google Cloud Speech API (Service) #2518

New issue
Copy link
New issue
Copy link
Closed
Closed
Issues about Google Cloud Speech API (Service)#2518
Copy link
Assignees
daspecster
Labels
api: speechIssues related to the Speech-to-Text API.

Description

@willwhyang
willwhyang
opened on Oct 8, 2016
Issue body actions

Hi, I'm using Google Cloud Speech API. I found an issue and it easy to reproducing. Here is one of my test case, and my test audio file is abc_rural_2.wav.

I tried to recognise using whole .wav file, and it will only translate the first segment (the following segment is speak by another guy in different environment). But if I trim the audio and skip the first segment it perform well. Likewise for the following segments.

Test Result

  1. abc_rural_2.wav
    imagine a world of being able to use the latest agricultural technology even if you live in a mobile and Internet black spot that could be a reality for horticulturalist very soon according to Professor Salah sacaria leads the University of Sydney robotic centre he said earlier Dr fruit and veggie growers could start using robots to monitor manage and Harvester crops within a couple of years and the Internet reputation to be able to be one of the last night
  2. abc_rural_2.trim23.wav
    computational can you put in a robot is sufficient to be able to do all the processing and has been one of the unique advantages that you have with robotic system so if you're someone who lives in a black spot area that's not necessarily going to be in the show
  3. abc_rural_2.trim23.trim14.wav
    2014 Gold SA Farmers being crowned the Royal Agricultural Society new rural ambassador Jeremy shoots won the title from 7 competitors last night right at same time his town Pinnaroo in The Mallee celebrated it's 100 show
  4. abc_rural_2.trim23.trim14.trim14.wav
    helping one day you really do you work at 4 but off the whole year

Activity

  1. dhermes
    added
    api: speechIssues related to the Speech-to-Text API.
    on Oct 8, 2016
  2. dhermes
    assigned
    daspecster
    on Oct 8, 2016
  3. daspecster commented on Oct 8, 2016

    @daspecster
    daspecster
    on Oct 8, 2016
    Contributor
    More actions

    Hello @geekoala!

    Which speech method are you using? sync_recognize or async_recognize?
    Also, are you passing in a language code?

  4. willwhyang commented on Oct 9, 2016

    @willwhyang
    willwhyang
    on Oct 9, 2016
    Author
    More actions

    Hi @daspecster, I use async_recognize method and the language code is en-AU.

  5. daspecster commented on Oct 10, 2016

    @daspecster
    daspecster
    on Oct 10, 2016
    Contributor
    More actions

    @geekoala, my guess is that it is due to the change in the audio recording since the trimming worked.

    I'm working on the streaming api for Speech right now and I'll use your audio clip to test it.
    Streaming has a single_utterance parameter that might be able to help with this.

    I'll let you know what I find out!

  6. willwhyang commented on Oct 11, 2016

    @willwhyang
    willwhyang
    on Oct 11, 2016
    Author
    More actions

    @daspecster thank you. But single_utterance seems to be only available for streaming recognition. I'm working on automatically trimming the audio when speakers or environment changed, but I think that would be not a good solution (audio will be split into small chunks). If this API could process a whole audio file, it would be great. Thanks again.

  7. daspecster commented on Oct 11, 2016

    @daspecster
    daspecster
    on Oct 11, 2016
    Contributor
    More actions

    @geekoala, I agree.

    @omaray and @bjwatson, do you know anyone involved on the backend that could chime in here?

    I have a feeling that the backend algorithm sets a baseline from the first few seconds of the audio and may not handle multiple speakers/environments well? i.e. A conversation that moves from a quiet environment to an environment with a lot of background noise.

  8. bjwatson commented on Oct 11, 2016

    @bjwatson
    bjwatson
    on Oct 11, 2016
    More actions

    @daspecster I'm checking internally.

    Reacted by Thomas Schultz and Wenhua (Will) Yang
  9. bjwatson commented on Oct 11, 2016

    @bjwatson
    bjwatson
    on Oct 11, 2016
    More actions

    @pbogle is in charge of the back-end. A member of his team will respond here.

  10. willwhyang commented on Oct 11, 2016

    @willwhyang
    willwhyang
    on Oct 11, 2016
    Author
    More actions

    Great, thanks @daspecster @bjwatson and @pbogle

  11. daspecster commented on Oct 20, 2016

    @daspecster
    daspecster
    on Oct 20, 2016
    Contributor
    More actions

    @pbogle did you have a chance to take a look at this?

  12. pbogle commented on Oct 20, 2016

    @pbogle
    pbogle
    on Oct 20, 2016
    More actions

    The model is currently intentionally optimized for single-speaker scenarios and will tend treat secondary/background speakers as background noise, especially if they are lower in volume than the initial speaker. Improved support for multiple speakers is something we will consider in future versions of the product.

  13. daspecster commented on Oct 20, 2016

    @daspecster
    daspecster
    on Oct 20, 2016
    Contributor
    More actions

    Thanks @pbogle!

    @geekoala I think that is the answer to your question. If not feel free to reopen!

  14. daspecster
    closed this as completedon Oct 20, 2016
  15. theacodes
    unassigned
    daspecster
    on Sep 28, 2018
  16. JustinBeckwith
    assigned
    daspecster
    on Feb 1, 2021
  17. chalmerlowe
    added 3 commits that reference this issue on Mar 31, 2026

    feat: add `df.bigquery.ai.forecast` method to pandas dataframe access…

    b9ca0d6

    chore: include pandas accessors in api logging (#2524)

    1b0182d

    chore: librarian release pull request: 20260331T225508Z (#2547)

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

Metadata

Metadata

Assignees

  • @daspecster
    daspecster

Labels

api: speechIssues related to the Speech-to-Text API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.