If you are talking about the default voice, this is set in status - hub details. There is a drop-down with the hubitat accepted voices.
To expedite, and in case you are asking something more detailed:
The command (from Common Methods documentation) is
textToSpeech(String stringToBeSynthesized, String voice = null)
I assume that any of the drop-down voices could be used in the actual command. Sadly, the default "Speak" command does not take the voice parameter - it uses the set default. (Note the speak command comes from the capability Voice Synthesis".)
You could write an app that links to a speaker with audio notification capability, do the text-to-speech in the app, and send the tts comand output to the speaker in one of the following commands: Play Track, Play Track And Restore, or Play Track And Resume. Example:
child.playTrackAndResume(textToSpeech("Hello Everyone", "Nicole")). (Nicole is the name for Nicole, Female, Australian English from the drop-down. One of my favorite voices.)
Dave, a couple of days ago my voice notifications coming out of my 3 Samsung R1's stopped. I tracked it down to the following. I previously had the notifications come out as a music device, but it now only works if I switch it to be a speech device. Do you know why it would have just stopped working? I need it to come out as a music device so I can do the volume also, which is not an option on the speech devices.
I will look into problem. However, there is another way to control the device:
capability "AudioNotification"
command: playText(Text, Volume). Can also use other commands: See below.
It (the HW-N850) is very unlikely to operate at all. The integration is for Samsung Multiroom Audio devices (use a special port and protocol).
I will update title and put a note in top of thread.
It was indeed fixed, but I had to go through and re-save the audio notifications in RM. I deleted and reinstalled the Notification app. They both work now.
You have a soundbar. Prior to doing a play text of any type, you need to enter the API key from "Voice RSS - Registration". (the hubitat-generated TTS mp3 will not play on the Samsung Soundbar. Probably a sample rate limitation within the soundbar.)
I've had this working for a while but decided to update to your latest driver/app. I did a fresh install and haven't been able to find my speakers. I tried everything and it just will not find it. Had to restore to get it to work.. not sure whats up.