offline-tts
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "offline-tts", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Easily convert text to speech, even offline!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -35,9 +35,18 @@ # offline-tts | ||
<div className="App"> | ||
<button | ||
onClick={() => { | ||
speak("Hello world, this is offline text to speech!", 2, 1.5, 0.8, 0.6); | ||
speak( | ||
// text | ||
"hi there, how are you. This is offline text to speech!", | ||
// voice | ||
2, | ||
// speed | ||
1.5, | ||
// volume | ||
0.8, | ||
// pitch | ||
0.6 | ||
); | ||
}} | ||
> | ||
speak | ||
@@ -44,0 +53,0 @@ </button> |
1851
56