You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I already installed every lib and all dependencies and almost got it working, but It looks like mine bender recognizes random words. Looks like I need to do some configurations with amixer because it can't find any simple controls.
Im skipping mpc cuz its just music player as I think, and also errors with permissions to backlight, this will be not a much problem, but recognizing and responding is most valuable :)
Im asking you very kindly to help me with this, here my log via ssh:
/krets@raspberrypi:~ $ python3 robot.py
amixer: Unable to find simple control 'Capture',0
/bin/sh: 1: mpc: not found
Gpio 9 is illegal for LED channel 0
Process Process-1:
/bin/sh: 1: mpc: not found
Traceback (most recent call last):
File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/krets/profiles/bender/bender_backlight.py", line 150, in
'OFF': lambda: fill_pixels(self.pixels, no_color),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/krets/profiles/bender/bender_backlight.py", line 40, in fill_pixels
pixels.show()
File "/usr/local/lib/python3.11/dist-packages/adafruit_pixelbuf.py", line 204, in show
return self._transmit(self._post_brightness_buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/neopixel.py", line 180, in _transmit
neopixel_write(self.pin, buffer)
File "/usr/local/lib/python3.11/dist-packages/neopixel_write.py", line 42, in neopixel_write
return _neopixel.neopixel_write(gpio, buf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/adafruit_blinka/microcontroller/bcm283x/neopixel.py", line 82, in neopixel_write
raise RuntimeError(
RuntimeError: ws2811_init failed with code -11 (Selected GPIO not possible)
volume = 20
self.volume = 20
amixer: Unable to find simple control 'Master',0
pocketsphinx_co: no process found
/bin/sh: 1: mpc: not found
['pocketsphinx_continuous -dictcase yes -inmic yes -ds 3 -samprate 8000 -logfn /dev/null -adcdev plughw:4,0 -hmm /home/krets/common/resources/en/cmusphinx-en-us-ptm-8khz-5.2 -dict /home/krets/profiles/bender/resources/en/bender.dic -jsgf /home/krets/profiles/bender/resources/en/bender.jsgf']
serving at :8008
pocketsphinx_continuous successfully started
Start mode:
utterance = reboot
Start mode:
utterance = set sleep to six seven eight oh one eight eight
Start mode:
utterance = please
Start mode:
utterance = please
Start mode:
utterance = next song
Start mode:
utterance = set sleep
Start mode:
utterance = set sleep
Start mode:
utterance = please
Start mode:
utterance = stop player
Start mode:
utterance = set sleep one
Start mode:
utterance = reboot
The text was updated successfully, but these errors were encountered:
Hello!
Yes, it's probably could be a problem with sensivity of the microphone.
Have you installed alsamixer? As I remember I lowered "Gain" control on the Mic(I'll check later).
Well, it's the trickiest part with accuracy:) It depends on the ambient sounds, how close you're talking to, etc. I helped one guy with the same problem, it was really hard to get it work.
Hello, I already installed every lib and all dependencies and almost got it working, but It looks like mine bender recognizes random words. Looks like I need to do some configurations with amixer because it can't find any simple controls.
Im skipping mpc cuz its just music player as I think, and also errors with permissions to backlight, this will be not a much problem, but recognizing and responding is most valuable :)
Im asking you very kindly to help me with this, here my log via ssh:
/krets@raspberrypi:~ $ python3 robot.py
amixer: Unable to find simple control 'Capture',0
/bin/sh: 1: mpc: not found
Gpio 9 is illegal for LED channel 0
Process Process-1:
/bin/sh: 1: mpc: not found
Traceback (most recent call last):
File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/krets/profiles/bender/bender_backlight.py", line 150, in
'OFF': lambda: fill_pixels(self.pixels, no_color),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/krets/profiles/bender/bender_backlight.py", line 40, in fill_pixels
pixels.show()
File "/usr/local/lib/python3.11/dist-packages/adafruit_pixelbuf.py", line 204, in show
return self._transmit(self._post_brightness_buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/neopixel.py", line 180, in _transmit
neopixel_write(self.pin, buffer)
File "/usr/local/lib/python3.11/dist-packages/neopixel_write.py", line 42, in neopixel_write
return _neopixel.neopixel_write(gpio, buf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/adafruit_blinka/microcontroller/bcm283x/neopixel.py", line 82, in neopixel_write
raise RuntimeError(
RuntimeError: ws2811_init failed with code -11 (Selected GPIO not possible)
volume = 20
self.volume = 20
amixer: Unable to find simple control 'Master',0
pocketsphinx_co: no process found
/bin/sh: 1: mpc: not found
['pocketsphinx_continuous -dictcase yes -inmic yes -ds 3 -samprate 8000 -logfn /dev/null -adcdev plughw:4,0 -hmm /home/krets/common/resources/en/cmusphinx-en-us-ptm-8khz-5.2 -dict /home/krets/profiles/bender/resources/en/bender.dic -jsgf /home/krets/profiles/bender/resources/en/bender.jsgf']
serving at :8008
pocketsphinx_continuous successfully started
Start mode:
utterance = reboot
Start mode:
utterance = set sleep to six seven eight oh one eight eight
Start mode:
utterance = please
Start mode:
utterance = please
Start mode:
utterance = next song
Start mode:
utterance = set sleep
Start mode:
utterance = set sleep
Start mode:
utterance = please
Start mode:
utterance = stop player
Start mode:
utterance = set sleep one
Start mode:
utterance = reboot
The text was updated successfully, but these errors were encountered: