alexa-pi / AlexaPiDEPRECATED

DEPRECATED - Use https://github.com/alexa-pi/AlexaPi instead ...Turn a Raspberry Pi into an Alexa Client
https://github.com/alexa-pi/AlexaPi
MIT License
587 stars 439 forks source link

Bad sound quality of Alexa #89

Closed YOUN3SS closed 8 years ago

YOUN3SS commented 8 years ago

I redirect audio output to my USB headset.

The "hello.mp3" message is OK, but Alexa answers aren't, the sound is crackling and like corrupted. I don't see why since we are using the same parameters in play_audio() function.

(HDMI and jack 3.5mm are both OK)

korniza commented 8 years ago

I get also the same issue. choppy sound with the following issues. I use Raspberry Pi 2 with jack 3.5 output. I suspect it has to do with internet speed / cache...

State.Playing
set player
[025a1528] alsa audio output error: cannot estimate delay: Input/output error
[025a1528] alsa audio output error: cannot estimate delay: Input/output error
[025a1528] alsa audio output error: cannot estimate delay: Input/output error
[025a1528] alsa audio output error: cannot estimate delay: Input/output error
bdatdo0601 commented 8 years ago

@korniza is there any fix on yours? It's really weird that l get this error almost everytime before but after install this: sudo apt-get install libsox-fmt-mp3 The frequency of me getting it is less

bdatdo0601 commented 8 years ago

@korniza I finally solved the problem. It was not because of the speed. Rather you just need to change vlc.instance('--aout=alsa') to vlc.instance().

luisbarreto commented 8 years ago

@bdatdo0601 Can you please specify where the change you're proposing should be made?

sekamaneka commented 8 years ago

In main.py

renekliment commented 8 years ago

Seems solved -> closing. Reopen if needed.

ChristopherMori commented 7 years ago

Noob here... can someone detail how to fix this issue in better detail? :(

renekliment commented 7 years ago

@ChristopherMori This project is closed. Use https://github.com/alexa-pi/AlexaPi ... if you have issues there, try the sox playback handler. More info in the docs here / chat on Gitter.