https://github.com/rampadc/watson-tts-esp32-lyrat
An example for IBM Watson Text-to-Speech on ESP32 ADF
https://github.com/rampadc/watson-tts-esp32-lyrat
esp32 esp32-adf ibm text-to-speech watson
Last synced: 4 months ago
JSON representation
An example for IBM Watson Text-to-Speech on ESP32 ADF
- Host: GitHub
- URL: https://github.com/rampadc/watson-tts-esp32-lyrat
- Owner: rampadc
- Created: 2020-06-08T10:26:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T13:27:57.000Z (about 5 years ago)
- Last Synced: 2025-01-23T05:24:28.467Z (6 months ago)
- Topics: esp32, esp32-adf, ibm, text-to-speech, watson
- Language: C
- Homepage:
- Size: 264 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Watson Text-to-Speech with ESP32-ADF
[](https://www.apache.org/licenses/LICENSE-2.0)
A super basic example of [ESP32-ADF](https://docs.espressif.com/projects/esp-adf/en/latest/index.html) using IBM Watson Text-to-Speech. This README will be improved.
## Installation
Install [ESP-IDF](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/) and [ESP32-ADF](https://docs.espressif.com/projects/esp-adf/en/latest/index.html) using the `latest`/master branch, and exporting the environment variables before trying out this repo.
## Running it
1. Run `idf.py menuconfig` to configure IBM Watson Text-to-Speech by filling out the endpoint, basic auth string (containing the APIKey) and voice selection.

2. Run `idf.py build` to build.
3. Run `idf.py flash -p [PORT]` to flash to your device. Hold Boot, and press Reset once to instantiate flashing if something resembles `Connecting ....._____...` is shown.
4. Run `idf.py monitor -p [PORT]` to watch debug logs.
This repo was built using [ESP32-LyraT](https://www.espressif.com/en/products/devkits/esp32-lyrat) board.
## Improving it
Lots of code were copied and pasted from ESP-ADF examples to get this to barely work.
Known problems:
- Fuzzy/overlapped audio at the start, sounding like frames were not being buffered correctly
## License
This project is licensed under the Apache 2 License - see the [LICENSE](LICENSE) file for details