I have three TTS voices. What I'd like to do is have one voice used all day and then change to another voice the next day and so on.
I am aware of the voice tag <voice required=Name=> . I have not figured a way to insert a variable within the voice tag. If there is a way to do this, then that would be an easy solution, but I'm not sure it's possible. Since I have nearly 100 announcement events, the thought of adding three if/thens in each event is a little disconcerting.
When I try hs.setvoice, the voice changes in speaker.exe, but the Sonos plugin is apparently not using speaker tts and instead windows tts, so this won't work. I have asked how to change windows tts voice by script, https://forums.homeseer.com/showthread.php?p=1290902 but no solution has come about yet.
Any ideas ?
Edit: I found a way to do this with voice tag using replacement variable $$DSR:
I am aware of the voice tag <voice required=Name=> . I have not figured a way to insert a variable within the voice tag. If there is a way to do this, then that would be an easy solution, but I'm not sure it's possible. Since I have nearly 100 announcement events, the thought of adding three if/thens in each event is a little disconcerting.
When I try hs.setvoice, the voice changes in speaker.exe, but the Sonos plugin is apparently not using speaker tts and instead windows tts, so this won't work. I have asked how to change windows tts voice by script, https://forums.homeseer.com/showthread.php?p=1290902 but no solution has come about yet.
Any ideas ?
Edit: I found a way to do this with voice tag using replacement variable $$DSR:
Comment