mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
use basic ssml in speech test button to ensure normal functionality
This commit is contained in:
parent
41334ae375
commit
66eb0e5e95
@ -530,7 +530,12 @@ namespace Observatory.UI.Views
|
||||
"Move the vat over the hot fire."
|
||||
};
|
||||
|
||||
NotificationArgs args = new() { Title = "Speech Synthesis Test", Detail = harvardSentences.OrderBy(s => new Random().NextDouble()).First() };
|
||||
NotificationArgs args = new()
|
||||
{
|
||||
Title = "Speech Synthesis Test",
|
||||
TitleSsml = "<speak version=\"1.0\" xmlns=\"http://www.w3.org/2001/10/synthesis\" xml:lang=\"en-US\">Speech Synthesis Test</speak>",
|
||||
Detail = harvardSentences.OrderBy(s => new Random().NextDouble()).First()
|
||||
};
|
||||
|
||||
new NativeNotification.NativeVoice().EnqueueAndAnnounce(args);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user