Skip to content

Commit

Permalink
Disallow eSpeak voices (which do not seem to work in any case)
Browse files Browse the repository at this point in the history
Resolves Rollbar #26308
  • Loading branch information
Tkael committed Jun 29, 2024
1 parent 4229136 commit af5d352
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SpeechService/SpeechSynthesizers/SystemSpeechSynthesizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ bool TrySystemVoice ( VoiceDetails voiceDetails )
systemSpeechVoices = synth
.GetInstalledVoices()
.Where( v => v.Enabled &&
!v.VoiceInfo.Name.Contains( "Microsoft Server Speech Text to Speech Voice" ) )
!v.VoiceInfo.Name.Contains( "Microsoft Server Speech Text to Speech Voice" ) &&
!v.VoiceInfo.Name.Contains( "eSpeak" ) )
.ToList();
}

Expand Down

0 comments on commit af5d352

Please sign in to comment.