On 6/26/2023 3:51 PM, Michael Van Canneyt via fpc-pascal wrote:
Try changing the selected voice to 0 instead of 1.
Yeah, already tried that, didn't help any. *grumble*
Because I use a screen reader, I have multiple sapi voices installed,
(though I rarely use them), but I haven't played with the code enough
just yet to see why it fails when it tries to select one, when not
selecting one works just fine <shrug>
It's important enough, I'll try to figure it out, but if it fails, it's
not a real issue, since the default voice is fine with me anyway.
On the screen reader, I actually use the espeak engine, so I don't use
the sapi voices under normal circumstances anyhow, but it would be
useful to know how to switch voices, perhaps I could add a read out loud
functionality to my epub reader. Some folks seem to like that sort of
thing.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal