mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Change default rate to 1.1
This commit is contained in:
parent
ddd1e84686
commit
f2a69d06c4
2 changed files with 4 additions and 3 deletions
|
|
@ -69,6 +69,7 @@ export function textToSpeechRouter() {
|
|||
options: {
|
||||
primaryVoice: userPersonalization?.speechVoice || 'Axel',
|
||||
secondaryVoice: 'Evelyn',
|
||||
language: page.language,
|
||||
},
|
||||
})
|
||||
|
||||
|
|
@ -81,8 +82,8 @@ export function textToSpeechRouter() {
|
|||
voice: utterance.voice || 'Axel',
|
||||
priority: 'high',
|
||||
isUltraRealisticVoice: true,
|
||||
language: page.language || 'English',
|
||||
rate: '1.1',
|
||||
language: speechFile.language,
|
||||
rate: userPersonalization?.speechRate?.toString() || '1.1',
|
||||
})
|
||||
logger.info('Start Text to speech task', { taskName })
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export type SSMLOptions = {
|
|||
const DEFAULT_LANGUAGE = 'en-US'
|
||||
const DEFAULT_VOICE = 'en-US-JennyNeural'
|
||||
const DEFAULT_SECONDARY_VOICE = 'en-US-GuyNeural'
|
||||
const DEFAULT_RATE = '1.0'
|
||||
const DEFAULT_RATE = '1.1'
|
||||
|
||||
const ANCHOR_ELEMENTS_BLOCKED_ATTRIBUTES = [
|
||||
'omnivore-highlight-id',
|
||||
|
|
|
|||
Loading…
Reference in a new issue