This script listens to meetings I'm supposed to be paying attention to and pings me on hipchat when my name is mentioned.
It sends me a transcript of what was said in the minute before my name was mentioned and some time after.
It also plays an audio file out loud 15 seconds after my name was mentioned which is a recording of me saying, "Sorry, I didn't realize my mic was on mute there."
Uses IBM's Speech to Text Watson API for the audio-to-text.
Currently relies on Splunk as a data store, but can be extended to use an open-source tool instead.
Relies on Uberi's SpeechRecognition PyAudio and API wrapper: https://github.com/Uberi/speech_recognition
##Installation (OS X)
- Sign up for, install, and run Splunk Enterprise
- This has to be enterprise; the HTTP Event Collector feature used here doesn't exist in light
- Add your credentials to
- Add an http event collector to Splunk and enable it in global settings (but do not enable acknowledgement)
- [Get a hipchat API token](https://[your company].hipchat.com/account/api) and update the hipchat fields in say_my_name.py
- Your hipchat user id is the second number in your hipchat jabber info
namein say_my_name.py unless your name is Josh
- Create an IBM Bluemix account
- Add a speech-to-text plan
- Add your credentials to say_what.py for
- Install Homebrew
brew install python
brew install portaudio
pip install pyaudio
pip install SpeechRecognition
pip install requests
- Start Splunk
- Run say_what.py