[DEV] continue continue building of elements

This commit is contained in:
Edouard DUPIN 2015-09-20 22:04:36 +02:00
parent 2b2ed4c074
commit 36e2a36a93
6 changed files with 750 additions and 2 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "festival"]
path = festival
url = https://github.com/generic-library/festival
[submodule "speech_tools"]
path = speech_tools
url = https://github.com/generic-library/speech-tools.git

296
lutin_estbase.py Normal file
View File

@ -0,0 +1,296 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import os
def get_desc():
return "festival TTS engine"
def create(target):
myModule = module.Module(__file__, 'eststring', 'LIBRARY')
myModule.add_src_file([
"speech_tools/rxp/charset.c",
"speech_tools/rxp/dtd.c",
"speech_tools/rxp/string16.c",
"speech_tools/rxp/url.c",
"speech_tools/rxp/ctype16.c",
"speech_tools/rxp/input.c",
"speech_tools/rxp/stdio16.c",
"speech_tools/rxp/system.c",
"speech_tools/rxp/xmlparser.c"
])
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "speech_tools/include"))
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "speech_tools/include/rxp"))
myModule.compile_flags('c++', "-DCHAR_SIZE=8")
return myModule
"""
Making in directory ./audio ...
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include gen_audio.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include nas.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include esd.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include sun16audio.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include mplayer.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include win32audio.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include irixaudio.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include os2audio.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include macosxaudio.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_ALSALINUX -I../include linux_sound.cc
Update library estbase
a - gen_audio.o
a - nas.o
a - esd.o
a - sun16audio.o
a - mplayer.o
a - win32audio.o
a - irixaudio.o
a - os2audio.o
a - macosxaudio.o
a - linux_sound.o
"""
"""
Making in directory ./utils ...
gcc -c -fno-implicit-templates -O3 -Wall -I../include cmd_line.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include util_io.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include filetrans.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include cmd_line_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_swapping.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES est_file.cc
gcc -c -O3 -Wall -I../include -DESTNAME='Edinburgh Speech Tools Library' -DESTDATE='December 2014' -DESTVERSION='2.4' -DESTLIBDIRC='/home/edupin/dev/speech_tools/lib' -DESTSTATE='release' -DESTOSTYPE='unknown_DebianGNULinux' EST_cutils.c
gcc -c -O3 -Wall -I../include EST_error.c
gcc -c -O3 -Wall -I../include walloc.c
gcc -c -O3 -Wall -I../include system_specific_unix.c
Update library estbase
a - cmd_line.o
a - util_io.o
a - filetrans.o
a - cmd_line_aux.o
a - EST_swapping.o
a - est_file.o
a - EST_cutils.o
a - EST_error.o
a - walloc.o
a - system_specific_unix.o
"""
"""
Making in directory ./base_class ...
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_UList.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Option.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_StringTrie.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Token.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include vec_mat_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Pathname_unix.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include THash_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_FMatrix.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Complex.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Val.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_matrix_support.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include rateconv.cc -o rateconv.o
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_IMatrix.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_SMatrix.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_DMatrix.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include vec_mat_aux_d.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_FeatureData.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_slist_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_svec_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_ilist_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_features_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_features_io.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include vec_mat_aux_i.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_Featured.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_Features.cc
Update library estbase
a - EST_UList.o
a - EST_Option.o
a - EST_StringTrie.o
a - EST_Token.o
a - vec_mat_aux.o
a - EST_Pathname_unix.o
a - THash_aux.o
a - EST_FMatrix.o
a - EST_Complex.o
a - EST_Val.o
a - EST_matrix_support.o
a - rateconv.o
a - EST_IMatrix.o
a - EST_SMatrix.o
a - EST_DMatrix.o
a - vec_mat_aux_d.o
a - EST_FeatureData.o
a - EST_slist_aux.o
a - EST_svec_aux.o
a - EST_ilist_aux.o
a - EST_features_aux.o
a - EST_features_io.o
a - vec_mat_aux_i.o
a - EST_Featured.o
a - EST_Features.o
"""
"""
Making in directory base_class/inst_tmpl ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_i_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_si_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_f_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_d_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_c_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_s_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_val_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_li_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_vs_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES list_vi_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES matrix_i_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES matrix_si_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES matrix_f_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES matrix_d_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES matrix_s_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES matrix_val_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_i_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_si_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_f_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_d_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_c_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_s_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_val_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_ls_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_fvector_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_fmatrix_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_dvector_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES vector_dmatrix_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_fi_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_ii_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_sd_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_sf_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_ss_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_si_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_sv_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_rs_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kvl_vpi_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_fi_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_ii_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_sd_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_sf_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_ss_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_si_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_sv_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_iv_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_sfmp_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES hash_srp.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES tbuffer_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES deq_s_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES deq_i_t.cc
Update library estbase
a - list_i_t.o
a - list_si_t.o
a - list_f_t.o
a - list_d_t.o
a - list_c_t.o
a - list_s_t.o
a - list_val_t.o
a - list_li_t.o
a - list_vs_t.o
a - list_vi_t.o
a - matrix_i_t.o
a - matrix_si_t.o
a - matrix_f_t.o
a - matrix_d_t.o
a - matrix_s_t.o
a - matrix_val_t.o
a - vector_i_t.o
a - vector_si_t.o
a - vector_f_t.o
a - vector_d_t.o
a - vector_c_t.o
a - vector_s_t.o
a - vector_val_t.o
a - vector_ls_t.o
a - vector_fvector_t.o
a - vector_fmatrix_t.o
a - vector_dvector_t.o
a - vector_dmatrix_t.o
a - kvl_fi_t.o
a - kvl_ii_t.o
a - kvl_sd_t.o
a - kvl_sf_t.o
a - kvl_ss_t.o
a - kvl_si_t.o
a - kvl_sv_t.o
a - kvl_rs_t.o
a - kvl_vpi_t.o
a - hash_fi_t.o
a - hash_ii_t.o
a - hash_sd_t.o
a - hash_sf_t.o
a - hash_ss_t.o
a - hash_si_t.o
a - hash_sv_t.o
a - hash_iv_t.o
a - hash_sfmp_t.o
a - hash_srp.o
a - tbuffer_t.o
a - deq_s_t.o
a - deq_i_t.o
"""
"""
Making in directory ./ling_class ...
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Item.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Item_Content.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include item_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_relation_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_relation_track.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include relation_io.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_relation_compare.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include standard_feature_functions.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Relation_mls.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_item_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_item_content_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Relation.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES -DINCLUDE_XML_FORMATS EST_UtteranceFile.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES -DESTLIBDIRC='/home/edupin/dev/speech_tools/lib' genxml.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES -DINCLUDE_XML_FORMATS EST_utterance_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES -DINCLUDE_XML_FORMATS ling_class_init.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES ling_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_Utterance.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES item_feats.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES apml.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES solexml.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_FeatureFunctionPackage.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_FeatureFunctionContext.cc
Update library estbase
a - EST_Item.o
a - EST_Item_Content.o
a - item_aux.o
a - EST_relation_aux.o
a - EST_relation_track.o
a - relation_io.o
a - EST_relation_compare.o
a - standard_feature_functions.o
a - EST_Relation_mls.o
a - EST_item_aux.o
a - EST_item_content_aux.o
a - EST_Relation.o
a - EST_UtteranceFile.o
a - genxml.o
a - EST_utterance_aux.o
a - ling_class_init.o
a - ling_t.o
a - EST_Utterance.o
a - item_feats.o
a - apml.o
a - solexml.o
a - EST_FeatureFunctionPackage.o
a - EST_FeatureFunctionContext.o
"""

