Volume control in Mplayer(SOLVED) Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

Locked
User avatar
Bospieper
Posts: 166
Joined: Thursday 07 November 2019 10:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: NL
Contact:

Volume control in Mplayer(SOLVED)

Post by Bospieper »

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.
Attachments
Mplayer_volume.JPG
Mplayer_volume.JPG (119.78 KiB) Viewed 2573 times
Last edited by Bospieper on Tuesday 24 November 2020 21:51, edited 1 time in total.
User avatar
Bospieper
Posts: 166
Joined: Thursday 07 November 2019 10:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: NL
Contact:

Re: Volume control in Mplayer (SOLVED)

Post by Bospieper »

Problem SOLVED
I was adjusting the wrong izsynth.conf file. It should be the /home/pi/.config/izsynth.conf file :oops:
Locked

Who is online

Users browsing this forum: No registered users and 0 guests