GithubHelp home page GithubHelp logo

festvox / festival Goto Github PK

View Code? Open in Web Editor NEW
383.0 29.0 58.0 1.32 MB

Festival Speech Synthesis System

License: Other

Makefile 12.64% Shell 1.97% Scheme 26.70% Emacs Lisp 0.36% C++ 42.96% C 12.71% Java 2.56% M4 0.08%

festival's Introduction

          The Festival Speech Synthesis System
               version 2.5.1 July 2020

https://github.com/festvox/festival/

This directory contains the Festival Speech Synthesis System, developed at CSTR, University of Edinburgh. The project was originally started by Alan W Black and Paul Taylor but many others have been involved (see ACKNOWLEDGEMENTS file for full list).

Festival offers a general framework for building speech synthesis systems as well as including examples of various modules. As a whole it offers full text to speech through a number APIs: from shell level, though a Scheme command interpreter, as a C++ library, and an Emacs interface. Festival is multi-lingual (currently English (US and UK) and Spanish are distributed but a host of other voices have been developed by others) though English is the most advanced.

The system is written in C++ and uses the Edinburgh Speech Tools for low level architecture and has a Scheme (SIOD) based command interpreter for control. Documentation is given in the FSF texinfo format which can generate, a printed manual, info files and HTML.

COPYING

Festival is free. Earlier versions were restricted to non-commercial use but we have now relaxed those conditions. The licence is an X11 style licence thus it can be incorporated in commercial products and free source products without restriction. See COPYING for the actual details.

INSTALL

Festival should run on any standard Unix platform. It has already run on Solaris, SunOS, Linux and FreeBSD. It requires a C++ compiler (GCC 2.7.2, 2.8.1, 2.95.[123], 3.2.3 3.3.2 RedHat "gcc-2.96", gcc 3.3, gcc 4.4.x and gcc-4.5.x, gcc-6.2.0 are our standard compilers) to install. A port to Windows XP/NT/95/98 and 2000 using either Cygnus GNUWIN32, this is still new but many people are successfully using it, it works fine with Windows 10 bash

A detailed description of installation and requirements for the whole system is given in the file INSTALL read that for details.

NEWS

Keep abreast of Festival News by regularly checking the Festival homepage http://www.cstr.ed.ac.uk/projects/festival/ or the US site http://festvox.org/festival/ or on github https://github.com/festvox/festival/

New in Festival 2.5 Support for gcc6 (which is a somewhat different dialect of C++)

New in Festival 2.2 updates to hts (hts_engine 1.07) and clustergen

New in Festival 2.1 Support for various new GCC compilers Improved support for hts, clustergen, clunits and multisyn voices lots of wee bugs fixed

festival's People

Contributors

awbcmu avatar festvox avatar g10dras avatar lenzo-ka avatar saikrishnarallabandi avatar vzikl avatar zeehio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

festival's Issues

How do you set the maximum number of clients for the festival server?

Notes:

  • My festival version is 2.5.0:release December 2017 and was installed by using the apt-get install command.

I'm trying to deploy festival server as a docker container alongside a text-to-speech api in another container (which acts as the festival client), both are deployed as one pod in GKE. The api is expected to be able to process many concurrent requests. The set up is currently working, except when dealing with more than 10 concurrent request.

In this list of variable documentation, it mentioned a variable called server_max_clients with the default value of 10. I tried to change it by adding (set! server_max_clients '1000) in the .festivalrc file. (1000 is just a random high value)

This line changed the variable value when I activated the festival shell and inputting server_max_clients to see the value. But when I read the festival server log, it seemed to still refuse new clients when it is still serving 10 clients.

How do I properly set this variable? Or was there something I did wrong?

Thank you in advance.

SayText negative numbers

(SayText " the result is -5.6") gives five point six : without "minus"
unlike
(SayText " the result is -5.6")

(kal_diphone or cmu_us_aew_cg)

Linking to festival in gcc

Having problems including init.scm via the API.

When running the compiled binary on a machine without festival:

$ ./a.out
Initialization file /usr/local/lib/festival/lib/init.scm not found
SIOD ERROR: unbound variable : SynthText
SIOD ERROR: unbound variable : utt.features
SIOD ERROR: unbound variable : utt2

When trying to include init.scm in gcc:
ld: warning: ignoring file /usr/local/lib/festival/lib/init.scm, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B )

Any suggestions?

item.relation.leafs not working as expected ?

item.relation.leafs isn't working for me as expected on my installation.

Eg. For a specific word within an utterance, the command (item.relation.leafs (utt.relation.first utt1 'Word) 'SylStructure) is returning all the phonemes through the end of the utterance and not just those in the current word, which I thought was the intended usage of this function.

I had to modify the following function in $FESTDIR/lib/festival.scm to make it work as it should (working version is pasted underneath), but wondering if my assumption of the intent of this function is incorrect.


(define (item.relation.leafs si relname)
  "(item.relation.leafs item relname)
Return a list of the leafs of this item in this relation."
  (let ((ls nil)
        (ll si)
        (pl si))
    (while (item.relation.daughter1 pl relname)
        (set! pl (item.relation.daughter1 pl relname)))
    (while (item.relation.daughtern ll relname)
        (set! ll (item.relation.daughtern ll relname)))
    (while (and pl (not (equal? pl ll)))
           (set! ls (cons pl ls))
           (set! pl (item.next_leaf pl)))
    (set! ls (cons pl ls))
    (reverse ls)))

linux festival text2wave cuts off end of audio

I'm having trouble with festival text2wave on linux. The audio wav files generated are consistently being cut off before the end of the text. Various text file sizes all get cut before finishing. I found that if I pad the end of the file with additional text, I can get the entire audio output I'm looking for.

text2wave -F 44100 -eval test.scm -o test.wav test.txt

My environment:

Ubuntu 18.04.1 LTS
festival 1:2.5.0-1
festlex-cmu 2.4-1
festvox-us-slt-hts 0.2010.10.25-2

Below are examples of the audio file length, and where in the full audio it's being cut.
ie. 1st example below, should be 7 minutes of audio, but cutoff of audio at 5 minutes, 2 minutes before end of text.

5:00 of 7:00, 982 words, 6178 chars
30:00 of 40:00, 6613 words, 38549 chars
19:00 of 26:00, 4094 words, 24957 chars
14:00 of 20:00, 3224 words, 19007 chars

I pad all my files with 3192 words, 18283 chars to get the full ttf result, and then I edit the audio file to remove the unwanted end of file.

test.scm:

(voice_cmu_us_slt_arctic_hts)
;; Debian-specific: Use aplay to play audio
(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)

Any suggestion to what is happening and how to resolve this? Seems from discussions there have been bugs in the past

I did not compile code from sources. Used binaries provided by Ubuntu distro.

Thanks,
Nick

--script causes "SIOD ERROR: unbound variable : Parameter.set"

I'm trying to configure mutli-bluetooth-device setup for TTS (on RPi), using Festival.

setting an arbitrary device works via:

(Parameter.set 'Audio_Command "aplay -D bluealsa:DEV=<MAC_ADDRESS>,PROFILE=a2dp -c 1 -t raw -f s16 -r $SR $FILE")
(SayText "test") ; plays on device :)

Doing the same in a scheme script (festival -b play_on_device.scm) works fine.

However, when I try to use --script I get the error:

SIOD ERROR: unbound variable : Parameter.set

(NOTE: I need --script for command line args, to paramaterize both the device to be played + the text itself)

From the docs:

--script scriptfile Run scriptfile as a Festival script file. This is similar to to --batch but it encapsulates the command line arguments into the Scheme variables argv and argc, so that Festival scripts may process their command line arguments just like any other program. It also does not load the the basic initialisation files as sometimes you may not want to do this. If you wish them, you should copy the loading sequence from an example Festival script like `festival/examples/saytext'.

searching for that example file (ls -R / 2>null | grep saytext), as we;; as om this repo - yielded no results..

Thanks!

Flite file or the voice dump generated from cg festvox voice does not work

Hello Sai, I was able to successfully create a cg voice with your script. The voice does work in festival. However, now I may have more questions than you have already answered. The flite build process was completed (with some glitches). xxxxxphonestate.c file had multiple definitions (7)of one phone 'pa'. Compile was successful after commenting 6 out of 7 duplicate definitions. But the resulting flite executable does not generate any speech. It gives the error "Error mlgparaChol: Different dimension". What does this mean? and How can I resolve this issue?

Problem in building clustergen indic voice

Following the link "http://festvox.org/bsv/x3528.html", tried to built hindi tts from scratch on sample of100 'hindi' wav files ['hindi_0001.wav' - 'hindi_0102.wav'] obtained from 'cmu_indic_hin_ab.tar.bz2'.

Every script works fine upto the following script--
./bin/do_clustergen parallel cluster etc/txt.done.data.train

getting lots of 'file not found' & 'Segmentation fault (core dumped)' Errors

example------------ final lines of above command:

Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r=_1.feats
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Attempt to access channel 1 of 0 channel track
Dataset of 0 vectors of 64 parameters from: festival/feats/9r_1.feats
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Collect trees
SIOD ERROR: wrong type of argument to setcar
BACKTRACE:
0: (set-car! (car tree) vector_num)
1: (clustergen::dump_tree_vectors tree rawtrackfd)
2: (set! tree (clustergen::dump_tree_vectors tree rawtrackfd))
3: (f (car l2))
4: (cons (f (car l2)) r)
5: (set! r (cons (f (car l2)) r))
6: (while l2 (set! r (cons (f (car l2)) r)) (set! l2 (cdr l2)))
7: (mapcar
(lambda
(unit)
(...)
...)
unittypes)
8: (if
(consp cg:multimodel)
(mapcar
(...)
cg:multimodel)
...)
9: (begin
(set! cg:parallel_tree_build t)
(build_clustergen "etc/txt.done.data.train"))
closing a file left open: festival/trees/cmu_indic_ss_mcep.rawparams
closing a file left open: festival/trees/cmu_indic_ss_mcep.tree

Please tell the solution where I am doing wrong.

Note:- I have build all the required tools as mentioned in 'fest_build' script.

Bug report: Italian, accented letters and different encodings

Disclaimer: this has already been reported through email, this is not a support request but a bug report.

Bug
When trying to read in Italian language a file containing accented characters, Festival isn't able to open if it is in UTF-8.
As soon as the file is re-coded as lat1 (ISO-8859-15), everything works as expected.

Steps to reproduce

  • Install Festival with Italian voices (see below for details, it's been tested on multiple platforms)
  • festival --tts Ciao_UTF8.txt returns the following error
LTS_Ruleset italian_downcase: no rule matches: 
LTS_Ruleset: # *here* � � # 

Platforms

  1. MX Linux, Festival 2.5.0, with packages festival, festival-doc, festival-freebsoft-utils, festlex-cmu, festlex-ifd, festvox-italp16k, festvox-italpc16k, speech-dispatcher-festival
  2. Artix Linux, Festival 2.5.0, with packages festival-us, festival-freebsoft-utils (AUR), festival-italian (AUR), sox Applied patch as of issue #31 , using attached ~/.festivalrc

Temporary workarounds
Re-encoding files to lat1 (ISO-8859-15) with recode, but it is a problem when trying to use festival with other software like Calibre or speechd, that still recommends festival as synthetizer.
Avoid using accented letters in Italian is practically impossible and can't be suggested as a solution.

Problem in building clustergen indic (panjabi )voice

Following the link "http://festvox.org/bsv/x3528.html", tried to built panjabi tts from scratch.
Every script works fine upto the following script--
./bin/do_clustergen generate_filters
but after running
./bin/do_clustergen parallel f0_v_sptk
it produces erorr that
./bin/make_f0_v_sptk: 128: /home/harman/festival/SPTK-3.11/bin/x2x: Permission denied
./bin/make_f0_v_sptk: 129: ./bin/make_f0_v_sptk: 129: /home/harman/festival/SPTK-3.11/bin/x2x: Permission denied
/home/harman/festival/SPTK-3.11/bin/minmax: Permission denied
./bin/make_f0_v_sptk: 132: [: -gt: unexpected operator
Failed to process pa_00321

I am using festival 2.5.0 , festvox 2.8.0 , SPTK-3.11 and ubuntu 20.04 in the virtualvox.

How to change the speed of the text?

I am using Festival engine as a part of SmartBody which has a speech command. I'm wondering if it's possible to make the speech slower?

Is it possible to have a different speech speed with festival?
If yes, where is this steting/control?

Thanks!

wrong file used

[src/modules/Lexicon/complex.cc:127]
fclose(fin) is not open at this stage

testsuite/correct

The correct answers to tests need updates :
Festival Speech Synthesis System 2.4:beta December 2014
Copyright (C) Carnegie Mellon University 2005-2014

"Warning: det <= 0. Using Prasanna's magic numbers in 88 of 668 frames"

Hi,
I am getting the following warning during test sample synthesis after training the model with custom data(cmu arctic prompts with indian accent).

CG test_resynth arctic_b0028
Warning: det <= 0. Using Prasanna's magic numbers in 88 of 668 frames
Warning: det <= 0. Using Prasanna's magic numbers in 88 of 668 frames

Any suggestions towards this issue are welcome
Regards
Sagar

TextGrid to utt or TextGrid to lab convert.

Hello there.
Is there any way to convert Forced aligner TextGrid files to Festival utt files? Or the Festival lab format?
I want to train my own model with HTS.
Any ideas would be invaluable to me. Thank you.

Make a 2.5.1 release?

7ac7b48 bumps the release to 2.5.1 in the readme, but there are no corresponding tags or releases on github or tarballs on the FTP sites.

Is this intended to be a minor release or was that version bump just in preparation for this?

How to integrate my build voice with festival

I have already build some indic tts models using festvox, I want to integrate them into festival so that i can play the utterance from command line. Like:
festival '(SayText "नमस्कार आपका स्वागत है.")'.

Bible proper name pronunciation dictionary

Mr. Black,

Would you be interested in my BibleVox project, which is located on GitHub? I have prepared a pronunciation addenda for Festival 2.4. I prepared BASH script and FLEX development utilities and utilities for demonstrating Festival's TTS mode for speaking requested English language Bible text. I also have a BASH script for looking up and pronouncing/speaking the proper names in my lexicon. The documentation should give you an idea of what I have prepared and how.

Regards and thank you for your incredible work and Festival 2.4,
Michael Adams

lex.syllabify.phstress stresses only 1 and 0 stress

LISP lex_syllabify_phstress(LISP phones)
{
/* Given a list of phones where vowels may have stress numeral, */
/* as found in BEEP and CMU syllabify them */
LISP syl,syls,p,phs,stresses,s;
int stress = 0;
const char *ph;
split_stress(phones,phs,stresses);
for (syl=NIL,syls=NIL,p=phs,s=stresses;
p != NIL;
p=cdr(p),s=cdr(s))
{
ph = get_c_string(car(p));
if (!streq(ph,ph_silence()))
syl = cons(car(p),syl);
if (car(s) && (!streq(get_c_string(car(s)),"0")))
stress = 1; // should worry about 2 stress too

As you can see,

when you have a phone list like ( ao1 b uh2)
it will return ((b ao)1)((b uh)1) instead of ((b ao)1)((b uh)2)

It should at least put stress to 2, but maybe all numbers till 9.

more delete issues

\src\modules\diphone\oc.cc lines 207 + 269
should be
delete [] counts;
delete [] w;

build_prompts_waves not finding utf-8 word in lexicon

I am building a clunits synthesizer and am getting the following error when I run ./bin/do_build build_prompts_waves:

Unknown word wa'òn:swahte
./bin/do_build: line 157:  1415 Segmentation fault: 11  $ESTDIR/../festival/bin/festival --heap $HEAPSIZE -b festvox/build_clunits.scm '(build_prompts_waves "'$PROMPTFILE'")'

The word is defined in my etc/txt.done.data file as:

( kawe0002 "wa'òn:swahte'" )

and in festvox/nrc_moh_am_lexicon.scm as:

(lex.add.entry '( "wa'òn:swahte'" nil (((W A X OONL) 0) ((S W A H) 0) ((T E X) 0))))

The problem goes away if I take out all of the non-ASCII characters, but if I would prefer to keep them in, is there some way to configure Festival to support the character set of my language?

Thank you.

Issue reading words with apostrophe in specific application

Festival is not able to read words with apostrophe from Akregator due to the character Akregator uses for apostrophe. Festival sticks to spelling the word.

In example read with Festival the following text copied from Akregator:
ruled in Punk’s favor

Now read the same text with the regular apostrophe from the keyboard:
ruled in Punk's favor

If you zoom in you'll be able to see that the characters are slightly different.

So, if possible, I ask for you to add the character in the first phrase to be recognized as an apostrophe, please.

M1?

Is there a procedure to build on the M1 Mac?

Error when making in Festvox

I am encountering an error when I try to make in festvox. Below I have provided what I get when I run Festvox. I know its too long but I would appreciate your help

making in . ...
making in src ...
making in src/general ...
gcc -c -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -Wall -O2 -I/home/mogale/voice/sources/festvox/../speech_tools/include -c -o smooth_f0_main.o smooth_f0_main.cc
smooth_f0_main.cc: In function ‘int main(int, char**)’:
smooth_f0_main.cc:142:15: error: ‘class EST_Relation’ has no member named ‘last’; did you mean ‘rlast’?
if (r->last()->F("end") > f0_in.end())
^~~~
rlast
smooth_f0_main.cc:146:25: error: ‘class EST_Relation’ has no member named ‘last’; did you mean ‘rlast’?
(int)(cn-1+((r->last()->F("end")-f0_in.end())/f0_in.shift())),
^~~~
rlast
smooth_f0_main.cc:156:10: error: ‘class EST_Relation’ has no member named ‘last’; did you mean ‘rlast’?
if ((r->last() == 0) ||
^~~~
rlast
smooth_f0_main.cc:157:10: error: ‘class EST_Relation’ has no member named ‘last’; did you mean ‘rlast’?
(r->last()->F("end") < f0_in.end()))
^~~~
rlast
smooth_f0_main.cc:170:16: error: ‘class EST_Item’ has no member named ‘next’; did you mean ‘set’?
item = item->next();
^~~~
set
Makefile:95: recipe for target 'smooth_f0_main.o' failed
make[2]: *** [smooth_f0_main.o] Error 1
making in src/diphones ...
making in src/eval ...
making in src/promptselect ...
making in src/vc ...
making in src/vc/src ...
making in src/vc/src/sp ...
making in src/vc/src/sub ...
g++ -g -O2 -Wall -c gmm_sub.cc -o gmm_sub.o
gmm_sub.cc: In function ‘double get_gauss_jde_dia(long int, DVECTOR, DVECTOR, DMATRIX, DMATRIX, DMATRIX)’:
gmm_sub.cc:763:16: warning: variable ‘clsnum’ set but not used [-Wunused-but-set-variable]
long k, b, clsnum, dim, dim2;
^~~~~~
In file included from ../include/option.h:49:0,
from gmm_sub.cc:52:
gmm_sub.cc: In function ‘DVECTOR_STRUCT* xget_sumgvec_gammamat_file(char*, long int, long int, char*)’:
../include/defs.h:83:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
#define NUL '\0'
^
gmm_sub.cc:1028:46: note: in expansion of macro ‘NUL’
if ((ifp = fopen(gaussmatfile, "rb")) == NUL) {
^~~
../include/defs.h:83:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
#define NUL '\0'
^
gmm_sub.cc:1032:46: note: in expansion of macro ‘NUL’
if ((ofp = fopen(gammamatfile, "wb")) == NUL) {
^~~
Makefile:60: recipe for target 'gmm_sub.o' failed
make[4]: *** [gmm_sub.o] Error 1
making in src/vc/src/analysis ...
g++ -o analysis main.o analysis_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'analysis' failed
make[4]: *** [analysis] Error 1
making in src/vc/src/extdim ...
g++ -o extdim main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'extdim' failed
make[4]: *** [extdim] Error 1
making in src/vc/src/f0stats ...
g++ -o f0stats main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'f0stats' failed
make[4]: *** [f0stats] Error 1
making in src/vc/src/gmmpara ...
g++ -o gmm_para main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:64: recipe for target 'gmm_para' failed
make[4]: *** [gmm_para] Error 1
making in src/vc/src/vqlbl ...
g++ -o vqlbl main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'vqlbl' failed
make[4]: *** [vqlbl] Error 1
making in src/vc/src/cov2dia ...
g++ -o cov2dia main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'cov2dia' failed
make[4]: *** [cov2dia] Error 1
making in src/vc/src/extfrm ...
g++ -o extfrm main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'extfrm' failed
make[4]: *** [extfrm] Error 1
making in src/vc/src/gmm ...
g++ -o gmm_jde main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'gmm_jde' failed
make[4]: *** [gmm_jde] Error 1
making in src/vc/src/utt2f0 ...
g++ -o utt2f0 main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'utt2f0' failed
make[4]: *** [utt2f0] Error 1
making in src/vc/src/dtw ...
g++ -o dtw main.o dtw_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'dtw' failed
make[4]: *** [dtw] Error 1
making in src/vc/src/f0map ...
g++ -o f0map main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'f0map' failed
make[4]: *** [f0map] Error 1
making in src/vc/src/gmmmap ...
g++ -o gmmmap main.o gmmmap_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'gmmmap' failed
make[4]: *** [gmmmap] Error 1
making in src/vc/src/jdmat ...
g++ -o jdmat main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:64: recipe for target 'jdmat' failed
make[4]: *** [jdmat] Error 1
making in src/vc/src/mlpg ...
g++ -o mlpg main.o mlpg_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:67: recipe for target 'mlpg' failed
make[4]: *** [mlpg] Error 1
making in src/vc/src/synthesis ...
g++ -o synthesis main.o synthesis_sub.o vocoder_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:67: recipe for target 'synthesis' failed
make[4]: *** [synthesis] Error 1
making in src/vc/src/vq ...
g++ -o lbg main.o vq_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'lbg' failed
make[4]: *** [lbg] Error 1
../../../config/common_make_rules:64: recipe for target '.make_build_dirs' failed
make[3]: *** [.make_build_dirs] Error 2
../..//config/common_make_rules:64: recipe for target '.make_build_dirs' failed
make[2]: *** [.make_build_dirs] Error 2
making in src/ehmm ...
making in src/ehmm/src ...
g++ -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -Wall -c -o FeatureExtraction.o FeatureExtraction.cc
FeatureExtraction.cc: In function ‘int main(int, char**)’:
FeatureExtraction.cc:243:13: error: no match for ‘operator==’ (operand types are ‘std::ifstream {aka std::basic_ifstream}’ and ‘int’)
if (fp_in == 0) {
~~~~~~^~~~
FeatureExtraction.cc:243:13: note: candidate: operator==(int, int)
FeatureExtraction.cc:243:13: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘int’
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
from /usr/include/c++/7/bits/basic_ios.h:37,
from /usr/include/c++/7/ios:44,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: candidate: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/system_error:311:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_condition&)
operator==(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/7/system_error:311:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:304:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_code&)
operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:304:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:297:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_condition&)
operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:297:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:292:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_code&)
operator==(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:292:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6043:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6031:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6031:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: mismatched types ‘const _CharT*’ and ‘std::basic_ifstream’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6017:5: note: candidate: template typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6017:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6009:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6009:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/allocator.h:152:5: note: candidate: template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator==(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/allocator.h:146:5: note: candidate: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: candidate: template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator==(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: candidate: template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_pair.h:448:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/postypes.h:216:5: note: candidate: template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/7/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::fpos<_StateT>’
if (fp_in == 0) {
^
FeatureExtraction.cc: In function ‘int binarytoascii_new(char*, char*, int)’:
FeatureExtraction.cc:831:13: error: no match for ‘operator==’ (operand types are ‘std::ifstream {aka std::basic_ifstream}’ and ‘int’)
if (fp_in == 0) {
~~~~~~^~~~
FeatureExtraction.cc:831:13: note: candidate: operator==(int, int)
FeatureExtraction.cc:831:13: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘int’
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
from /usr/include/c++/7/bits/basic_ios.h:37,
from /usr/include/c++/7/ios:44,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: candidate: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/system_error:311:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_condition&)
operator==(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/7/system_error:311:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:304:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_code&)
operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:304:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:297:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_condition&)
operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:297:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:292:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_code&)
operator==(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:292:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6043:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6031:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6031:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: mismatched types ‘const _CharT*’ and ‘std::basic_ifstream’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6017:5: note: candidate: template typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6017:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6009:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6009:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/allocator.h:152:5: note: candidate: template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator==(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/allocator.h:146:5: note: candidate: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: candidate: template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator==(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: candidate: template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_pair.h:448:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/postypes.h:216:5: note: candidate: template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/7/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::fpos<_StateT>’
if (fp_in == 0) {
^
: recipe for target 'FeatureExtraction.o' failed
make[3]: *** [FeatureExtraction.o] Error 1
making in src/ehmm/scripts ...
install -p comp_dcep.pl phfromutt.pl scale_feat.pl sym2nm.pl seqproc.pl do_ehmm check_lab.pl sl2nm.pl rem_ssil.pl rm_nan_utts ../bin
cp -p phseq.scm ../bin
making in src/interslice ...
making in src/interslice/src ...
g++ -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -Wall -O2 -c -o edec_v3.o edec_v3.cc
In file included from edec_v3.cc:42:0:
header.h: In function ‘int FileExist(char*)’:
header.h:56:15: error: no match for ‘operator==’ (operand types are ‘std::ifstream {aka std::basic_ifstream}’ and ‘int’)
if (fp_in == 0) {
~~~~~~^~~~
header.h:56:15: note: candidate: operator==(int, int)
header.h:56:15: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘int’
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/postypes.h:216:5: note: candidate: template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/7/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::fpos<_StateT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_pair.h:448:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: candidate: template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: candidate: template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator==(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/allocator.h:146:5: note: candidate: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/allocator.h:152:5: note: candidate: template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator==(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6009:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6009:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6017:5: note: candidate: template typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6017:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6031:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6031:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: mismatched types ‘const _CharT*’ and ‘std::basic_ifstream’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6043:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/system_error:292:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_code&)
operator==(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:292:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:297:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_condition&)
operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:297:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:304:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_code&)
operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:304:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:311:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_condition&)
operator==(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/7/system_error:311:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
from /usr/include/c++/7/bits/basic_ios.h:37,
from /usr/include/c++/7/ios:44,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: candidate: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if (fp_in == 0) {
^
edec_v3.cc: In function ‘void PostProcess(int*, int*, int, int, std::ofstream&, char*, int*, int, int*)’:
edec_v3.cc:345:14: error: no match for ‘operator==’ (operand types are ‘std::ofstream {aka std::basic_ofstream}’ and ‘int’)
if (fp_out == 0) {
~~~~~~~^~~~
edec_v3.cc:345:14: note: candidate: operator==(int, int)
edec_v3.cc:345:14: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘int’
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/postypes.h:216:5: note: candidate: template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/7/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::fpos<_StateT>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_pair.h:448:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: candidate: template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: candidate: template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator==(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/allocator.h:146:5: note: candidate: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/allocator.h:152:5: note: candidate: template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator==(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6009:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6009:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6017:5: note: candidate: template typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6017:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6031:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6031:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: mismatched types ‘const _CharT*’ and ‘std::basic_ofstream’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6043:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/system_error:292:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_code&)
operator==(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:292:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:297:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_condition&)
operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:297:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:304:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_code&)
operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:304:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:311:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_condition&)
operator==(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/7/system_error:311:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘const std::error_condition&’
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
from /usr/include/c++/7/bits/basic_ios.h:37,
from /usr/include/c++/7/ios:44,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: candidate: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if (fp_out == 0) {
^
: recipe for target 'edec_v3.o' failed
make[3]: *** [edec_v3.o] Error 1
making in src/interslice/scripts ...
making in src/mllr ...
making in src/spamf0 ...
making in src/phrasyn ...
making in src/grapheme ...

Error compiling festival

When compiling festival I run into this error:

-bash-4.2$ gmake
Check system type
Remake modincludes.inc
        NATIVE_AUDIO
                ok
        EDITLINE
                config/modules/editline.mak
        SIOD
                ok
        WAGON
                ok
        SCFG
                ok
        WFST
                ok
        OLS
                ok
        RXP
                src/modules/rxp/rxp.mak
        clunits
                unknown module in src/modules/clunits
        clustergen
                unknown module in src/modules/clustergen
        MultiSyn
                unknown module in src/modules/MultiSyn
        hts_engine
                unknown module in src/modules/hts_engine
        LINUX16_AUDIO
                config/modules/linux16_audio.mak
Making in directory ./src ...
Making in directory src/arch ...
Making in directory src/arch/festival ...
gcc -c -fno-implicit-templates -O3 -Wall -I../../../src/include -I../../../../speech_tools/include utterance.cc
utterance.cc: In function ‘obj* stream_tree_to_lisp(EST_Item*)’:
utterance.cc:299:51: error: ‘idown’ was not declared in this scope
  return cons(cons(desc,stream_tree_to_lisp(idown(s))),
                                                   ^
utterance.cc:300:34: error: ‘inext’ was not declared in this scope
       stream_tree_to_lisp(inext(s)));
                                  ^
utterance.cc: In function ‘obj* item_next(LISP)’:
utterance.cc:417:51: error: ‘inext’ was not declared in this scope
     return (li == NIL) ? NIL : siod(inext(item(li)));
                                                   ^
utterance.cc: In function ‘obj* item_prev(LISP)’:
utterance.cc:422:51: error: ‘iprev’ was not declared in this scope
     return (li == NIL) ? NIL : siod(iprev(item(li)));
                                                   ^
utterance.cc: In function ‘obj* item_up(LISP)’:
utterance.cc:427:49: error: ‘iup’ was not declared in this scope
     return (li == NIL) ? NIL : siod(iup(item(li)));
                                                 ^
utterance.cc: In function ‘obj* item_down(LISP)’:
utterance.cc:432:51: error: ‘idown’ was not declared in this scope
     return (li == NIL) ? NIL : siod(idown(item(li)));
                                                   ^
utterance.cc: In function ‘obj* stream_tree_to_lisp(EST_Item*)’:
utterance.cc:302:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
utterance.cc: In function ‘obj* item_down(LISP)’:
utterance.cc:433:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
utterance.cc: In function ‘obj* item_up(LISP)’:
utterance.cc:428:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
utterance.cc: In function ‘obj* item_prev(LISP)’:
utterance.cc:423:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
utterance.cc: In function ‘obj* item_next(LISP)’:
utterance.cc:418:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
gmake[3]: *** [utterance.o] Error 1
gmake[2]: *** [festival] Error 2
gmake[1]: *** [arch] Error 2
gmake: *** [src] Error 2

There is also one test of speech_tools that fails, while all the others succeed. I'm not sure if this error is relevant but here it is:

build pathname (module)
gcc -c -fno-implicit-templates -O3 -Wall -DDATA="\"/tudelft.net/staff-bulk/ewi/insy/SpeechLab/modules/speech_tools/lib/example_data\"" -DTVECTOR_BOUNDS_CHECKING -I../include -DINSTANTIATE_TEMPLATES pathname_example.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o pathname_example pathname_example.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses   -ldl  -lm  -lstdc++
gcc -c -fno-implicit-templates -O3 -Wall -DDATA="\"/tudelft.net/staff-bulk/ewi/insy/SpeechLab/modules/speech_tools/lib/example_data\"" -DTVECTOR_BOUNDS_CHECKING -I../include -DINSTANTIATE_TEMPLATES pathname_regression.cc
gcc  -fno-implicit-templates  -O3 -Wall    -o pathname_regression pathname_regression.o    -L../lib -lestools -L../lib -lestbase -L../lib -leststring   -lncurses   -ldl  -lm  -lstdc++
test pathname (module)
pathname_example completed
11a12
>     VCMakefile
pathname example status: INCORRECT
pathname_regression completed
pathname regression status: CORRECT

mismatching delete

\src\modules\diphone\di_io.cc line 1071
delete sh;

should be delete [] sh;

Cannot find voice when running as server, but works fine with tts flag

I've recently discovered festival. It's an impressive project, and I've set it up to work with my Linux systems speech-dispatcher. Everything works as expected until I tried to use a new voice. I added the cmu_us_clb_arctic_clunits following the guide here. When running something like echo "This is a test." | festival --tts It works as expected. However, when I run festival as a server, and try to use spd-say I hear the default voice instead, and an error can be seen in the server log. SIOD: unknown voice cmu_us_clb_arctic_clunits. I tried reading through the source code to find a solution, but my lisp is not the greatest. Any suggestions on what might be going wrong here?

I should add, I'm using the version 2.5.0:release December 2017. This is the most recent package installed through apt.

Error with Italian voices

Hi,
I am running mnajaro and installed festival from the arch repo.
I then installed mbrola-italian with the AUR packages.
when
(voice_pc_diphone)
(SayText "porcoddio")

I get
SIOD ERROR: wrong type of argument to get_c_utt

Then I said, 'maybe these MBROLA don't work' or the package is broken, and I installed manually the Piero voice again, and again,
but I always get:
SIOD ERROR: wrong type of argument to get_c_utt

(SayText "thank you a lot!")

Does "prolog" work for the festival-server ?

If i use
festival_client --async --prolog prolog.txt --aucommand 'na_play $FILE' --ttw myfile.txt

with my file.txt containin "kaka".
and prolog containing

" (set! after_synth_hooks
(list
(lambda (utt)
(utt.wave.rescale utt 1 ))))"

It is written that prolog "is convenient to use in conjunction with --ttw which otherwise does not offer any way to send commands as well as the text to the server. "
But it makes --ttw not work.

I have this error
SIOD ERROR: unbound variable : kaka BACKTRACE: 0: kaka SIOD ERROR: could not open file nil-mode.scm BACKTRACE: 0: (load_library (string-append fname ".scm")) 1: (require fname) 2: (request "nil-mode") 3: (tts_file tmpfile mode) 4: (tts_text " (set! after_synth_hooks (list (lambda (utt) (utt.wave.rescale utt 1 )))) " "nil") tts_file: can't find mode description "nil" using raw mode instead

text2wave segmentation fault

The text2wave script produces segfault:

$ text2wave -o t.wav <<< test
[1] 307267 segmentation fault (core dumped) text2wave -o t.wav <<< test

The following patch (apparently) fixes it for me:

--- /usr/bin/text2wave	2020-05-19 09:57:28.000000000 +0000
+++ /usr/bin/text2wave	2020-05-19 09:57:28.000000000 +0000
@@ -140,7 +140,7 @@
 (define (combine_waves)
   "Join all the waves together into the desired output file
 and delete the intermediate ones."
-  (let ((wholeutt (utt.synth (Utterance Text ""))))
+  (let ((wholeutt (Utterance Text "")))
     (mapcar
      (lambda (d) 
        (utt.import.wave wholeutt d t)

This is reported on the Arch Linux bug tracker FS#67420.

Update: Since the b61902a rewrite this patch no more applies. The new script can't be run with festival 2.5.0, though. When festival makes a release 2.5.1, we'll see if it works.

What all can trigger `async mode`?

I found mention of async mode getting triggered by festival_say_file here, and this requires calling festival_wait_for_spooler. I have some minimal bindings to festival for haskell, and I think I will publish the first release sometime in February. I hope to avoid async mode for simplicity, and I am not sure it will play well with the threaded runtime most haskellers are using. Of course we can run the festival library stuff in it's own posix thread (and I plan to do that for some things), but I would like to make the API surface simple, and any such caveats should be codified at the type level or left out entirely. Therefore, I am hoping to find a list of functions which trigger this async mode. Is there such a list? Can async mode get triggered by SIOD code executed by festival?

Thank you for taking the time to engage with my queries!

configure ignores --prefix=/usr/local

Hi,
I am on Ubuntu 16.04. I cloned festival and speech_tools then I ran ./configure --prefix=/usr/local in both of the directories. Then I built them by running make but it won't install them into /usr/local path.
I need help .
Regards.

Multisyn path

(require_module 'MultiSyn)
(require 'multisyn_pauses)
(require 'target_cost)

It works better with the path to the module Multisyn

(require 'multisyn/multisyn_pauses)
(require 'multisyn/target_cost)

Creating CMakeLists.text file to include Festival Text to Speech API in current program

I have been working on a project on a Linux Ubuntu 18.04 OS that uses image processing to detect stairs, and i want to take the output (a string) of this project and use Festival Text to Speech directly in my code to send audible output to the user.
I am currently using a CMakeList.txt file to run my program, which can be found below.

I have looked over the documentation for Festival and can not figure out how to edit my CMakeLists.txt file to properly include required festival packages so i can run this in my program directly within my code.

Any help on this is greatly appreciated. Thanks in advance! My current CMakeLists.txt file is as follows:

cmake_minimum_required(VERSION 2.8)
project(StairDetect)
find_package(OpenCV REQUIRED)
set(DEPENDENCIES realsense2)
include_directories( ${OpenCV_INCLUDE_DIRS})
add_executable(StairDetect StairDetect.cpp)
target_link_libraries(StairDetect ${OpenCV_LIBS} ${DEPENDENCIES})
SET(CMAKE_CXX_FLAGS "-std=c++0x" CACHE STRING "compile flasgs" FORCE)

Arabic voice for Festival TTS using HTS

Salam,
We work on arabic voice for Festival TTS using HTS technologies on https://github.com/linuxscout/festival-tts-arabic-voices

I have some questions:

  • How can add alias names for a unique language, because of multitude country locales:
    Arabic has multiple codes like ar_DZ, ar_SA, ar_EG, etc,
    How can I do reference to all this within the same voice.

  • When I use Orca Screen Reader, my voice appear under "en" language and not under "ar_DZ",

speech-dispatcher's festival.log says:

Sat Jul 24 19:15:34 2021 [455160]: Voice list reply: |(kal_diphone en US ara_norm_ziad_hts en US lp_diphone it nil pc_diphone it nil)|

On other hand: How can I add this voice to Festival Official release?

Thanks

Building indic Voices generate output that is just noise

I followed all the steps given in the tutorial and was able to execute all of the commands without any error. At the end the test step created wav files in test/ directory which just had noise. Can anyone help me with the issue?

I am currently running Ubuntu 18.04, Festival 2.5, festvox 2.8. I will also be attaching a sample wav file here
kan_wav.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.