243
lutin_estools.py Normal file
View File

@ -0,0 +1,243 @@
$ cd ../speech_tools/
[ ALD-1354-DE : edupin ](git:master)~/dev/speech_tools
$ make
Making in directory ./siod ...
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_core.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_doc.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_file.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_format.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_list.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_math.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_sys.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_server.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_str.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_xtr.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_repl.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include slib_python.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include io.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include trace.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include -DINSTANTIATE_TEMPLATES siod.cc
gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include -DINSTANTIATE_TEMPLATES siod_est.cc
gcc -c -O3 -Wall -DSUPPORT_EDITLINE -I../include siodeditline.c
gcc -c -O3 -Wall -DSUPPORT_EDITLINE -I../include el_complete.c
gcc -c -O3 -Wall -DSUPPORT_EDITLINE -I../include editline.c
gcc -c -O3 -Wall -DSUPPORT_EDITLINE -I../include el_sys_unix.c
Update library estools
a - slib.o
a - slib_core.o
a - slib_doc.o
a - slib_file.o
a - slib_format.o
a - slib_list.o
a - slib_math.o
a - slib_sys.o
a - slib_server.o
a - slib_str.o
a - slib_xtr.o
a - slib_repl.o
a - slib_python.o
a - io.o
a - trace.o
a - siod.o
a - siod_est.o
a - siodeditline.o
a - el_complete.o
a - editline.o
a - el_sys_unix.o
Making in directory ./speech_class ...
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Wave.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_track_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_wave_temp.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_wave_cuts.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include ssff.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include esps_io.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include esps_utils.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_wave_io.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_wave_utils.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_TrackMap.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_Track.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES wave_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES track_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_wave_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_TrackFile.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_WaveFile.cc
look at library estools
a - EST_Wave.o
a - EST_track_aux.o
a - EST_wave_temp.o
a - EST_wave_cuts.o
a - ssff.o
a - esps_io.o
a - esps_utils.o
a - EST_wave_io.o
a - EST_wave_utils.o
a - EST_TrackMap.o
a - EST_Track.o
a - wave_t.o
a - track_t.o
a - EST_wave_aux.o
a - EST_TrackFile.o
a - EST_WaveFile.o
Making in directory ./sigpr ...
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES EST_Window.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include delta.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include filter.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include sigpr_frame.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include sigpr_utt.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include pitchmark.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include spectrogram.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include misc.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include fft.cc
look at library estools
a - EST_Window.o
a - delta.o
a - filter.o
a - sigpr_frame.o
a - sigpr_utt.o
a - pitchmark.o
a - spectrogram.o
a - misc.o
a - fft.o
look at library eststring
Making in directory sigpr/pda ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../include pcb_smoother.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include smooth_pda.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include pda.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include srpd1.3.cc
look at library estools
a - pcb_smoother.o
a - smooth_pda.o
a - pda.o
a - srpd1.3.o
look at library eststring
Making in directory ./stats ...
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_cluster.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_multistats.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include confusion.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_Discrete.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_DProbDist.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_ols.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include EST_viterbi.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../include -DINSTANTIATE_TEMPLATES dynamic_program.cc
look at library estools
a - EST_cluster.o
a - EST_multistats.o
a - confusion.o
a - EST_Discrete.o
a - EST_DProbDist.o
a - EST_ols.o
a - EST_viterbi.o
a - dynamic_program.o
look at library eststring
Making in directory stats/wagon ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../include dlist.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include wagon_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include wagonint.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES wagon.cc
Update library estools
a - dlist.o
a - wagon_aux.o
a - wagonint.o
a - wagon.o
look at library eststring
Making in directory stats/kalman_filter ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../include EST_kalman.cc
Update library estools
a - EST_kalman.o
Making in directory ./grammar ...
Making in directory grammar/scfg ...
making dependencies -- EST_SCFG.cc EST_SCFG_inout.cc EST_SCFG_Chart.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES EST_SCFG.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES EST_SCFG_inout.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include EST_SCFG_Chart.cc
Update library estools
a - EST_SCFG.o
a - EST_SCFG_inout.o
a - EST_SCFG_Chart.o
Making in directory grammar/wfst ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES EST_WFST.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES wfst_regex.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES wfst_ops.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES wfst_transduce.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES kkcompile.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include wfst_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include ltscompile.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include rgcompile.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include tlcompile.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include wfst_train.cc
Update library estools
a - EST_WFST.o
a - wfst_regex.o
a - wfst_ops.o
a - wfst_transduce.o
a - kkcompile.o
a - wfst_aux.o
a - ltscompile.o
a - rgcompile.o
a - tlcompile.o
a - wfst_train.o
Making in directory grammar/ngram ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../include -DINSTANTIATE_TEMPLATES lattice_t.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include EST_Ngrammar.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include ngrammar_io.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include ngrammar_aux.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include ngrammar_utils.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include EST_lattice.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include EST_lattice_io.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include freqsmooth.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include EST_PST.cc
Update library estools
a - lattice_t.o
a - EST_Ngrammar.o
a - ngrammar_io.o
a - ngrammar_aux.o
a - ngrammar_utils.o
a - EST_lattice.o
a - EST_lattice_io.o
a - freqsmooth.o
a - EST_PST.o
Making in directory ./intonation ...
Making in directory intonation/tilt ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../include tilt_analysis.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include tilt_synthesis.cc
gcc -c -fno-implicit-templates -O3 -Wall -I../../include tilt_utils.cc
Update library estools
a - tilt_analysis.o
a - tilt_synthesis.o
a - tilt_utils.o

