also looking at this
meemalabs/laravel-text-to-speech
Added support for speech marks.
#26
7 files
+125
-19
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -53,6 +53,10 @@ $path = TextToSpeech::language('ja-JP') | ||
| 53 | 53 | // use the SSML text type in the convert() method. |
| 54 | 54 | $path = TextToSpeech::ssml() |
| 55 | 55 | ->convert('<speak>Hi There <break /> This is SSML syntax</speak'); |
| 56 | ||
| 57 | // using speech marks. | |
| 58 | $output = TextToSpeech::speechMarks(['sentence', 'word', 'viseme', 'ssml']) | |
| 59 | ->convert('This is a test'); // This will return an array. | |
| 56 | 60 | ``` |
| 57 | 61 | |
| 58 | 62 | ## Installation |