Skip to content

Instantly share code, notes, and snippets.

View bottomoftheheap9000's full-sized avatar

bottomoftheheap9000

View GitHub Profile
<html>
<head>yoyo</head>
<body>
<?php
require_once __DIR__.'/vendor/autoload.php';
use ApiAi\Client;
try {
$client = new Client('11e23882f55148e0a82a5e9dd0457e5a');
#from bing_voice import *
import speech_recognition as sr
# obtain audio from the microphone
r = sr.Recognizer()
with sr.Microphone() as source:
print("Say something!")
audio = r.listen(source)
# recognize speech using Microsoft Bing Voice Recognition
BING_KEY = "6864f2c3183842f3945ccf32d9bf1906" # Microsoft Bing Voice Recognition API keys 32-character lowercase hexadecimal strings