27
lutin_eststring.py Normal file
View File

@ -0,0 +1,27 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import os
def get_desc():
return "festival TTS engine"
def create(target):
myModule = module.Module(__file__, 'eststring', 'LIBRARY')
myModule.add_src_file([
"speech_tools/base_class/string/EST_String.cc",
"speech_tools/base_class/string/EST_Regex.cc",
"speech_tools/base_class/string/EST_Chunk.cc",
"speech_tools/base_class/string/regexp.cc",
"speech_tools/base_class/string/regerror.c",
"speech_tools/base_class/string/regsub.c",
"speech_tools/base_class/string/EST_strcasecmp.c",
])
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "speech_tools/include"))
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "speech_tools/base_class/string/"))
myModule.compile_flags('c++', "-fno-implicit-templates")
return myModule

View File

@ -1,6 +1,7 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import os
def get_desc():
return "festival TTS engine"
@ -8,11 +9,188 @@ def get_desc():
def create(target):
myModule = module.Module(__file__, 'festival', 'LIBRARY')
myModule.add_src_file([
# TODO: ...
'festival/src/arch/festival/festival.cc',
'festival/src/arch/festival/web.cc',
'festival/src/arch/festival/linreg.cc',
'festival/src/arch/festival/Phone.cc',
'festival/src/arch/festival/wave.cc',
'festival/src/arch/festival/tcl.cc',
'festival/src/arch/festival/audspio.cc',
'festival/src/arch/festival/utterance.cc',
'festival/src/arch/festival/viterbi.cc',
'festival/src/arch/festival/features.cc',
'festival/src/arch/festival/wagon_interp.cc',
'festival/src/arch/festival/wfst.cc',
'festival/src/arch/festival/server.cc',
'festival/src/arch/festival/client.cc',
'festival/src/arch/festival/ngram.cc',
'festival/src/arch/festival/ModuleDescription.cc'
])
myModule.add_src_file([
'festival/src/modules/base/parameters.cc',
'festival/src/modules/base/phrasify.cc',
'festival/src/modules/base/phrinfo.cc',
'festival/src/modules/base/postlex.cc',
'festival/src/modules/base/word.cc',
'festival/src/modules/base/pos.cc',
'festival/src/modules/base/modules.cc',
'festival/src/modules/base/ff.cc',
'festival/src/modules/base/module_support.cc'
])
# all plugins:
myModule.add_src_file([
'festival/src/modules/UniSyn/us_unit.cc',
'festival/src/modules/UniSyn/us_prosody.cc',
'festival/src/modules/UniSyn/ps_synthesis.cc',
'festival/src/modules/UniSyn/us_mapping.cc',
'festival/src/modules/UniSyn/UniSyn.cc',
'festival/src/modules/UniSyn/us_features.cc'
])
myModule.add_src_file([
'festival/src/modules/Intonation/simple.cc',
'festival/src/modules/Intonation/duffint.cc',
'festival/src/modules/Intonation/int_aux.cc',
'festival/src/modules/Intonation/gen_int.cc',
'festival/src/modules/Intonation/int_tree.cc'
])
myModule.add_src_file([
'festival/src/modules/UniSyn_diphone/UniSyn_diphone.cc',
'festival/src/modules/UniSyn_diphone/us_diphone_index.cc',
'festival/src/modules/UniSyn_diphone/us_diphone_unit.cc'
])
"""
myModule.add_src_file([
'festival/src/modules/UniSyn_phonology/UniSyn_phonology.cc',
'festival/src/modules/UniSyn_phonology/unisyn_tilt.cc',
'festival/src/modules/UniSyn_phonology/subword.cc',
'festival/src/modules/UniSyn_phonology/us_duration.cc',
'festival/src/modules/UniSyn_phonology/syllabify.cc',
'festival/src/modules/UniSyn_phonology/mettree.cc',
'festival/src/modules/UniSyn_phonology/us_aux.cc',
'festival/src/modules/UniSyn_phonology/UniSyn_build.cc' # pb compiling ...
])
"""
myModule.add_src_file([
'festival/src/modules/donovan/donovan.cc'
])
myModule.add_src_file([
'festival/src/modules/Text/text_modes.cc',
'festival/src/modules/Text/tok_ext.cc',
'festival/src/modules/Text/text.cc',
'festival/src/modules/Text/token.cc',
'festival/src/modules/Text/xxml.cc',
'festival/src/modules/Text/token_pos.cc',
'festival/src/modules/Text/text_aux.cc'
])
myModule.add_src_file([
'festival/src/modules/clustergen/HTS_vocoder_me.cc', # request include : festival/src/modules/hts_engine
'festival/src/modules/clustergen/mlsa_resynthesis.cc',
'festival/src/modules/clustergen/simple_mlpg.cc',
'festival/src/modules/clustergen/vc.cc',
'festival/src/modules/clustergen/clustergen.cc'
])
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "festival/src/modules/hts_engine"))
"""
myModule.add_src_file([
'festival/src/modules/diphone/di_select.cc',
'festival/src/modules/diphone/di_pitch.cc',
'festival/src/modules/diphone/di_io.cc',
'festival/src/modules/diphone/oc.cc',
'festival/src/modules/diphone/di_psola.cc',
'festival/src/modules/diphone/di_reslpc.cc',
'festival/src/modules/diphone/diphone.cc'
])
"""
myModule.add_src_file([
'festival/src/modules/Duration/duration.cc',
'festival/src/modules/Duration/dur_aux.cc',
'festival/src/modules/Duration/Klatt.cc'
])
myModule.add_src_file([
'festival/src/modules/hts_engine/fest2hts_engine.cc'
])
myModule.add_src_file([
'festival/src/modules/clunits/cldb.cc',
'festival/src/modules/clunits/clunits.cc',
'festival/src/modules/clunits/acost.cc',
'festival/src/modules/clunits/cljoin.cc' # request finclude estival/src/modules/UniSyn
])
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "festival/src/modules/UniSyn"))
myModule.add_src_file([
'festival/src/modules/rxp/ttsxml.cc' # request include : speech_tools/include/rxp
])
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "speech_tools/include/rxp"))
myModule.compile_flags('c++', "-DCHAR_SIZE=8")
myModule.add_src_file([
'festival/src/modules/Lexicon/complex.cc',
'festival/src/modules/Lexicon/lts.cc',
'festival/src/modules/Lexicon/lexicon.cc',
'festival/src/modules/Lexicon/lex_ff.cc',
'festival/src/modules/Lexicon/lex_aux.cc',
'festival/src/modules/Lexicon/lts_rules.cc'
])
myModule.add_src_file([
'festival/src/modules/parser/pparser.cc'
])
myModule.add_src_file([
'festival/src/modules/MultiSyn/EST_JoinCost.cc',
'festival/src/modules/MultiSyn/DiphoneUnitVoice.cc',
'festival/src/modules/MultiSyn/inst_tmpl/list_itemp_t.cc',
'festival/src/modules/MultiSyn/inst_tmpl/hash_itemp_tcdatap_t.cc',
'festival/src/modules/MultiSyn/inst_tmpl/list_voicemodulep_t.cc',
'festival/src/modules/MultiSyn/inst_tmpl/list_scorepair_t.cc',
'festival/src/modules/MultiSyn/inst_tmpl/hash_s_itemlistp_t.cc',
'festival/src/modules/MultiSyn/inst_tmpl/list_strlist_t.cc',
'festival/src/modules/MultiSyn/inst_tmpl/list_uttp_t.cc',
'festival/src/modules/MultiSyn/inst_tmpl/vector_jccp_t.cc',
'festival/src/modules/MultiSyn/DiphoneBackoff.cc',
'festival/src/modules/MultiSyn/EST_DiphoneCoverage.cc',
'festival/src/modules/MultiSyn/EST_TargetCost.cc',
'festival/src/modules/MultiSyn/EST_JoinCostCache.cc',
'festival/src/modules/MultiSyn/DiphoneVoiceModule.cc',
'festival/src/modules/MultiSyn/VoiceModuleBase.cc',
'festival/src/modules/MultiSyn/VoiceBase.cc',
'festival/src/modules/MultiSyn/UnitSelection.cc',
'festival/src/modules/MultiSyn/EST_FlatTargetCost.cc',
'festival/src/modules/MultiSyn/TargetCostRescoring.cc'
])
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "festival/src/modules/MultiSyn"))
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "festival/src/modules/MultiSyn/inst_tmpl"))
# load all modules
myModule.add_src_file([
'festival/src/modules/init_modules.cc'
])
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "festival/src/modules"))
myModule.compile_flags('c++', "-fno-implicit-templates")
myModule.compile_flags('c++', "-DINSTANTIATE_TEMPLATES")
myModule.compile_flags('c++', "-DFTNAME='Festival Speech Synthesis System'")
myModule.compile_flags('c++', "-DFTLIBDIRC='" + tools.get_current_path(__file__) + "/festival/lib '")
myModule.compile_flags('c++', "-DFTVERSION='2.4'")
myModule.compile_flags('c++', "-DFTSTATE='release'")
myModule.compile_flags('c++', "-DFTDATE='December 2014'")
myModule.compile_flags('c++', "-DFTSTATE='release'")
myModule.compile_flags('c++', '-DFTOSTYPE=\\"unknown_DebianGNULinux\\"')
myModule.compile_version_CC(1999)
# TODO: copy in install folder ...
myModule.add_export_path(tools.get_current_path(__file__) + "/festival/src/include")
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "festival/src/include"))
myModule.add_export_path(os.path.join(tools.get_current_path(__file__), "speech_tools/include"))
#myModule.add_export_path(tools.get_current_path(__file__) + "/festival/src/include")
return myModule

1
speech_tools Submodule

@ -0,0 +1 @@
Subproject commit b6ae08bd2204da4ffafd60f48ccdcd647ad98ebd