Notifications
Clear all

HOWTO: Connect External Speaker to Q.bo One

1 Posts
1 Users
0 Reactions
1,682 Views
Qbo Robot
(@nonogrub)
Member Admin
Joined: 8 years ago
Posts: 185
Topic starter  

Select the standard audio output of the Raspberry Pi to the "headphone jack", and write in the terminal the following:

 amixer cset numid=3 1  

In the module Python QBOtalk.py modify this code:

def SpeechText(self, text):

speak = "espeak -ves+f3 "" + text + "" --stdout  | aplay -D hw:0,0"
result = subprocess.call(speak, shell = True)
print text


   
Quote
Share: