Skip to content

Commit ba02fcb

Browse files
committed
Updates default Amazon Polly audio SampleRate to high quality.
1 parent ed41963 commit ba02fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/Amazon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected function getAudioUrl(): string
5353

5454
return $client->createSynthesizeSpeechPreSignedUrl([
5555
'OutputFormat' => $this->params['OutputFormat'] ?? 'mp3',
56-
'SampleRate' => $this->params['SampleRate'] ?? '8000',
56+
'SampleRate' => $this->params['SampleRate'] ?? '22050',
5757
'Text' => $this->params['text'],
5858
'TextType' => $this->params['TextType'] ?? 'text',
5959
'VoiceId' => $this->params['VoiceId'] ?? 'Joanna',

0 commit comments

Comments
 (0)