Hi, i finally managed to integrate franfest module into festival. Franfest is a french synthesizer module for festival. It needs festival, mbrola and speech-tools. Mbrola is the native gentoo ebuild but i suggest you to try the speech-tools ebuild provided. I hope that could help gentoo to speak more easily french. French female (default) and male voices are available. Every options are not available for instance java and python wrappers (I'm sure it won't be difficult for you devs to make it working :). The ebuild was tested on x86 an x86_64 platforms. You will find more informations about the project at https://gna.org/projects/lliaphon and http://www.pollock-nageoire.net/festival/franfest.html LLiaPhon is also a text-to-speech application and they released a new version of franfest for festival 1.96 Feel free to improve franfest integration into gentoo environment. Visually impaired persons will for sure appreciate and certainly people learning french too. Jj
Created attachment 100361 [details] festival-1.95_beta-r2.ebuild
Created attachment 100362 [details] festival.rc
Created attachment 100363 [details, diff] festival-1.95_beta-asterisk.patch
Created attachment 100364 [details, diff] festival-1.95_beta-franfest.patch
Created attachment 100365 [details, diff] festival-1.95_beta-franfest_m4.patch
Created attachment 100366 [details, diff] festival-1.95_beta-gcc41.patch
Created attachment 100367 [details, diff] festival-1.95_beta-gcc41-amd64.patch
Created attachment 100368 [details, diff] festival-1.95_beta-gcc41-amd64-int-pointer.patch
Created attachment 100369 [details, diff] festival-1.95_beta-init-scm.patch
Created attachment 100370 [details, diff] festival-1.95_beta-languages.patch
Created attachment 100371 [details, diff] festival-1.95_beta-system.patch
Created attachment 100372 [details, diff] festival-1.95_beta-UniSyn_phonology.patch
Created attachment 100373 [details] franfest.mak
Created attachment 100374 [details] GentooLinux.mak
Created attachment 100375 [details] server.scm
Created attachment 100376 [details] x86_64_GentooLinux2.6.mak
Created attachment 100377 [details] speech-tools-1.2.95_beta-r2.ebuild needed for franfest
Created attachment 100378 [details] speech-tools files directory patches for the speech-tools ebuild
below this line, be careful (it isn't error free guaranteed :) -------------------------------------------- install festival and speech-tools in you overlay directory example, mkdir -p /usr/local/portage/overlay/app-accessibility/{festival,speech-tools}/files cd /usr/local/portage/overlay/app-accessibility cp speech-tools-1.2.95_beta-r2.ebuild speech-tools/ tar xjvf files-speech-tools-patches.tar.bz2 speech-tools/ ebuild speech-tools/speech-tools-1.2.95_beta-r2.ebuild digest cp festival-1.95_beta-r2.ebuild festival/ cp *.patch *.mak *.scm *.rc festival/files/ ebuild festival/festival-1.95_beta-r2.ebuild digest add /usr/local/portage/overlay to your PORTDIR_OVERLAY in /etc/make.conf
For people who have experiences about locales. I didn't find a way to convert the files twith some <81> characters in it. When i use french symbols like
For people who have experiences about locales. I didn't find a way to convert the files twith some <81> characters in it. When i use french symbols like ç i get that error, echo parlez-vous français | festival --language french --tts Phone "�" not member of PhoneSet "sampa_fr" Phone "�" not in PhoneSet "sampa_fr" I someone could find a solution for this, thank in advance :) Jj
To get rid of <81> characters in frantest.scm just add in src_unpack() epatch ${FILESDIR}/${P}-franfest_m4.patch + einfo "Clean up some strange characters present in franfest.scm" + ( + cd ${WORKDIR}/franfest/festival/lib/franfest + mv franfest.scm franfest.scm.tmp + cat franfest.scm.tmp | tr -d '\201' > franfest.scm + rm franfest.scm.tmp + )
(In reply to comment #20) > For people who have experiences about locales. > > I didn't find a way to convert the files twith some <81> characters in it. > > When i use french symbols like
(In reply to comment #20) > For people who have experiences about locales. > > I didn't find a way to convert the files twith some <81> characters in it. > > When i use french symbols like ç i get that error, > > echo parlez-vous français | festival --language french --tts > Phone "�" not member of PhoneSet "sampa_fr" > Phone "�" not in PhoneSet "sampa_fr" > > I someone could find a solution for this, thank in advance :) > > Jj > the soluce is iconv -f UTF-8 -t ISO_8859-1 echo éèàçê |iconv -f UTF-8 -t ISO_8859-1 | festival --language french --tts works
Created attachment 103484 [details] festival+speech-tools with franfest For people who don't want to be bored with all these files will certainly appreciate the tarball of the festival's tree. the tar file contains: app-accessibility/festival/ app-accessibility/festival/Manifest app-accessibility/festival/files/ app-accessibility/festival/files/digest-festival-1.95 app-accessibility/festival/files/festival-1.95_beta-system.patch app-accessibility/festival/files/festival-1.95_beta-UniSyn_phonology.patch app-accessibility/festival/files/festival-1.95_beta-init-scm.patch app-accessibility/festival/files/festival-1.96_beta-franfest-patch app-accessibility/festival/files/festival-1.95_beta-asterisk.patch app-accessibility/festival/files/festival-1.95_beta-gcc41.patch app-accessibility/festival/files/server.scm app-accessibility/festival/files/festival-1.95_beta-franfest_m4.patch app-accessibility/festival/files/festival-1.95_beta-languages.patch app-accessibility/festival/files/festival-1.95_beta-gcc41-amd64-int-pointer.patch app-accessibility/festival/files/x86_64_GentooLinux2.6.mak app-accessibility/festival/files/GentooLinux.mak app-accessibility/festival/files/franfest.mak app-accessibility/festival/files/digest-festival-1.95_beta-r2 app-accessibility/festival/files/digest-festival-1.95_beta-r3 app-accessibility/festival/files/festival-1.95_beta-franfest.patch app-accessibility/festival/files/festival-1.95_beta-gcc41-amd64.patch app-accessibility/festival/files/festival.rc app-accessibility/festival/festival-1.95_beta-r3.ebuild.BUG app-accessibility/festival/festival-1.95_beta-r2.ebuild app-accessibility/speech-tools/ app-accessibility/speech-tools/Manifest app-accessibility/speech-tools/files/ app-accessibility/speech-tools/files/speech-tools-1.2.95_beta-gcc41-amd64-int-pointer.patch app-accessibility/speech-tools/files/speech-tools-1.2.95_beta-system.patch app-accessibility/speech-tools/files/digest-speech-tools-1.2.95_beta-r2 app-accessibility/speech-tools/files/digest-speech-tools-1.2.95 app-accessibility/speech-tools/files/speech-tools-1.2.95_beta-gcc41.patch app-accessibility/speech-tools/files/speech-tools-1.2.95_beta-gcc41-amd64.patch app-accessibility/speech-tools/files/x86_64_GentooLinux2.6.mak app-accessibility/speech-tools/files/GentooLinux.mak app-accessibility/speech-tools/speech-tools-1.2.95_beta-r2.ebuild
*** Bug 118615 has been marked as a duplicate of this bug. ***
*** Bug 180661 has been marked as a duplicate of this bug. ***
Created attachment 121576 [details] security patch for festival (see bug 170477) Hello, i just added the security fix as described in bug 170477. Also, speech-tools ebuild isn't needed anymore. Please read duplicate 180661. The tar file festival.patch.tar.bz2 contains all the patches for the new ebuild. The ebuild was successfully tested on both x86 and amd64 architectures. Jj
Created attachment 121578 [details, diff] patches for ebuild festival-1.95_beta-r5.ebuild
Hello, Could you please submit an update for this with festival-1.96_beta and speech-tools-1.96_beta? Instead of a tarball of your app-accessibility directory, can you please submit unified diffs for the ebuilds? Also, for any other patches or new files, can you submit them as separate files and explain in the comments what they are? This will make things much easier to review. Thanks much for your help.
I am marking this as test-request for now. Once you have been able to test this as requested in comment #30, can you please re-open this bug? Thanks much, William