Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T13:27:57.000Z (over 4 years ago)
- Last Synced: 2024-11-22T18:38:57.423Z (2 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
[![License](https://img.shields.io/badge/License-Apache2-blue.svg)](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.
![](docs/kconfig1.png)
![](docs/kconfig2.png)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.![](docs/debug.png)
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