Skip to content

Instantly share code, notes, and snippets.

View J0hnL0cke's full-sized avatar
:octocat:
:) :) :)

John Locke J0hnL0cke

:octocat:
:) :) :)
View GitHub Profile
@J0hnL0cke
J0hnL0cke / main.py
Last active June 8, 2020 18:25
AIY speech-to-text program
#!/usr/bin/env python3
#This is a program for the Google Voice Kit. It uses the Speech Recognition library to send audio snippets to Houndify for interpretation,
#and it uses pyttsx3 to respond to the user
#This program uses code snippets from this example file: https://github.com/Uberi/speech_recognition/blob/master/examples/audio_transcribe.py
#As well as from Google's voice_recorder file: https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/src/examples/voice/voice_er.py
print("Importing libraries...")