Made with Node.JS, Google APIs, Python 3.8 and immense lonelyness. This program allows you to speak to your computer via a microphone and receive a "human-like" response. The current accent is a British male but that can be changed easily. It uses Google Cloud Text to Speech, Google Cloud Seech to Text, node-record-lpcm-16 and playsound
- Clone this repository onto your computer
- Create a file called
key.json
in the root directory - Go to https://cloud.google.com/docs/authentication/getting-started, get your credentials and put them in the
key.json
file - Install the dependencies with
npm i
- You will need to install SoX
- MacOS
- Run
brew install sox
- Run
- Linux
- Run
sudo apt-get install sox libsox-fmt-all
- Run
- Windows
- MacOS
- Run
npm start
and speak into your microphone!
I do not provide any support for this code
If you want to work on this project feel free to fork it and open a pull request!