Wiki source for CompileLLiaPhon
in CompilePrograms > ""LLiaPhon""
===Infos about ""LLiaPhon""===
see https://gna.org/projects/lliaphon/
I'm trying to compile first release candidate for Franfest compatible with Festival 1.96-beta https://gna.org/forum/forum.php?forum_id=1346
I'm using Mandriva 2007.0 x86_64 and it nearly works.
check http://wiki.eagle-usb.org/wakka.php?wiki=SyntheseParole for some other links
===Compiling===
for no speech synthesis during make (which slows horribly the compilation):
./configure --with-audiofeedback=n
===Corrections applied===
~- when compiling for x86_64, gcc complains for conversion (cast) of a pointer to an int, a quick & dirty workaround is using a long int.
~- in /usr/local/share/speech_tools/include/EST_simplestats.h
%%/// Used for iterating through members of the distribution
long int item_start() const;
/// Used for iterating through members of the distribution
long int item_next(int idx) const;
%%
~- in /usr/local/share/speech_tools/stats/EST_DProbDist.cc
%%// For iterating through members of a probability distribution
// replace int by long int here for x86_64, why isn't it a pointer ?
long int EST_DiscreteProbDistribution::item_start(void) const
{
if (type == tprob_discrete)
return 0;
else
return (long int)scounts.list.head();
}
int EST_DiscreteProbDistribution::item_end(int idx) const
{
if (type == tprob_discrete)
return (idx >= icounts.length());
else
return ((EST_Litem *)idx == 0);
}
// replace int by long int here for x86_64, why isn't it a pointer ?
long int EST_DiscreteProbDistribution::item_next(int idx) const
{
if (type == tprob_discrete)
return ++idx;
else
return (long int)next((EST_Litem *)idx);
}%%
~- afterwards, it compiles successfully (though applying this patch is complicated by the fact that the Makefile automatically downloads the archives then extract them (erasing corrections done). This should be applied upstream.
===Some interesting links===
http://www.culte.org/listes/biglux/ [fr] mailing-list for subjects like lliaphon (hard to find)
http://www.culte.org/listes/ to subscribe, just send a mail to the biglux-subscribe at CULTe.org with empty subject (as usual you'll receive a confirmation e-mail)
check http://wiki.eagle-usb.org/wakka.php?wiki=SyntheseParole for more links
http://jmvanel.free.fr/tts/LIA_PHONE.fr.html [fr] 2003 first test
http://jmvanel.free.fr/tts/toc.html tests of others tts solutions
http://www.atala.org/article.php3?id_article=167 [fr] description of lia_phon (should be updated)
===Infos about ""LLiaPhon""===
see https://gna.org/projects/lliaphon/
I'm trying to compile first release candidate for Franfest compatible with Festival 1.96-beta https://gna.org/forum/forum.php?forum_id=1346
I'm using Mandriva 2007.0 x86_64 and it nearly works.
check http://wiki.eagle-usb.org/wakka.php?wiki=SyntheseParole for some other links
===Compiling===
for no speech synthesis during make (which slows horribly the compilation):
./configure --with-audiofeedback=n
===Corrections applied===
~- when compiling for x86_64, gcc complains for conversion (cast) of a pointer to an int, a quick & dirty workaround is using a long int.
~- in /usr/local/share/speech_tools/include/EST_simplestats.h
%%/// Used for iterating through members of the distribution
long int item_start() const;
/// Used for iterating through members of the distribution
long int item_next(int idx) const;
%%
~- in /usr/local/share/speech_tools/stats/EST_DProbDist.cc
%%// For iterating through members of a probability distribution
// replace int by long int here for x86_64, why isn't it a pointer ?
long int EST_DiscreteProbDistribution::item_start(void) const
{
if (type == tprob_discrete)
return 0;
else
return (long int)scounts.list.head();
}
int EST_DiscreteProbDistribution::item_end(int idx) const
{
if (type == tprob_discrete)
return (idx >= icounts.length());
else
return ((EST_Litem *)idx == 0);
}
// replace int by long int here for x86_64, why isn't it a pointer ?
long int EST_DiscreteProbDistribution::item_next(int idx) const
{
if (type == tprob_discrete)
return ++idx;
else
return (long int)next((EST_Litem *)idx);
}%%
~- afterwards, it compiles successfully (though applying this patch is complicated by the fact that the Makefile automatically downloads the archives then extract them (erasing corrections done). This should be applied upstream.
===Some interesting links===
http://www.culte.org/listes/biglux/ [fr] mailing-list for subjects like lliaphon (hard to find)
http://www.culte.org/listes/ to subscribe, just send a mail to the biglux-subscribe at CULTe.org with empty subject (as usual you'll receive a confirmation e-mail)
check http://wiki.eagle-usb.org/wakka.php?wiki=SyntheseParole for more links
http://jmvanel.free.fr/tts/LIA_PHONE.fr.html [fr] 2003 first test
http://jmvanel.free.fr/tts/toc.html tests of others tts solutions
http://www.atala.org/article.php3?id_article=167 [fr] description of lia_phon (should be updated)