Skip to content

Instantly share code, notes, and snippets.

@thomasweng15
Created June 3, 2013 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasweng15/5695927 to your computer and use it in GitHub Desktop.
Save thomasweng15/5695927 to your computer and use it in GitHub Desktop.
Audiotools Unsupported File Error
thomas@thomas-PBL21:~/Code/Pi-Voice$ python listen.py
Recording...
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
* recording
* done recording
Google Speaking: Searching...
Got wav
converting to WAV
Traceback (most recent call last):
File "listen.py", line 67, in <module>
main()
File "listen.py", line 43, in main
speaker.say("Searching...")
File "/home/thomas/Code/Pi-Voice/tts/google.py", line 28, in say
recording_wav = audiotools.open(tts_mp3_filename)
File "/usr/local/lib/python2.7/dist-packages/audiotools/__init__.py", line 1085, in open
raise UnsupportedFile(filename)
audiotools.UnsupportedFile: /tmp/tmp4qyYbs.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment