User manual
Ausgabe 12.01.2018 Copyright by Joy-IT 5
3
Talking-Pi
Append the following line to the start of the le, right before the import of the aiy.audio is done:
The beginning of the le should look like the following:
Save the le with the combinaon CTRL+O and close the le with the combinaon CTRL+X.
Now execute the le:
Warning! Currently there is a misconguraon within the source-les provided by google.
Even when the execuon of the le is showing an error, the execuon is sll successfull.
You can skip the error by pressing Enter.
sys.path.append(os.path.realpath(os.path.join(__file__, '..', '..')) + '/
src/')
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._hat import get_aiy_device_name
sudo python3 checkpoints/check_audio.py