I understand that, but my point and part of the original request wasn’t about having LANnouncer in Windows, though that would be awesome.
It was more specifically about wanting to use a specific voice in Windows.
Example: If I want a male voice in the home instead of the generic one that all of the applications seem to use (SmartThings. Ule’s alternatives, etc), the only way to do that is to utilize a speech engine on a local system, or develop a variation of one of the many smartapps that are already out there.
I have a specific voice in Windows from Ivona that I would prefer to have above all others. It is the most fluid and consistent voice I have heard so far.
Unfortunately, the voice is ONLY available for Windows from Ivona… So the only way to hear it is to use the Windows system as the actually TTS source and either have the Windows system build an MP3 file so that SmartThings can tell the Sonos or DLNA or other device type to play the MP3 that was built on Windows, or to have Windows itself play the audio.
The event flow that currently happens is as follows:
Event happens in ST. Notification for event is configured to play on Sonos in Living Room.
ST sends TTS request to cloud server, then provides URL for MP3 file created by cloud server to Sonos.
Sonos plays audio “Event happened.”, or whatever the TTS request was for… EG “Good morning, it is 7:32AM and it is raining noodles outside”
What I’m asking about is this:
Event happens in ST. Notification for event is configured to play on Sonos in Living Room.
ST sends TTS request to Windows system MS Speech API on local system. Speech API generates MP3 file and makes available via web server on Windows system, then provides URL for MP3 file created by Speech API to Sonos.
Sonos plays audio “Event happened.”, or whatever the TTS request was for… EG “Good morning, it is 7:32AM and it is raining noodles outside”
The advantages are huge for this. The response is over the LAN, so playback of audio would be considerably quicker, and you’d get to choose your own voice on the system in question.
The other side of this coin is: A SmartApp that can call MP3 files from a local server for notifications.
If I want to have a professional voice actor record certain notifications for my home, I can then tell the SmartApp to play the file on my local server in my home. Whether that be a SMB style path or a Web URL from a local web server (a Pi would be perfect for either of these).
So I can have Darth Vader greet me when I get home every day because of the audio files I have stored locally and made available to ST.