ReviewOS

also looking at this

meemalabs/laravel-text-to-speech

Added support for speech marks.

#26
Merged luigel wants to merge feature/add-support-for-speech-marks into main
7 files +125 -19
README.mdmodified+13-1
Changes to README.md
@@ -53,6 +53,10 @@ $path = TextToSpeech::language('ja-JP')
5353// use the SSML text type in the convert() method.
5454$path = TextToSpeech::ssml()
5555 ->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.
5660```
5761
5862## Installation
@@ -159,7 +163,7 @@ return [
159163 'polly' => [
160164 /**
161165 * Voice ID to use for the synthesis.
162 * You may use any of the following:
166 * You may use any of the following:.
163167 *
164168 * Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla, Carmen, Celine,
165169 * Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa, Filiz,
@@ -171,6 +175,14 @@ return [
171175 */
172176 'voice_id' => env('AWS_VOICE_ID', 'Amy'),
173177
178 /**
179 * You can request any or all of the speech mark types, but leave it empty if you don't use speech marks.
180 * You may add any of the following:.
181 *
182 * sentence, word, viseme, ssml
183 */
184 'speech_marks' => [],
185
174186 /**
175187 * IAM Credentials from AWS.
176188 */