Comments (3)
Hi again, sorry you're having more issues. I hope you got everything fixed on your main computer/system. As for the RPi 2, one of the developers in our community posted these comments:
AVBin is not available for the Raspberry's ARM arquitecture. Workaround: I used os.system("mplayer -really-quiet " + file). Better idea, use pygame or some lightweight multiplatform library to play compressed audio
Without Internet connection, a fallback to use PicoTTS (libttspico-utils: /usr/bin/pico2wave) would be nice. I used it, again, with os.system("read.sh " + words) and a little bash script that makes the wave file using pico2wave, plays it and removes it. Would be better to try to use the libpicotts directly from Python.
And with respect to this issue:
The RPI2 doesn't have an audio input. I used a very cheap USB "soundcard" that has both output and mic. I run into a problem with a (possibly buggy) with pyaudio. The error was:
IOError: [Errno Input overflowed] -9981
I solver it by modifying the "buf = stream.read(1024)" line in stt.py and adding a parameter to ignore overflows ( I don't remember exactly, was something like except_on_overflow=False ). I can tell you later when at home.
This seems to be a popular issue:
http://stackoverflow.com/questions/10733903/pyaudio-input-overflowed
I'll be looking into this issue more, but maybe this will help in the meantime.
from hey-athena-client.
I was able to suppress this error by modifying the "buf = stream.read(1024)" line in stt.py to "buf = stream.read(1024, exception_on_overflow=False)"
(still getting lots of errors though)
from hey-athena-client.
Hi joshgel,
Try using pulseaudio with the Raspberry Pi 2. It kinda makes it work better.
pulseaudio -D
Then, you can use:
pactl list short
Copy the desired input device, and:
pactl set-default-source [device name]
For example:
pactl set-default-source alsa_input.usb-0d8c_USB_PnP_Sound_Device-00-Device.analog-mon
I am very busy lately, but i'll try to contact the developers and update the documentation on how to make everything work properly under the raspbian. Hope it helps.
from hey-athena-client.
Related Issues (20)
- On a 2gb ram computer, Athena will go into "active listening" then hang. HOT 1
- OSError: [Errno -9997] Invalid sample rate HOT 1
- RuntimeError: new_Decoder returned -1 HOT 1
- Errors when installing HeyAthena HOT 1
- hey athena lists mods
- Active Listening "Beep" sould not interrupt the tts engine HOT 2
- sathish HOT 1
- Missing Dependency HOT 2
- Comparison to Mycroft
- Website not working HOT 2
- Unknown Google TTS issue: Library "c" not found
- Spotify Integration
- Install Issues
- Syntax error: invalid syntax Urgent help needed please!!! HOT 1
- README - Link to website need fixing? HOT 4
- Athena wrongly detects activation word HOT 1
- Reactive project
- invalid website
- Website is invalid HOT 1
- Website invalid and setup not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hey-athena-client.