debian/0000755000000000000000000000000012257031071007164 5ustar debian/htsengine.manpages0000644000000000000000000000002411641051005012654 0ustar debian/hts_engine.1 debian/rules0000755000000000000000000000064012075425531010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autoreconf override_dh_auto_configure: automake dh_auto_configure hts_engine.1: docbook-to-man $(CURDIR)/debian/hts_engine.sgml > $(CURDIR)/debian/hts_engine.1 override_dh_auto_build: hts_engine.1 dh_auto_build override_dh_auto_clean: dh_auto_clean rm -rf $(CURDIR)/debian/hts_engine.1 debian/hts_engine.sgml0000644000000000000000000001726612075471742012222 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Koichi"> Akabe"> January 16, 2013"> 1"> vbkaisetsu@gmail.com"> htsengine"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2011-2013 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; HMM-based speech synthesis engine &dhpackage; DESCRIPTION This manual page documents briefly the &dhpackage; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. Instead, it has documentation in the &gnu; Info format; see below. &dhpackage; is a program that synthesize speech waveform from HMMs trained by the HMM-based speech synthesis system (HTS). OPTIONS A summary of options is included below. HTS voice files filename of output label with duration filename of output spectrum filename of output Log F0 filename of output low-pass filter filename of output raw audio (generated speech) filename of output wav audio (generated speech) filename of output trace information use phoneme alignment for duration enable interpolation & specify number(i),coefficient(f) sampling frequency [auto][ 1-- ] frame period (point) [auto][ 1-- ] all-pass constant [auto][0.0--1.0] postfiltering coefficient [0.0][0.0--1.0] speech speed rate [1.0][0.0-- ] add half-tone [0.0][ -- ] voiced/unvoiced threshold[0.5][0.0--1.0] weight of GV for spectrum [1.0][0.0-- ] weight of GV for Log F0 [1.0][0.0-- ] audio buffer size (if i==0, turn off) [ 0][0-- ] label file generated spectrum, log F0, and low-pass filter coefficient sequences are saved in natural endian, binary (float) format. EXAMPLE If you installed hts-voice-nitech-jp-atr503-m001 in the current directory, the following command let you make a voice file from input.lab:
% hts_engine -s 48000 -p 240 -a 0.55 \\ -m nitech_jp_atr503_m001.htsvoice \\ -ow output.wav \\ input.lab
AUTHOR This manual page was written by &dhusername; &dhemail; for the &debian; system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/htsengine.install0000644000000000000000000000001211637614117012542 0ustar usr/bin/* debian/libhtsengine-dev.install0000644000000000000000000000006312256775563014026 0ustar usr/include/HTS_engine.h usr/lib/*/libHTSEngine.so debian/libhtsengine1.symbols0000644000000000000000000001335212256776624013361 0ustar libHTSEngine.so.1 libhtsengine1 #MINVER# HTS_Audio_clear@Base 1.07 HTS_Audio_flush@Base 1.07 HTS_Audio_initialize@Base 1.07 HTS_Audio_set_parameter@Base 1.07 HTS_Audio_write@Base 1.07 HTS_Engine_add_half_tone@Base 1.07 HTS_Engine_clear@Base 1.07 HTS_Engine_generate_parameter_sequence@Base 1.08 HTS_Engine_generate_sample_sequence@Base 1.08 HTS_Engine_generate_state_sequence_from_fn@Base 1.08 HTS_Engine_generate_state_sequence_from_strings@Base 1.08 HTS_Engine_get_alpha@Base 1.07 HTS_Engine_get_audio_buff_size@Base 1.07 HTS_Engine_get_beta@Base 1.07 HTS_Engine_get_duration_interpolation_weight@Base 1.07 HTS_Engine_get_fperiod@Base 1.07 HTS_Engine_get_generated_parameter@Base 1.08 HTS_Engine_get_generated_speech@Base 1.08 HTS_Engine_get_gv_interpolation_weight@Base 1.07 HTS_Engine_get_gv_weight@Base 1.07 HTS_Engine_get_msd_threshold@Base 1.07 HTS_Engine_get_nsamples@Base 1.07 HTS_Engine_get_nstate@Base 1.07 HTS_Engine_get_nstream@Base 1.07 HTS_Engine_get_nvoices@Base 1.07 HTS_Engine_get_parameter_interpolation_weight@Base 1.07 HTS_Engine_get_sampling_frequency@Base 1.07 HTS_Engine_get_state_duration@Base 1.07 HTS_Engine_get_state_mean@Base 1.07 HTS_Engine_get_stop_flag@Base 1.07 HTS_Engine_get_total_frame@Base 1.08 HTS_Engine_get_total_state@Base 1.07 HTS_Engine_get_volume@Base 1.07 HTS_Engine_initialize@Base 1.07 HTS_Engine_load@Base 1.07 HTS_Engine_refresh@Base 1.07 HTS_Engine_save_generated_parameter@Base 1.07 HTS_Engine_save_generated_speech@Base 1.07 HTS_Engine_save_information@Base 1.07 HTS_Engine_save_label@Base 1.07 HTS_Engine_save_riff@Base 1.07 HTS_Engine_set_alpha@Base 1.07 HTS_Engine_set_audio_buff_size@Base 1.07 HTS_Engine_set_beta@Base 1.07 HTS_Engine_set_duration_interpolation_weight@Base 1.07 HTS_Engine_set_fperiod@Base 1.07 HTS_Engine_set_gv_interpolation_weight@Base 1.07 HTS_Engine_set_gv_weight@Base 1.07 HTS_Engine_set_msd_threshold@Base 1.07 HTS_Engine_set_parameter_interpolation_weight@Base 1.07 HTS_Engine_set_phoneme_alignment_flag@Base 1.07 HTS_Engine_set_sampling_frequency@Base 1.07 HTS_Engine_set_speed@Base 1.07 HTS_Engine_set_state_mean@Base 1.07 HTS_Engine_set_stop_flag@Base 1.07 HTS_Engine_set_volume@Base 1.07 HTS_Engine_synthesize_from_fn@Base 1.07 HTS_Engine_synthesize_from_strings@Base 1.07 HTS_GStreamSet_clear@Base 1.07 HTS_GStreamSet_create@Base 1.07 HTS_GStreamSet_get_parameter@Base 1.07 HTS_GStreamSet_get_speech@Base 1.07 HTS_GStreamSet_get_total_frame@Base 1.07 HTS_GStreamSet_get_total_nsamples@Base 1.07 HTS_GStreamSet_get_vector_length@Base 1.07 HTS_GStreamSet_initialize@Base 1.07 HTS_Label_clear@Base 1.07 HTS_Label_get_end_frame@Base 1.07 HTS_Label_get_size@Base 1.07 HTS_Label_get_start_frame@Base 1.07 HTS_Label_get_string@Base 1.07 HTS_Label_initialize@Base 1.07 HTS_Label_load_from_fn@Base 1.07 HTS_Label_load_from_strings@Base 1.07 HTS_ModelSet_clear@Base 1.07 HTS_ModelSet_get_duration@Base 1.07 HTS_ModelSet_get_duration_index@Base 1.07 HTS_ModelSet_get_fperiod@Base 1.07 HTS_ModelSet_get_gv@Base 1.07 HTS_ModelSet_get_gv_flag@Base 1.07 HTS_ModelSet_get_gv_index@Base 1.07 HTS_ModelSet_get_nstate@Base 1.07 HTS_ModelSet_get_nstream@Base 1.07 HTS_ModelSet_get_nvoices@Base 1.07 HTS_ModelSet_get_option@Base 1.07 HTS_ModelSet_get_parameter@Base 1.07 HTS_ModelSet_get_parameter_index@Base 1.07 HTS_ModelSet_get_sampling_frequency@Base 1.07 HTS_ModelSet_get_vector_length@Base 1.07 HTS_ModelSet_get_window_coefficient@Base 1.07 HTS_ModelSet_get_window_left_width@Base 1.07 HTS_ModelSet_get_window_max_width@Base 1.07 HTS_ModelSet_get_window_right_width@Base 1.07 HTS_ModelSet_get_window_size@Base 1.07 HTS_ModelSet_initialize@Base 1.07 HTS_ModelSet_is_msd@Base 1.07 HTS_ModelSet_load@Base 1.07 HTS_ModelSet_use_gv@Base 1.07 HTS_PStreamSet_clear@Base 1.07 HTS_PStreamSet_create@Base 1.07 HTS_PStreamSet_get_msd_flag@Base 1.07 HTS_PStreamSet_get_nstream@Base 1.07 HTS_PStreamSet_get_parameter@Base 1.07 HTS_PStreamSet_get_parameter_vector@Base 1.07 HTS_PStreamSet_get_total_frame@Base 1.07 HTS_PStreamSet_get_vector_length@Base 1.07 HTS_PStreamSet_initialize@Base 1.07 HTS_PStreamSet_is_msd@Base 1.07 HTS_SStreamSet_clear@Base 1.07 HTS_SStreamSet_create@Base 1.07 HTS_SStreamSet_get_duration@Base 1.07 HTS_SStreamSet_get_gv_mean@Base 1.07 HTS_SStreamSet_get_gv_switch@Base 1.07 HTS_SStreamSet_get_gv_vari@Base 1.07 HTS_SStreamSet_get_mean@Base 1.07 HTS_SStreamSet_get_msd@Base 1.07 HTS_SStreamSet_get_nstream@Base 1.07 HTS_SStreamSet_get_total_frame@Base 1.07 HTS_SStreamSet_get_total_state@Base 1.07 HTS_SStreamSet_get_vari@Base 1.07 HTS_SStreamSet_get_vector_length@Base 1.07 HTS_SStreamSet_get_window_coefficient@Base 1.07 HTS_SStreamSet_get_window_left_width@Base 1.07 HTS_SStreamSet_get_window_max_width@Base 1.07 HTS_SStreamSet_get_window_right_width@Base 1.07 HTS_SStreamSet_get_window_size@Base 1.07 HTS_SStreamSet_initialize@Base 1.07 HTS_SStreamSet_is_msd@Base 1.07 HTS_SStreamSet_set_gv_switch@Base 1.07 HTS_SStreamSet_set_mean@Base 1.07 HTS_SStreamSet_set_vari@Base 1.07 HTS_SStreamSet_use_gv@Base 1.07 HTS_Vocoder_clear@Base 1.07 HTS_Vocoder_initialize@Base 1.07 HTS_Vocoder_synthesize@Base 1.07 HTS_alloc_matrix@Base 1.07 HTS_calloc@Base 1.07 HTS_error@Base 1.07 HTS_fclose@Base 1.07 HTS_feof@Base 1.07 HTS_fgetc@Base 1.07 HTS_fopen_from_data@Base 1.07 HTS_fopen_from_fn@Base 1.07 HTS_fopen_from_fp@Base 1.07 HTS_fread_big_endian@Base 1.07 HTS_fread_little_endian@Base 1.07 HTS_free@Base 1.07 HTS_free_matrix@Base 1.07 HTS_fseek@Base 1.07 HTS_ftell@Base 1.07 HTS_fwrite_little_endian@Base 1.07 HTS_get_pattern_token@Base 1.07 HTS_get_token_from_fp@Base 1.07 HTS_get_token_from_fp_with_separator@Base 1.07 HTS_get_token_from_string@Base 1.07 HTS_get_token_from_string_with_separator@Base 1.07 HTS_strdup@Base 1.07 debian/watch0000644000000000000000000000010111665706552010224 0ustar version=3 http://sf.net/hts-engine/hts_engine_API-(.*)\.tar\.gz debian/source/0000755000000000000000000000000011637545744010506 5ustar debian/source/format0000644000000000000000000000001411637545744011714 0ustar 3.0 (quilt) debian/libhtsengine1.install0000644000000000000000000000007412075227410013313 0ustar usr/lib/*/libHTSEngine.so.1 usr/lib/*/libHTSEngine.so.1.0.0 debian/patches/0000755000000000000000000000000012076057553010627 5ustar debian/patches/series0000644000000000000000000000003211665367534012045 0ustar 10_build_shared_lib.patch debian/patches/10_build_shared_lib.patch0000644000000000000000000000271012075521730015413 0ustar Description: Build libhtsengine as shared library The upstream version provides only static library and Open JTalk uses it. This patch changes to build a shared library. Author: Koichi Akabe Last-Update: 2013-01-16 Forwarded: http://sourceforge.net/mailarchive/forum.php?thread_name=20130111191400.2cabb929b72dee8f9f50d12d%40gmail.com&forum_name=hts-engine-users --- htsengine-1.06.orig/configure.ac +++ htsengine-1.06/configure.ac @@ -10,7 +10,11 @@ +LTVERSION="1:0:0" +AC_SUBST(LTVERSION) + # Checks for C compiler AC_PROG_CC AM_PROG_CC_C_O +AM_PROG_LIBTOOL AC_PROG_INSTALL AC_PROG_RANLIB AN_MAKEVAR([AR], [AC_PROG_AR]) --- htsengine-1.05.orig/lib/Makefile.am +++ htsengine-1.05/lib/Makefile.am @@ -3,9 +3,10 @@ INCLUDES = -I$(top_srcdir)/include -lib_LIBRARIES = libHTSEngine.a +lib_LTLIBRARIES = libHTSEngine.la -libHTSEngine_a_SOURCES = HTS_audio.c HTS_engine.c HTS_hidden.h HTS_misc.c \ +libHTSEngine_la_LDFLAGS = -no-undefined -version-info $(LTVERSION) +libHTSEngine_la_SOURCES = HTS_audio.c HTS_engine.c HTS_hidden.h HTS_misc.c \ HTS_pstream.c HTS_sstream.c HTS_model.c HTS_vocoder.c \ HTS_gstream.c HTS_label.c --- htsengine-1.05.orig/bin/Makefile.am +++ htsengine-1.05/bin/Makefile.am @@ -7,7 +7,7 @@ hts_engine_SOURCES = hts_engine.c -hts_engine_LDADD = ../lib/libHTSEngine.a +hts_engine_LDADD = ../lib/libHTSEngine.la DISTCLEANFILES = *.log *.out *~ debian/compat0000644000000000000000000000000212067476434010401 0ustar 9 debian/changelog0000644000000000000000000000347712257016100011045 0ustar htsengine (1.08-1) unstable; urgency=low * New upstream release - migrate to unstable * debian/libhtsengine1.symbols - HTS_Engine_get_speech is removed. * debian/control - bump Standards-Version to 3.9.5 * debian/copyright - update year of copyright * debian/libhtsengine-dev.install - remove a static library -- Koichi Akabe Thu, 26 Dec 2013 19:00:57 +0900 htsengine (1.07-1~exp1) experimental; urgency=low * New upstream release * debian/compat - up to 9 * debian/control - update Standards-Version to 3.9.4 - support multiarch * debian/copyright - specify correct url of the Format - update year of copyright * debian/hts_engine.sgml - update for the newest version of hts_engine * debian/libhtsengine-dev.install - change installation dir to support multiarch * debian/libhtsengine1.install - change installation dir to support multiarch * debian/libhtsengine1.symbols - add to control symbols * debian/rules - remove descriptions for developers - use CURDIR variables - add override_dh_auto_clean to remove a generated manpage -- Koichi Akabe Tue, 16 Jan 2013 18:38:22 +0900 htsengine (1.06-1) unstable; urgency=low * New upstream release - modify state duration calculation algorithm. - change many function from void to boolean. - change source format. - bug fixes. -- Koichi Akabe Sun, 25 Dec 2011 09:25:10 +0900 htsengine (1.05-2) unstable; urgency=low * debian/control - changed priority from extra to optional -- Koichi Akabe Sat, 10 Dec 2011 12:06:57 +0900 htsengine (1.05-1) unstable; urgency=low * Initial release (Closes: #642998) -- Koichi Akabe Fri, 07 Oct 2011 23:24:20 +0900 debian/control0000644000000000000000000000266712256775424010622 0ustar Source: htsengine Section: sound Priority: optional Maintainer: Koichi Akabe Build-Depends: debhelper (>= 9.0.0), dh-autoreconf, docbook-to-man Standards-Version: 3.9.5 Homepage: http://hts-engine.sourceforge.net/ Package: libhtsengine1 Section: libs Architecture: any Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends}, ${misc:Pre-Depends} Description: HMM-based speech synthesis engine API This engine is software to synthesize speech waveform from Hidden Markov Models (HMM) trained by the HMM-based speech synthesis system (a.k.a. HTS). . This package contains shared libraries of HTS engine. Package: libhtsengine-dev Section: libdevel Architecture: any Depends: libhtsengine1 (= ${binary:Version}), ${misc:Depends} Description: Development files for HMM-based speech synthesis engine API This engine is software to synthesize speech waveform from Hidden Markov Models (HMM) trained by the HMM-based speech synthesis system (a.k.a. HTS). . This package contains the development libraries and header files needed by programs that want to compile with HTS engine. Package: htsengine Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: frontend of HMM-based speech synthesis engine This engine is software to synthesize speech waveform from Hidden Markov Models (HMM) trained by the HMM-based speech synthesis system (a.k.a. HTS). . This package is a frontend of HTS engine. debian/docs0000644000000000000000000000001411637542355010047 0ustar NEWS README debian/copyright0000644000000000000000000000530312256775460011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: hts-engine-api Source: http://hts-engine.sourceforge.net/ Files: * Copyright: 2001-2013 Nagoya Institute of Technology Department of Computer Science 2001-2008 Tokyo Institute of Technology Interdisciplinary Graduate School of Science and Engineering License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of the HTS working group nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2011-2013, Koichi Akabe License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".