Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Pour échanger sur les plugins classés en catégorie "Multimédia"
Avatar de l’utilisateur
Seb54
Timide
Messages : 136
Inscription : 30 déc. 2017, 11:04

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par Seb54 » 17 nov. 2018, 18:50

Bonjour à tous,

à moins que ça m'ait échappé dans ce fil, j'ai l'impression que la commande lecture de fichier ne supporte que des fichiers audio.
N'est il pas possible de lire des fichiers texte? Par exemple que je lui inscrit le chemin

Code : Tout sélectionner

/home/pi/Desktop/TTStest.odt
Rien ne se passe.

Merci pour votre attention

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par Fabrice » 17 nov. 2018, 22:18

Bonsoir.

Oui seul les fichiers audios sont lu. Pour le texte il faut le saisir dans une commande.
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

Avatar de l’utilisateur
Seb54
Timide
Messages : 136
Inscription : 30 déc. 2017, 11:04

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par Seb54 » 18 nov. 2018, 12:34

merci @fabrice, connais tu un moyen de rendre dynamique un texte lu? en variable, en script..., à partir d'un fichier texte?

herve0297
Timide
Messages : 61
Inscription : 25 sept. 2016, 17:32

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par herve0297 » 23 nov. 2018, 23:06

Bonjour, je suis sur jeedom smart. Je souhaite installé le plugin playtts , mais je n'arrive pas à installer les dépendances. Est ce que quelqu'un a déjà rencontré ce problème ?

herve0297
Timide
Messages : 61
Inscription : 25 sept. 2016, 17:32

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par herve0297 » 24 nov. 2018, 09:44

Bonjour, je n'arrive pas à installer correctement mon plugin. l'installation des dépendances ne se fait pas. Dans le log j'ai pas mal d'erreur, provenant notamment de "www.deb-multimedia.org".
Est ce que quelqu'un a déjà rencontré ce problème ?
Merci.

Code : Tout sélectionner

Log d’installation des dépendances : 

