Hi all,
just released a github update with these new features, updates izsynth as usual.
by default izsynth play TTS audio files using mplayer, so you can force mplayer to use a specific alsa audio sink in the following ways:
via configuration file: (
$HOME/.config/izsynth/izsynth.conf)
Code: Select all
# default playback device
PLAYBACK_DEVICE="alsa"
or:
Code: Select all
# default playback device
PLAYBACK_DEVICE="alsa:device=bluetooth"
or via command
-d option, example:
Code: Select all
izsynth -e naturalreaders -v Peter -t "Welcome home, mr Stark." -w -d alsa:device=hw=0.0
or
Code: Select all
izsynth -e naturalreaders -v Peter -t "Welcome home, mr Stark." -w -d alsa:device=bluetooth
to list all alsa devices, you can run:
so you can choose every time from domoticz where output your TTS messages
for bluetooth audio devices setup you can follow that domoticz wiki page:
http://www.domoticz.com/wiki/BTAudio
please debug the new features and let me know
kind regards