fix: Alexa TTS で locale を空にして日本語発話を修正
locale: 'ja-JP' を指定すると一瞬音が出るだけで発話されない問題を修正。 locale: '' (空文字) を使用するとデバイス設定の言語 (ja-jp) が使われ、 日本語・英語・漢字・ひらがな・カタカナ全て正常に発話される。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -136,7 +136,7 @@ app.post('/speak', async function(req, res) {
|
||||
deviceType: target.deviceType,
|
||||
deviceSerialNumber: target.serialNumber,
|
||||
customerId: customerId,
|
||||
locale: 'ja-JP',
|
||||
locale: '',
|
||||
textToSpeak: text,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user