Début de l'installation
Installation mplayer
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version.
lsb-release set to manually installed.
software-properties-common is already the newest version.
The following package was automatically installed and is no longer required:
linux-headers-3.14.29+
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
liba52-0.7.4 libaa1 libaacplus2 libass5 libavcodec56 libavformat56
libavutil54 libbluray1 libbs2b0 libcaca0 libcdio-cdda1 libcdio-paranoia1
libcdio13 libdca0 libdirectfb-1.2-9 libdrm-nouveau2 libdrm-radeon1 libdrm2
libdv4 libdvdnav4 libdvdread4 libegl1-mesa libenca0 libfaac0 libfaad2
libfdk-aac1 libfribidi0 libgbm1 libgif4 libgl1-mesa-glx libglapi-mesa
libgraphite2-3 libgsm1 libharfbuzz0b liblircclient0 libltdl7 libmad0
libmp3lame0 libmpeg2-4 libmpg123-0 libopencore-amrnb0 libopencore-amrwb0
libopenjpeg5 liborc-0.4-0 libschroedinger-1.0-0 libsdl1.2debian libspeex1
libswresample1 libswscale3 libtheora0 libutvideo15 libvo-aacenc0
libvo-amrwbenc0 libvorbisidec1 libwayland-client0 libwayland-server0
libx264-146 libx265-51 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-sync1 libxcb-xfixes0
libxdamage1 libxfixes3 libxinerama1 libxshmfence1 libxss1 libxv1
libxvidcore4 libxvmc1 libxxf86dga1 libxxf86vm1 libzvbi-common libzvbi0
Suggested packages:
libbluray-bdj libdv-bin oss-compat libdvdcss2 lirc speex alsa-utils jackd
nas oss4-base pulseaudio libdvdcss mplayer-doc
Recommended packages:
libaacs0 libegl1-mesa-drivers libgl1-mesa-dri
The following NEW packages will be installed:
liba52-0.7.4 libaa1 libaacplus2 libass5 libavcodec56 libavformat56
libavutil54 libbluray1 libbs2b0 libcaca0 libcdio-cdda1 libcdio-paranoia1
libcdio13 libdca0 libdirectfb-1.2-9 libdrm-nouveau2 libdrm-radeon1 libdrm2
libdv4 libdvdnav4 libdvdread4 libegl1-mesa libenca0 libfaac0 libfaad2
libfdk-aac1 libfribidi0 libgbm1 libgif4 libgl1-mesa-glx libglapi-mesa
libgraphite2-3 libgsm1 libharfbuzz0b liblircclient0 libltdl7 libmad0
libmp3lame0 libmpeg2-4 libmpg123-0 libopencore-amrnb0 libopencore-amrwb0
libopenjpeg5 liborc-0.4-0 libschroedinger-1.0-0 libsdl1.2debian libspeex1
libswresample1 libswscale3 libtheora0 libutvideo15 libvo-aacenc0
libvo-amrwbenc0 libvorbisidec1 libwayland-client0 libwayland-server0
libx264-146 libx265-51 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-sync1 libxcb-xfixes0
libxdamage1 libxfixes3 libxinerama1 libxshmfence1 libxss1 libxv1
libxvidcore4 libxvmc1 libxxf86dga1 libxxf86vm1 libzvbi-common libzvbi0
mpg123 mplayer
0 upgraded, 80 newly installed, 0 to remove and 127 not upgraded.
Need to get 8,343 kB/15.1 MB of archives.
After this operation, 38.0 MB of additional disk space will be used.
Err http://www.deb-multimedia.org/ jessie/main libaacplus2 arm64 2.0.2-dmo2
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libavutil54 arm64 10:2.6.9-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libfaac0 arm64 1:1.28-dmo3+deb8u1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libfdk-aac1 arm64 1:0.1.4-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libmp3lame0 arm64 1:3.99.5-dmo4
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libswresample1 arm64 10:2.6.9-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libx264-146 arm64 3:0.146.2538+git121396c-dmo2
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libx265-51 arm64 1.6-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libxvidcore4 arm64 3:1.3.3-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libavcodec56 arm64 10:2.6.9-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libbluray1 arm64 2:0.7.0-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libavformat56 arm64 10:2.6.9-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main libswscale3 arm64 10:2.6.9-dmo1
404 Not Found [IP: 91.121.146.196 80]
Err http://www.deb-multimedia.org/ jessie/main mplayer arm64 3:1.1.1+20150226+svn37375-dmo5+deb8u3
404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Installation PicoTTS
'non-free' distribution component is already enabled for all sources.
'contrib' distribution component is already enabled for all sources.
Hit http://www.deb-multimedia.org jessie InRelease
Ign http://ftp.debian.org jessie InRelease
Ign http://repo.jeedom.com ./ InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Ign http://repo.jeedom.com ./ Release.gpg
Hit http://repo.jeedom.com ./ Release
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie-proposed-updates InRelease
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie-updates/contrib Sources
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [11.8 kB]
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Get:2 http://security.debian.org jessie/updates/main Sources [271 kB]
Get:3 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Get:4 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]
Get:5 http://security.debian.org jessie/updates/non-free Sources [1,627 B]
Get:6 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://ftp.debian.org jessie Release
Ign http://repo.jeedom.com ./ Translation-en_US
Ign http://repo.jeedom.com ./ Translation-en
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://repo.jeedom.com ./ Packages
Get:7 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]
Get:8 http://ftp.debian.org jessie-backports/contrib Sources/DiffIndex [27.8 kB]
Get:9 http://ftp.debian.org jessie-backports/non-free Sources/DiffIndex [26.0 kB]
Get:10 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Get:11 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [23.9 kB]
Get:12 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8,530 B]
Get:13 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7,960 B]
Get:14 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:15 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [19.1 kB]
Hit http://ftp.debian.org jessie-updates/non-free Sources
Get:16 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7,762 B]
Get:17 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [18.0 kB]
Get:18 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:19 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4,948 B]
Get:20 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [8,254 B]
Get:21 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:22 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8,392 B]
Get:23 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:24 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [18.0 kB]
Hit http://ftp.debian.org jessie/main Sources
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Hit http://ftp.debian.org jessie/main arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Hit http://oph.mdrjr.net all InRelease
Hit http://oph.mdrjr.net jessie InRelease
Get:25 http://oph.mdrjr.net all/c2 arm64 Packages
Get:26 http://oph.mdrjr.net all/main arm64 Packages
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Get:27 http://oph.mdrjr.net all/testing arm64 Packages
Hit http://oph.mdrjr.net all/main arm64 Packages
Get:28 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:29 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:30 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:31 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:32 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:33 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:34 http://oph.mdrjr.net jessie/backports arm64 Packages
Get:35 http://oph.mdrjr.net jessie/main arm64 Packages
Get:36 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:37 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:38 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Get:39 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:40 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:41 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:42 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:43 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:44 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:45 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:46 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:47 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:48 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:49 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:50 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:51 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:52 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:53 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:54 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:55 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:56 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:57 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:58 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:59 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:60 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:61 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:62 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:63 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:64 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:65 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:66 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:67 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:68 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:69 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:70 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Ign http://oph.mdrjr.net all/c2 Translation-en_US
Get:71 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:72 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Ign http://oph.mdrjr.net all/main Translation-en_US
Get:73 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:74 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Ign http://oph.mdrjr.net all/testing Translation-en_US
Get:75 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:76 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en_US
Get:77 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:78 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Ign http://oph.mdrjr.net jessie/main Translation-en_US
Get:79 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 363 kB in 21s (16.9 kB/s)
W: Failed to fetch http://security.debian.org/dists/jessie ... /InRelease Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://www.deb-multimedia.org/dists/jessie/InRelease Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
linux-headers-3.14.29+
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
libgsm1 libid3tag0 libltdl7 libmad0 libmp3lame0 libopencore-amrnb0
libopencore-amrwb0 libsox-fmt-alsa libsox-fmt-base libsox2 libttspico-data
libttspico0 libtwolame0 libvorbis0a libvorbisenc2 libvorbisfile3 libwavpack1
Suggested packages:
libsox-fmt-all
The following NEW packages will be installed:
libgsm1 libid3tag0 libltdl7 libmad0 libmp3lame0 libopencore-amrnb0
libopencore-amrwb0 libsox-fmt-alsa libsox-fmt-base libsox-fmt-mp3 libsox2
libttspico-data libttspico-utils libttspico0 libtwolame0 libvorbisfile3
libwavpack1 sox
The following packages will be upgraded:
libvorbis0a libvorbisenc2
2 upgraded, 18 newly installed, 0 to remove and 125 not upgraded.
Need to get 330 kB/5,714 kB of archives.
After this operation, 9,776 kB of additional disk space will be used.
Err http://www.deb-multimedia.org/ jessie/main libmp3lame0 arm64 1:3.99.5-dmo4
404 Not Found [IP: 91.121.146.196 80]
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found [IP: 91.121.146.196 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Ajout de www-data dans le groupe audio
Fin de l'installation</code>

Avatar de l’utilisateur
lunarok
Actif
Messages : 6704
Inscription : 08 août 2014, 12:48
Localisation : Anjou

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par lunarok » 24 nov. 2018, 14:15

Voir avec le support en choisissant bien 'core' car ça vient des dépôts de la smart
Mon Blog | Xiaomi Home
Pour contribuer au développement des plugins (don ou achat de matériel) : Paypal
Aides nous à t'aider : les logs, détails du soucis, la doc, recherche sur le forum ...
PS : pas de support par MP, je ne répondrais pas

herve0297
Timide
Messages : 61
Inscription : 25 sept. 2016, 17:32

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par herve0297 » 24 nov. 2018, 22:51

Merci lunarok pour ta réponse, mais je n’ai rien compris. Le support jeedom ? Choisir ' core' je ne sais pas ce que c'est , et les dépôts smart non plus.
Peux tu m'en dire plus ?
Ce plugin ne serait pas adapté à jeedom smart ?
Merci.

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par Fabrice » 25 nov. 2018, 11:13

Bonjour,

Depuis votre Jeedom, cliquer sur le (!) qui se situe en haut à droit du Dashboard.
Puis, sélectionnez dans la liste : Assistance techniquie, catégorie : Général
Titre ; Problème d'installation de dépendance sur la SMART
Message, expliquez votre problème et coller la log que vous avez placé ici.

C'est une demande de support.
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

herve0297
Timide
Messages : 61
Inscription : 25 sept. 2016, 17:32

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par herve0297 » 25 nov. 2018, 15:10

Merci Fabrice.

paulnux
Timide
Messages : 331
Inscription : 19 juil. 2015, 11:28
Localisation : 72

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par paulnux » 29 janv. 2019, 18:48

Bonjour,

Quel est l'endroit le mieux pour stoker des fichiers MP3 destiné à être lu par PlayTTS ?
Et le moyen le plus simple pour les transférer ? le plugin outil de développement ?
Jeedom Mini+, Zigate
Temp Xiaomi
Ouverture Xiaomi
Ampoule Ikea, Xiaomi
Détecteur mouvement Xiaomi

Pi3B+, ZStick GEN5, SENA UD100, Gateway Xiaomi
PSM02
FGMS-001
ZM1602
Ampoule Yeelight
Echo Plus
Nut mini
Balance Xiaomi
MiFlora
WorxLandroidS

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par Fabrice » 29 janv. 2019, 19:58

Bonsoir.

Pour le transfert il faut utiliser le logiciel winscp et l'emplacement c'est /home/dossier
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

paulnux
Timide
Messages : 331
Inscription : 19 juil. 2015, 11:28
Localisation : 72

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par paulnux » 29 janv. 2019, 20:19

Un grand merci pour les tuyaux Fabrice
Jeedom Mini+, Zigate
Temp Xiaomi
Ouverture Xiaomi
Ampoule Ikea, Xiaomi
Détecteur mouvement Xiaomi

Pi3B+, ZStick GEN5, SENA UD100, Gateway Xiaomi
PSM02
FGMS-001
ZM1602
Ampoule Yeelight
Echo Plus
Nut mini
Balance Xiaomi
MiFlora
WorxLandroidS

Avatar de l’utilisateur
kerdale
Actif
Messages : 1644
Inscription : 25 sept. 2016, 11:38
Localisation : Penn-ar-Bed

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par kerdale » 30 janv. 2019, 01:11

Perso j'utilise filezilla. même interface sous win,os x et linux, en plus fonctionne en drag and drop et permet de rectifier les droits sur les fichiers. Bon je sais qu'on préfère toujours le logiciel qu'on a l'habitude d'utiliser.
1 NUC & 1 RPI3/Msata V3.3.31, EnOcean, Z-wave,
Rflink, IPX800V3, carte 8 rl IP, IR_V3, Xiaomi gateway, JPI/APK/tel Android dédié, Somfy RTS, Rf433Mhz, Xiaomi, Bm280 , Broadlink,WifiLights

Avatar de l’utilisateur
kerdale
Actif
Messages : 1644
Inscription : 25 sept. 2016, 11:38
Localisation : Penn-ar-Bed

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par kerdale » 13 févr. 2019, 12:12

Bonjour,
J'ai un petit problème avec playTTS:
la fonction playTTS fichier fonctionne parfaitement, mon soucis ne porte QUE sur TTS message.
Depuis quelques jours playTTS ne lit plus le message à dire mais lit un fichier stocké dans le répertoire ou je stoke tous mes fichiers mp3 perso pour TTS et c'est toujours le même. Ceci quelle que soit la maninière d'appeler la commande #message#
Exemple avec le log suivant:
je veux lui faire dire le mot "message"

Code : Tout sélectionner

[2019-02-13 11:40:54][INFO] : Commande recue : message
[2019-02-13 11:40:54][DEBUG] : Lecture : tts message
[2019-02-13 11:40:54][DEBUG] : File : /tmp/78e731027d8fd50ed642340b7c9a63b3.mp3
Il ne dit pas "message" mais lit un tout autre fichier mp3 stocké dans /home/jeedom/tts

autre exemple:
dans l'équipement tts (je n'en n'ai qu'un),
à la commande #TTS# je clique sur "TESTER", voici le log:

