Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The same environment and equipment, each time the recognition of sound energy is different, fluctuating greatly #711

Open
Yjppj opened this issue Nov 12, 2023 · 0 comments

Comments

@Yjppj
Copy link

Yjppj commented Nov 12, 2023

Steps to reproduce

  1. (How do you make the issue happen? Does it happen every time you try it?)

Keep the current environment quiet and continue to print the current sound energy. Add a line in the source code (print(f"energy energy energy energy energy energy: {energy}")).
Sometimes it's about 5, sometimes it's 10, sometimes it's 50, sometimes it's 100, sometimes it's 150, sometimes it's 300
My environments are all tested when there is no one in the office, the same equipment, the same system

  1. (Make sure to go into as much detail as needed to reproduce the issue. Posting your code here can help us resolve the problem much faster!)
  2. (If there are any files, like audio recordings, don't forget to include them.)

Expected behaviour

(What did you expect to happen?)
I expect the quiet environment to be fixed or fluctuate very little every time

Actual behaviour

Sometimes it's about 5, sometimes it's 10, sometimes it's 50, sometimes it's 100, sometimes it's 150, sometimes it's 300
My environments are all tested when there is no one in the office, the same equipment, the same system

(What happened instead? How is it different from what you expected?)
Sometimes it's about 5, sometimes it's 10, sometimes it's 50, sometimes it's 100, sometimes it's 150, sometimes it's 300
My environments are all tested when there is no one in the office, the same equipment, the same system

(If the library threw an exception, paste the full stack trace here)

System information

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

My system is . "Ubuntu 22.04 LTS x64"

My Python version is 3.10

My Pip version is pip 22.0.2

My SpeechRecognition library version is 3.10.0

My PyAudio library version is 0.2.13

My microphones are: (You can check this by running python -c "import speech_recognition as sr;print(sr.Microphone.list_microphone_names())".)

My working microphones are ReSpeaker 4 Mic Array (UAC1.0)

I installed PocketSphinx from . (For example, from the Debian repositories, from Homebrew, or from the source code.)
Just pip install it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant