Uberi / Uberi/speech_recognition

Speech Recognition from links

Open
#643 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9k
Forks
2.4k
Avg merge
12h 24m
Merged PRs (30d)
3

Description

This isn't so much an issue, but more so a question that I was unable to find answers for on the regular forums. I was wondering if there was any way to use speech_recognition on a link? What I mean is, if I was to give the API this link: https://www.google.com/recaptcha/api2/payload/audio.mp3?p=06AD1IbLD6eKKII77YoDkinG3lWV0q-eU3T4-3GBEb2xj9V0ZFBbNNCew_GRjMw5sOEd5RDEVbrub-_V3v7i6YD6xiK1DGnXWORPTb76o3vrSlc9OcIhd0ENIhnubSq-9HMm69JnsJ_RKZlesGxJWbm3WLe67vojeFlcmiFOFBk_jP4xKmLvx1gK_3lCyN7ByN-1rdoVNkHEC_&k=6LeTnxkTAAAAAN9QEuDZRpn90WwKk_R1TRW_g-JC
How could I run the speech_recognition software on it. If it is not possible with this api, could someone guide me to the api necessary to do this. I'd prefer it if I didn't have to download the .wav itself, as it comes in a .mp3 format and it would require me to transform it to .wav.

System information

(Delete all the statements that don't apply.)

My system is <Ubuntu 22.04 LTs x64>.

My Python version is <3.10.6>

My Pip version is <22.0.2>

My SpeechRecognition library version is <3.9.0>

My PyAudio library version is <0.2.13>
My microphones are: (partial output) 'HDA Intel PCH: ALC257 Analog (hw:0,0)', 'HDA Intel PCH: HDMI 0 (hw:0,3)', 'HDA Intel PCH: HDMI 1 (hw:0,7)', 'HDA Intel PCH: HDMI 2 (hw:0,8)', 'HDA Intel PCH: HDMI 3 (hw:0,9)', 'HDA Intel PCH: HDMI 4 (hw:0,10)', 'HDA Intel PCH: HDMI 5 (hw:0,11)', 'HDA Intel PCH: HDMI 6 (hw:0,12)', 'HDA Intel PCH: HDMI 7 (hw:0,13)', 'HDA Intel PCH: HDMI 8 (hw:0,14)', 'HDA Intel PCH: HDMI 9 (hw:0,15)', 'HDA Intel PCH: HDMI 10 (hw:0,16)', 'HDA Intel PCH: HDMI 11 (hw:0,17)', 'sysdefault', 'front', 'surround40', 'surround51', 'surround71', 'hdmi', 'samplerate', 'speexrate', 'pulse', 'upmix', 'vdownmix', 'dmix', 'default']

My working microphones are: {0: 'HDA Intel PCH: ALC257 Analog (hw:0,0)', 13: 'sysdefault', 19: 'samplerate', 20: 'speexrate', 21: 'pulse', 25: 'default'}

I installed PocketSphinx from

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests; begin by checking the library's documented audio-source and file-format support for remote URLs and MP3 data. Confirm whether the request is supported without a download or conversion step, and record the supported usage or limitation as the completed answer.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.