Code : Tout sélectionner

[2019-02-13 11:43:45][INFO] : Commande recue : Ceci est un test de message pour la commande TTS
[2019-02-13 11:43:45][DEBUG] : Lecture : tts Ceci est un test de message pour la commande TTS
[2019-02-13 11:43:45][DEBUG] : File : /tmp/e8cc474ea63167f3acb02bf02654a0ae.mp3
Résultat idem, il lit toujours le même fichier mp3 situé en /home/jeedom/tts.
Je ne sais pas trop ou aller chercher pour rétablir le fonctionnement normal.
Comme j'ai un très grand nombre de commandes "play fichier", si je supprime playTTS pour le réinstaller, je perds toutes ces commande, qu'il va falloir recréer une à une, un boulot dingue. Donc une piste serait la bien venue et grandement appréciée.
Je suis sur Jeedom 3.2.16 Linux j100 4.9.0-8-686-pae #1 SMP Debian 4.9.130-2 (2018-10-27) i686 GNU/Linux [9.7] installé sur un NUC (direct, pas de VM) 10.1.37-MariaDB-0+deb9u1 plugin plyTTS à jour : Version2018-12-07 06:02:01 .
dépendances ok:

Code : Tout sélectionner

Début de l'installation
Installation mplayer
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (9.20161125).
mpg123 is already the newest version (1.23.8-1+b1).
mplayer is already the newest version (2:1.3.0-6).
software-properties-common is already the newest version (0.96.20.2-1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Installation PicoTTS
'non-free' distribution component is already enabled for all sources.
'contrib' distribution component is already enabled for all sources.
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
Hit:3 http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.fr.debian.org/debian stretch Release
Get:6 https://deb.nodesource.com/node_8.x stretch InRelease [4647 B]
Fetched 4647 B in 1s (2694 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libsox-fmt-mp3 is already the newest version (14.4.1-5+b2).
sox is already the newest version (14.4.1-5+b2).
libttspico-utils is already the newest version (1.0+git20130326-5).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Ajout de www-data dans le groupe audio
Fin de l'installation
in de l'installation
Question subsidiaire ou se trouve le répertoire /tmp qui contient les mp3 temporaire de play: [DEBUG] : File : /tmp/e8cc474ea63167f3acb02bf02654a0ae.mp3? J'ai fait un locate en ssh mais je ne le localise pas, j'ai des /tmp mais vides ou sans mp3.

Edit: si il est préférable d'ouvrir un sujet , dites, je le ferai
1 NUC & 1 RPI3/Msata V3.3.31, EnOcean, Z-wave,
Rflink, IPX800V3, carte 8 rl IP, IR_V3, Xiaomi gateway, JPI/APK/tel Android dédié, Somfy RTS, Rf433Mhz, Xiaomi, Bm280 , Broadlink,WifiLights

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par Fabrice » 13 févr. 2019, 13:18

Bonjour.

Le dossier se trouve à la racine /tmp
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

Avatar de l’utilisateur
kerdale
Actif
Messages : 1644
Inscription : 25 sept. 2016, 11:38
Localisation : Penn-ar-Bed

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par kerdale » 13 févr. 2019, 16:55

Ok merci
Donc mise à jour de mon problème TTS:
Avec l'indication de Frabrice, j'ai pu retrouver les fichiers mp3 généré avec toutes mes demandes TTS:
playTTS génère bien à chaque demande TTS un fichier mp3 dans le répertoire à la racine /tmp qui est censé contenir la demande en TTS. Et c'est là où c'est fun !! le contenu du fichier généré, par exemple 36b21737a4b5d15ece97f0f0568aa72.mp3 n'est pas du tout la phrase demandé mais toujours le même autre contenu qui n'a strictement rien à voir avec la demande !!
1 NUC & 1 RPI3/Msata V3.3.31, EnOcean, Z-wave,
Rflink, IPX800V3, carte 8 rl IP, IR_V3, Xiaomi gateway, JPI/APK/tel Android dédié, Somfy RTS, Rf433Mhz, Xiaomi, Bm280 , Broadlink,WifiLights

Avatar de l’utilisateur
kerdale
Actif
Messages : 1644
Inscription : 25 sept. 2016, 11:38
Localisation : Penn-ar-Bed

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par kerdale » 14 févr. 2019, 10:50

Mon problème résolu !!! Champagne !!
Dans le répertoire /tmp il y avait (entre autre) un fichier voice.wav que j'ai récupéré pour le lire et il contenait le fameux message répétitif parasite. Donc direction poubelle et immédiatement la douce voix suave de picoTTS est à nouveau là pour me lire mes messages TTS. Pour info voice.wav n'a pas été recréé par pico ou playTTS.
Par contre curieux de savoir comment ce voice.wav pouvait perturber picoTTS et play TTS, c'est peut etre prévu comme ça.
Enfin bien content que ça tourne au petit poil.
Merci Lunarok pour le plugin.

Edit: je pense que le pb était du à un problème de droits sur le fichier voice.wav:
le fichier voice.wav est recréé à chaque commande TTS mais celui recréé à des droits différents :644 (répertoire /tmp droits 777) et il contient bien le message TTS correspondant au texte de la commande TTS. Je pense que le fichier voice.wav que j'ai effacé devait avoir des droits incorrects l'empéchant d'etre réécrit par playTTS.
Voili voilou si ça peut servir ...
1 NUC & 1 RPI3/Msata V3.3.31, EnOcean, Z-wave,
Rflink, IPX800V3, carte 8 rl IP, IR_V3, Xiaomi gateway, JPI/APK/tel Android dédié, Somfy RTS, Rf433Mhz, Xiaomi, Bm280 , Broadlink,WifiLights

benj29
Actif
Messages : 3983
Inscription : 26 mars 2017, 09:57
Contact :

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par benj29 » 07 avr. 2019, 21:42

Bonsoir,

J'ai installé playtts sur mon jeedom principal.
j'ai installé mplayer via

Code : Tout sélectionner

apt-get update && apt-get install mplayer mencoder
sur une PI3 déportée avec un hp usb.

Mais quand je fais tts d'un message, rien ne sort.
J'ai regardé le fichier .conf de mplayer, je ne vois rien pour forcer la bonne sortie.

Image

La doc est un peu "faible" sur quoi installer ou paramétrer.
https://lunarok.github.io/jeedom_docs/plugins/playtts/

Seconde question, y a t'il possibilité de mettre Google (synthèse vocale) au lieu de PICO. Il me semble avoir vu que le plugin est basé sur PICO.

Avatar de l’utilisateur
Kenderv44
Timide
Messages : 56
Inscription : 07 févr. 2018, 16:21
Localisation : NANTES

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par Kenderv44 » 03 juin 2019, 13:58

Bonjour,
J'ai installé le plugin PlayTTS mais je n'ai aucun son que ce soit avec l'envoi d'un message TTS ou avec la lecture d'un fichier .mp3.
Pourtant lorsque je lance la commande : root@rpi3-....:/home/pi/Music# mplayer Test.mp3 j'ai les messages qui suivent et je reçois bien sur mon enceinte connectée à la prise jack de mon rpi le contenu du fichiers Test.mp3 haut et clair et à la bonne vitesse.
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing Test.mp3.
libavformat version 57.56.101 (external)
Mismatching header version 57.56.100
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 7.8 (07.7) of 172.0 (02:52.0) 2.7%

Exiting... (Quit)

Que signifient les lignes en italique ci-dessus et sont-elles celles qui empêchent PlayTTS de fonctionner ?
Si je fais volontairement une erreur dans le nom du fichier je reçois bien le message Fichier inexistant.

Edit : Au niveau de la config du plugin j'ai relancé les dépendances, le statut est OK mais dans Dernière installation je n'ai aucune date , seulement Inconnue. Est-ce que par hasard les dépendances ne se lanceraient pas ? et pourquoi ?

Un peu d'aide svp
Merci

Avatar de l’utilisateur
Kenderv44
Timide
Messages : 56
Inscription : 07 févr. 2018, 16:21
Localisation : NANTES

Re: [Plugin Tiers][Sujet Principal] PlayTTS : Jeedom parle et lit des fichiers

Message par Kenderv44 » 06 juin 2019, 10:43

Personne pour un peu d'aide sur le plugin playTTS ?
Merci

Répondre

Revenir vers « [Catégorie] Multimédia »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 11 invités