MycroftAI / enclosure-picroft

Mycroft interface for Raspberry Pi environment
https://mycroft.ai/documentation/picroft
GNU Lesser General Public License v3.0
804 stars 191 forks source link

Stretch Fix mic and volume issue whith Google AIY #76

Closed andlo closed 5 years ago

andlo commented 5 years ago

It installs pulseaudio and make changes to /etc/asound.conf

Fixes #73 and #66

cbxbiker61 commented 5 years ago

I tried to install with the current changes in head, wasted a lot of time trying to fix an asound.conf that would get the mic working, never happened. Then I decided to install pulseaudio...and it works a treat. It just works!


/etc/asound.conf


Set pulseaudio as the default output plugin

pcm.!default { type pulse hint { show on description "Playback/recording through the PulseAudio sound server" } }

ctl.!default { type pulse }


Changes to .bashrc


######################################################################

Initialize Mycroft

###################################################################### if true && [[ -z $DISPLAY ]]; then /usr/bin/pulseaudio --start --log-target=syslog source auto_run.sh fi

cbxbiker61 commented 5 years ago

Note that if pulseaudio is used aplay can be changed to paplay in /etc/mycroft/mycroft.conf