2019-10-08 12:07:29

Hey!
I know, I am very bad at searching stuff on the internet, but I have an idea why i really would love to implement!
What about writing a dummy SAPI5 engine, which, instead of passing the text spoken to a given synthesizer would dump in into system clipboard? It would make it possible for apps that relay on SAPI to be accessible with screenreaders.

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-10-08 12:14:28

Or a sapi engine which would redirect its input to screenreader. Not bad idea though, although sapi engines are also responsible for giving information about where they are during the synthesis, so this functionality would be most likely broken a bit.

Best regards

Rastislav

2019-10-08 12:19:21

Yes, but then we could concanenate and parse the results accordingly. This would slow down the process a bit but it will be faster than SAPI itself, anyway

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-10-08 12:43:33

I have a frame for a sapi engine in C++, I think if you know the com stuff, you can implement it quite easily. I haven't tried myself, one friend sent it to me some time ago, so I don't know if it works though. big_smile

Best regards

Rastislav

2019-10-08 13:29:52

Yeah, I'd be interested in that. A very nice challenge lol

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-10-08 17:58:00

Is it possible to write that engine in c#? I think I already know the answer to that, but I thought it may verry well be posted here.

2019-10-11 09:15:50

@7, if it's exposed through COM I don't see any reason why it shouldn't be possible

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-10-11 16:15:37 (edited by bgt lover 2019-10-11 16:34:06)

Com and .net? I never knew that this is possible but, as I never delved in the more windows specific parts of the framework and always thought of it like a better version of the java environment, this is not surprising. Could you give me an example of doing that?

2019-10-11 16:21:07

Well, I used that article

https://msdn.microsoft.com/en-us/ie/aa6 … 2147217396

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-10-11 16:56:14

Thank you for that article, it really is verry hard, that com. For now, I will just stay far away from it like the plague

2019-10-11 16:59:09

Read in once, then one more time and even one more. I believe you'll understand.

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-10-12 14:06:29

This could potentially work. Sapi sends information to the application letting it know when it's finished speaking. If someone could make use of the "Mary had a little lam" speech delay method seen in games such as Lone Wolf or Grave of Redemption, this may possibly suffice.

Discord: dangero#0750
Steam: dangero2000
TWITCH
YOUTUBE and YOUTUBE DISCORD SERVER

2019-10-13 15:49:26

Can you shed some light on how it worked? I never played these games.

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-10-13 20:18:09

hey,
you can interact through com with any language like python, C#, everything which let you call windows API.