Advertisement
csrockstar

Speech Recognizer

Sep 15th, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.92 KB | None | 0 0
  1. # Voice recognition
  2. # Following the instructions in https://github.com/VikParuchuri/scribe
  3.  
  4. username@username-Dell:~/programs/scribe-master$ python recognizer.py
  5. /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).
  6.   warnings.warn(msg, UserWarning)
  7. ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
  8. ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
  9. ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
  10. bt_audio_service_open: connect() failed: Connection refused (111)
  11. bt_audio_service_open: connect() failed: Connection refused (111)
  12. bt_audio_service_open: connect() failed: Connection refused (111)
  13. bt_audio_service_open: connect() failed: Connection refused (111)
  14. Cannot connect to server socket err = Connection refused
  15. Cannot connect to server request channel
  16. jack server is not running or cannot be started
  17. Device 0: HDA Intel PCH: ALC665 Analog (hw:0,0)
  18. Device 1: HDA Intel PCH: ALC665 Digital (hw:0,1)
  19. Device 2: HDA Intel PCH: HDMI 0 (hw:0,3)
  20. Device 3: sysdefault
  21. Device 4: front
  22. Device 5: surround40
  23. Device 6: surround51
  24. Device 7: surround71
  25. Device 8: iec958
  26. Device 9: spdif
  27. Device 10: hdmi
  28. Device 11: pulse
  29. Device 12: dmix
  30. Device 13: default
  31. Device 14: /dev/dsp
  32. No preferred input found; using default input device.
  33. Traceback (most recent call last):
  34.   File "recognizer.py", line 98, in <module>
  35.     save_audio(WAVE_OUTPUT_FILENAME)
  36.   File "recognizer.py", line 52, in save_audio
  37.     device_info = p.get_device_info_by_index(device)
  38.   File "/usr/lib/python2.7/dist-packages/pyaudio.py", line 977, in get_device_info_by_index
  39.     pa.get_device_info(device_index)
  40. TypeError: an integer is required
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement