Skip to content

Commit 6064300

Browse files
committed
AudioDictionaryURL
1 parent baf8e0f commit 6064300

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/time-to-speech-url/time-to-speech-url.ino

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* @file time-to-speech.ino
44
* @author Phil Schatzmann
5-
* @brief Test sketch which announces the indicated time - the audio files are loaded from the internet
5+
* @brief Test sketch which announces the indicated time - the audio files are loaded from the internet.
6+
* However I think this is rather too slow...
67
* @version 0.1
78
* @date 2022-02-16
89
*
@@ -24,8 +25,8 @@ TimeToText ttt;
2425
URLStream in(ssid, password);
2526
AudioDictionaryURL dictionary(in, url, "mp3");
2627
MP3DecoderHelix mp3;
27-
TextToSpeech tts(ttt, in, mp3, dictionary);
28-
AudioKitStream i2s; // Replace with desired class e.g. I2SStream
28+
AudioKitStream i2s; // Replace with desired output class e.g. I2SStream
29+
TextToSpeech tts(ttt, i2s, mp3, dictionary);
2930

3031
void setup(){
3132
Serial.begin(115200);

0 commit comments

Comments
 (0)