izSynth: make domoticz talk with many TTS engines in a easy way

All kinds of 'OS' scripts

Moderator: leecollings

User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by DewGew »

jin wrote: Sunday 08 April 2018 16:36
glsf91 wrote: Thursday 15 March 2018 20:21 I get:

ERROR: wrong PLAYBACK engine specified: 'castnow'

please select an engine from the following list:

Engine Version Name HomePage
---------------- ---------- ---------------- --------
mplayer 2016-12-18 MPlayer http://www.mplayerhq.hu/


castnow is working when using command: castnow coldplay.mp3


What is going wrong?
Hi,

just updated izsynth to 4.9 release

Update with:

Code: Select all

cd /usr/local/bin && wget https://raw.githubusercontent.com/ugoviti/izsynth/master/izsynth -O izsynth && chmod 755 izsynth
  • Implemented generic playback engine support. You can use -k to specify your playback command, and -K for the command options
Let's me know if it works as expected

Kind Regards
I Tryed to update but i still got same error as EdddieN
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by DewGew »

EdddieN wrote: Wednesday 11 April 2018 16:43 Hello,

Any idea why is returning an error?
sudo izsynth "Door opens"
== [1/1] - izsynth Name:[Door_opens] ===========================================
Synthesizing - input:[/dev/shm/izsynth-20180411-153426/Door_opens.txt] engine:[naturalreaders] voice:[Peter] output:[/dev/shm/Door_opens.mp3] size:[4.0K] type:[text/plain] result:[ERROR]
The folder has full permissions, etc..
I tried with sudo and it generates de mp3 file but still results on ERROR
Seems like Natrualreader engine does not work. I change to google and now it works agian.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by EdddieN »

I’ll have to try, definitely easier TTS than pre recording mp3 files
11101101 - www.machinon.com
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by Vomera »

No Naturalreaders doesnt work anymore. I think they changed the subscription plan :)
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by JuanUil »

Naturalreaders not working with me as well
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by DewGew »

Natrualreaders is suppost to work now. Has anyone tested this?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by Vomera »

Hi, i test it again and updates to the latest version but it doesnt work:

Code: Select all

pi@Domoticz:~/domoticz$ ./izsynth -e naturalreaders -t "Hallo hier ben ik weer"
== [1/1] - izsynth Name:[Hallo_hier_ben_ik_weer-552258153] =====================
Synthesizing - input:[/home/pi/domoticz/shm/izsynth-20190516-094155/Hallo_hier_ben_ik_weer-552258153.txt] engine:[naturalreaders] voice:[nl-nl] output:[/home/pi/domoticz/shm/Hallo_hier_ben_ik_weer-552258153.mp3] size:[4.0K] type:[text/plain] result:[ERROR]
Is it because of the subscription plan
retikagore
Posts: 1
Joined: Tuesday 23 July 2019 11:26
Target OS: Linux
Domoticz version:
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by retikagore »

Thank for the information it was very useful.
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by Vomera »

I found an alternative, maybe someone can script something to use it ?

https://notevibes.com/

200 free characters for personal use
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: izSynth: make domoticz talk with many TTS engines in a easy way

Post by Bospieper »

Hello,
Can someone help me with the error I've get when performing the the following command:
izsynth Hello World, this is a testmessage
It looks like izsynth cannot find the .mp3 file.
Attachments
izsynth.JPG
izsynth.JPG (67.28 KiB) Viewed 1442 times
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: izSynth: make domoticz talk with many TTS engines in a easy way

Post by Bospieper »

Hi,
After some trial and error I have it partualy working that is I have no errors anymore when performing izsynth commands.
The solution was to use Voicerss instead of naturalspeak.
Now I have to solve the sound problem.
I am using bluetooth BT-Speaker. It is reconigzed bij izsynth as a sounddevice. I have adjusted the izsynth config file with: alsa:device=bt_speaker
When use the command: izsynth -e voicerss -v nl-nl -t "het is $(date +%H:%M)" I hear no sound
I have a valid APIKEY for Voicerss and it is in the izsynth config file.
jin
Posts: 62
Joined: Thursday 18 September 2014 20:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: izSynth: make domoticz talk with many TTS engines in a easy way

Post by jin »

Hi, using integrated sound card instead BT device works?
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: izSynth: make domoticz talk with many TTS engines in a easy way

Post by Bospieper »

Hi,
That I have not tested yet, because the Pi is suited in the fuse box not nearby the room were I want to use the speaking utility
When it is importent that it should be tested for further problem solving I will try it.
Piet
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest