esp8266 google tts
1.1.0
Biblioteca TTS do Google simples para ESP8266.
Esta biblioteca gera o link para o arquivo mp3 de fala do texto usando o Google Translate Service.
Este é o documento japonês no qiita.com;
Esta biblioteca pode ser instalada no gerente da biblioteca no Arduino IDE

#include <google-tts.h>
#include <ESP8266WiFi.h>
const char* ssid = "<REPLASE_YOUR_WIFI_SSID>";
const char* password = "<REPLASE_YOUR_WIFI_PASSWORD>";
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("");
WiFi.mode(WIFI_STA); WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(250);
Serial.print(".");
}
TTS tts;
Serial.println(tts.getSpeechUrl("こんにちは、世界!", "ja"));
Serial.println(tts.getSpeechUrl("Hello, World!"));
}
void loop() {
// put your main code here, to run repeatedly:
}