Open Emilieve opened 3 years ago
@Emilieve I can reproduce this as well with the same microphone breakout. Have you found a fix or workaround?
这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
Hi Dan,
I did find a fix. However, I do not remember it. I will check tomorrow if I wrote it down somewhere and let you know!
Kind regards Emilie
On Tue, 21 Dec 2021, 21:09 Dan Nicholson, @.***> wrote:
@Emilieve https://github.com/Emilieve I can reproduce this as well with the same microphone breakout. Have you found a fix or workaround?
— Reply to this email directly, view it on GitHub https://github.com/Uberi/speech_recognition/issues/557#issuecomment-999062270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDWTZUKZZLI7TQ4HPO4MGTUSDNGLANCNFSM4ZOLCKYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Thanks @Emilieve - I appreciate the help.
Hi Dan, I did find a fix. However, I do not remember it. I will check tomorrow if I wrote it down somewhere and let you know! Kind regards Emilie … On Tue, 21 Dec 2021, 21:09 Dan Nicholson, @.> wrote: @Emilieve https://github.com/Emilieve I can reproduce this as well with the same microphone breakout. Have you found a fix or workaround? — Reply to this email directly, view it on GitHub <#557 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDWTZUKZZLI7TQ4HPO4MGTUSDNGLANCNFSM4ZOLCKYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>
Hi, I really need to know how you fixed it if you can tell me i cant find any fix about it its my last hope
Hi @marcopyre - I can't remember the exact details, but when I tracked through this issue on my side it was a problem with the pi configuration and the MEMS microphones. I added some notes about it to this README:
https://github.com/danic85/companion-robot#mems-microphone-configuration-for-speech-recognition
Hi, for me I think it was the microphone that was broken in the end! :(
On Tue, 11 Apr 2023 at 09:10, Dan Nicholson @.***> wrote:
Hi @marcopyre https://github.com/marcopyre - I can't remember the exact details, but when I tracked through this issue on my side it was a problem with the pi configuration and the MEMS microphones. I added some notes about it to this README:
https://github.com/danic85/companion-robot#mems-microphone-configuration-for-speech-recognition
— Reply to this email directly, view it on GitHub https://github.com/Uberi/speech_recognition/issues/557#issuecomment-1502792390, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDWTZQQLBQ6VRNYSTX54ODXAT7WRANCNFSM4ZOLCKYQ . You are receiving this because you were mentioned.Message ID: @.***>
-- Met vriendelijke groet,
Emilie van Eps
SpeechRecognition is not giving a response if I use a live microphone.
I have successfully installed the SpeechRecognition library and PyAudio using python3 -m pip install ... I am working on a Raspberry Pi Zero in a virtual environment with Python 3.7.3 pip 21.0.1
I am using the Adafruit I2S MEMS Microphone Breakout and am able to successfully record using:
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v file.wav
When I save this in a file (file.wav) and use the following code, the speech recognizer works:It gives the following output and keeps saying: 'Say something' without showing any transcript:
When I press ^C after a while because nothing is happening the following bit is added:
Please let me know if any more information is needed. I hope there is someone really smart that can help me, thanks in advance!
Expected behaviour
Expect to display 'Say something!' and when I stop talking show the transcript of what is said.
Actual behaviour
Only displays 'Say something!' doesn't convert any speech to text.
System information
(Delete all the statements that don't apply.)
My system is. (For example, "Ubuntu 16.04 LTS x64", "Windows 10 x64", or "macOS Sierra".)
My Python version is <3.7.3>. (You can check this by running
python -V
.)My Pip version is <21.0.1>. (You can check this by running
pip -V
.)My SpeechRecognition library version is <3.8.1>. (You can check this by running
python -c "import speech_recognition as sr;print(sr.__version__)"
.)My PyAudio library version is <0.2.11> / I don't have PyAudio installed. (You can check this by running
python -c "import pyaudio as p;print(p.__version__)"
.)My microphones are: ['bcm2835 HDMI 1: - (hw:0,0)', 'snd_rpi_i2s_card: simple-card_codec_link snd-soc-dummy-dai-0 (hw:1,0)', 'sysdefault', 'lavrate', 'samplerate', 'speexrate', 'pulse', 'upmix', 'vdownmix', 'dmix', 'default']
My working microphones are: (You can check this by running
python -c "import speech_recognition as sr;print(sr.Microphone.list_working_microphones())"
.): AttributeError: type object 'Microphone' has no attribute 'list_working_microphones'I installed PocketSphinx from. (For example, from the Debian repositories, from Homebrew, or from the source code.) I have not installed PocketSphinx?