Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Voice recognition
- # Following the instructions in https://github.com/VikParuchuri/scribe
- username@username-Dell:~/programs/scribe-master$ python recognizer.py
- /usr/local/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/username/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
- warnings.warn(msg, UserWarning)
- ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
- ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
- ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
- bt_audio_service_open: connect() failed: Connection refused (111)
- bt_audio_service_open: connect() failed: Connection refused (111)
- bt_audio_service_open: connect() failed: Connection refused (111)
- bt_audio_service_open: connect() failed: Connection refused (111)
- Cannot connect to server socket err = Connection refused
- Cannot connect to server request channel
- jack server is not running or cannot be started
- Device 0: HDA Intel PCH: ALC665 Analog (hw:0,0)
- Device 1: HDA Intel PCH: ALC665 Digital (hw:0,1)
- Device 2: HDA Intel PCH: HDMI 0 (hw:0,3)
- Device 3: sysdefault
- Device 4: front
- Device 5: surround40
- Device 6: surround51
- Device 7: surround71
- Device 8: iec958
- Device 9: spdif
- Device 10: hdmi
- Device 11: pulse
- Device 12: dmix
- Device 13: default
- Device 14: /dev/dsp
- No preferred input found; using default input device.
- Traceback (most recent call last):
- File "recognizer.py", line 98, in <module>
- save_audio(WAVE_OUTPUT_FILENAME)
- File "recognizer.py", line 52, in save_audio
- device_info = p.get_device_info_by_index(device)
- File "/usr/lib/python2.7/dist-packages/pyaudio.py", line 977, in get_device_info_by_index
- pa.get_device_info(device_index)
- TypeError: an integer is required
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement