Ole8700 / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
1 stars 0 forks source link

TTS modifications #291

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just commit TTS change on my clone. Now voice can be selected, but also 
output device. Output device is only supported by OS X. 

My idea is to direct 'say' command to airplay or sonos devices. Airplay devices 
should be supported directly, just select correct output device. For Sonos, 
soundflower is need to create virtual output device and then use e.g. nicecast 
to broadcast audio as radio station to sonos device.

Could you check the modifications and give feedback?

test rules:

say("Welcome at openHab!")

var list1 = newArrayList("One parameter")
say(list1)

var list2 = newArrayList("Two parameters", "Alex")
say(list2)

var list3 = newArrayList("Three parameters", "Kathy", "Built-in Output")
say(list3)

Original issue reported on code.google.com by pauli.an...@gmail.com on 8 May 2013 at 8:56

GoogleCodeExporter commented 9 years ago
Sounds pretty useful, thanks. Will put it in my todo queue :-)

Original comment by kai.openhab on 8 May 2013 at 8:57

GoogleCodeExporter commented 9 years ago
I would agree. This is something that I have been attempting to do with 
Sonos.tts.php and OH. Would be nice if it was supported natively. 

Original comment by bmcro...@gmail.com on 6 Jul 2013 at 9:44

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 7 Aug 2013 at 7:18

GoogleCodeExporter commented 9 years ago
Code pushed with changeset 
https://code.google.com/p/openhab/source/detail?r=75e4fef8e3a6563dcd04ed71670495
1f8575ecf8.
Actions wiki page is already updated accordingly.

Original comment by kai.openhab on 7 Aug 2013 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 11 Aug 2013 at 7:30