Volume control in Mplayer(SOLVED)
Posted: Sunday 22 November 2020 16:36
Hello,
I use the text to speech function on my BT-audio speaker. I am therefore using a small LUA script as described on the Domoticz fora.
Play_sound.sh
---------------------------------
#!/bin/sh
killall mplayer
izsynth -e google -v "$1" -t "$2"
#izsynth -e google -v nl'text here'
Volume = 10
--------------------------------------
Problem is that the volume is way to high when text is spoken. Tried adjusting the mplayer.conf file tried adjusting the izsynth.cnf file by adding for example PLAYBACK_VOLUME = "10" bud nothing works.
In the attachment you can see that the volume is at 50
I hope someone has had the same problem and can help me with a solution.
I use the text to speech function on my BT-audio speaker. I am therefore using a small LUA script as described on the Domoticz fora.
Play_sound.sh
---------------------------------
#!/bin/sh
killall mplayer
izsynth -e google -v "$1" -t "$2"
#izsynth -e google -v nl'text here'
Volume = 10
--------------------------------------
Problem is that the volume is way to high when text is spoken. Tried adjusting the mplayer.conf file tried adjusting the izsynth.cnf file by adding for example PLAYBACK_VOLUME = "10" bud nothing works.
In the attachment you can see that the volume is at 50
I hope someone has had the same problem and can help me with a solution.