3 Talking-Pi Installing the Sound-Modules
3 Talking-Pi Index 1. Introduction 2. Installing the necessary drivers 3. Testing the modules 4. Support Ausgabe 12.01.
Talking-Pi 1. Introduction Dear customer, thank you for choosing our Talking-Pi product. If you have decided to integrate the Talking-Pi content into an already installed Raspbian system, you may experience problems with sound output and speech input. In this guide, we will show you how to configure your system and how to make the necessary settings. If, however, problems should occur while working with your Talking-Pi, please feel free to contact us.
3 Talking-Pi 2. Installing the necessary drivers If you have transferred the system of the Google AIY project to your already installed Raspbian system, you will find that both the audio output and the voice input are not yet working. To install the necessary drivers, simply open a new terminal window and enter the following commands. Please note that an active internet connection is required. git clone https://github.com/google/aiyprojects-raspbian.
3 Talking-Pi Append the following line to the start of the file, right before the import of the aiy.audio is done: sys.path.append(os.path.realpath(os.path.join(__file__, '..', '..')) + '/ src/') The beginning of the file should look like the following: import fileinput import os import re import sys import tempfile import textwrap import traceback sys.path.append(os.path.realpath(os.path.join(__file__, '..', '..')) + '/ src/') import aiy.audio # noqa from aiy._drivers.
3 Talking-Pi 3. Testing the modules You can now test whether both the microphone and speaker are functioning. Simply record a voice recording with the following command: arecord sound.wav The recording can be completed with the CTRL+C key combination and then played back with the following command: aplay sound.wav You should now be able to listen to your previously recorded voice file. Ausgabe 12.01.
3 Talking-Pi 4. Support We also support you after your purchase. If there are any questions left, or if you encounter any problems, please feel free to contact us my mail, phone or my our ticket-supportsystem on our website. E-Mail: service@joy-it.net Ticket-System: http://support.joy-it.net Phone: +49 (0)2845 98469 – 66 (11- 18 Uhr) Please visit our website for more informations: www.joy-it.net Ausgabe 12.01.