diff --git a/tts/google/index.js b/tts/google/index.js index 0725269..16b5c33 100644 --- a/tts/google/index.js +++ b/tts/google/index.js @@ -26,7 +26,7 @@ module.exports = class GoogleCloudTTS extends BaseEngine { const request = { input: { text: text }, voice: { name: this.voices[voice].name, languageCode: this.voices[voice].lang }, - audioConfig: { audioEncoding: 'OGG_OPUS', effectsProfileId: ['medium-bluetooth-speaker-class-device'] }, + audioConfig: { audioEncoding: 'LINEAR16' }, }; let [response] = await this.client.synthesizeSpeech(request); const writeFile = util.promisify(fs.writeFile);