-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
making the .flitevox voices from source? #6
Comments
Hi, Sorry for the delay in response. flitevox voices can be built. I am assuming that you mean from a festival voice directory when you say source. The following are set of commands to build a flite voice from existing festival voice directory: $FLITEDIR/tools/setup_flite If you also want to dump the voice, An example script which has these is build_cg_rfs_voice (It should be in the bin directory) Hope this helps! |
@saikrishnarallabandi thanks so much for the reply. sorry I didn't answer before now. I must have missed github's email notification. I've tried to follow your directions but I'm a little new at this and there's a couple of points I'm confused about.
By FLITEDIR, do you mean the flite2.1 source code master dir that I clone from github? I'm asking because I compiled and installed flite2.1 but there was no tools folder in the final install prefix. On the other hand, there is a tools folder in the source code directory with a setup_flite script and there is a bin folder with a build_flite binary that appears after the make step in compilation. Are you referring to that in your ./bin/build_flite step? I just want to make sure that my assumptions are correct here and that you're not referring to something else.
I found a couple of sources: for this build I'm trying to build cmu_us_fem (the us english with german accent). I found a source for it in the festival arctic section found in: http://festvox.org/cmu_arctic/packed/cmu_us_fem_arctic.tar.bz2 (the one with /etc/txt.done.data and /wav/arctic_a000x.wav files). I also found http://festvox.org/packed/festival/2.5/voices/festvox_cmu_us_fem_cg.tar.gz. I tried your procedure with both of these sources, setting "export FLITEDIR=git0cloned-flite2.1-sourcefolder-with-compiled-binaries" and "export ESTDIR=cloned-speech_tools-sourcefolder-with-compiled-binaries" When I used $FLITEDIR/tools/setup_flite on extracted festvox_cmu_us_fem_cg.tar.gz folder, script said that it was missing the /wav dir. When I tried it on cmu_us_fem_arctic.tar.bz2's extracted folder, I got this error message: Can't find etc/voice.defs file Do I have the wrong source files? Or is there a step I'm missing or did wrong? |
Hi, Saw this just now. sorry. Lets start with this directory you downloaded: http://festvox.org/cmu_arctic/packed/cmu_us_fem_arctic.tar.bz2 Once you extract, you can create the voice specific variables by running the following: #Setup Voice directory Ignore the warning and let it populate the folders. Now, you should be able to see the binaries in bin/ Running those shoud suffice. Let me know if there is some issue . |
Hello, I feel like I'm really close but it's still giving me some errors close to the last step. Short version: Long version:
Errors: During the ./bin/build_flite step (for some reason it's sliping a // into the paths it's looking into)
during the: cd flite; make step (probably because the preceding step had failed):
|
Oh sorry. Can you build the festvox voice and then get to flite voice? I assumed you had that voice already. Here are the steps to build: Some text processing./bin/do_build build_prompts etc/txt.done.data Extract acoustic features./bin/do_clustergen parallel f0_v_sptk Make train test split./bin/traintest etc/txt.done.data Train a model./bin/do_clustergen parallel cluster etc/txt.done.data.train Now do the flite. It should take an hour to finish this. |
Sure, no problem. I'll give that a go. Should I do these steps before before I do the step with: |
After. $FESTVOXDIR/src/clustergen/setup_cg cmu us fem sets up the folder structure. |
Hi Sai Krishna, I followed your instructions but still got this error at the end:
When I downloaded this file: http://www.festvox.org/packed/festival/2.5/voices/festvox_cmu_us_fem_cg.tar.gz and put the contents of contents of <festvox_cmu_us_fem_cg.tar.gz>/festival/lib/voices/us/cmu_us_fem_cg into the directory where I was building the voices and re-did:
it succeeded. This is great but festvox_cmu_us_fem_cg.tar.gz is a packed version of the voice with a bunch of param binaries in it. I'm try to do everything from source. Do you know how I can go about generating these files? <festvox_cmu_us_fem_cg.tar.gz>
This is a list of the files I was able to generate in the absence of festvox_cmu_us_fem_cg.tar.gz : https://pastebin.com/ysgZk9pg |
This uses Random Forests. ./bin/build_cg_rfs_voice should build those dependencies. ( It will run for around 12-15 hours depending on the config) |
Hey, before we continue, I just want to say thank you. You've really gone out of your way to help me and I really appreciate that. At very bottom of this comment is my updated recipe for building a voice. At what point should I use ./bin/build_cg_rfs_voice in these steps? I've tried to do it after the ./bin/do_clustergen dur etc/txt.done.data.train step but it crashes after an hour. I'm going to play around with my setup and see if I can fix the errors on my own. I'll get back to you later on when I have a clearer picture. Updated Voice Building Recipe
|
Sai Krishna, in your first post, you said to that after I succeed in making a voice dump (make voicedump), I can use the command "make add_feats" to add feats. As, I had stated above, using the CMU generated files found in festvox_cmu_us_fem_cg.tar.gz, I succeed in generating a voice but I forgot to mention that when I tried to do the "make add_feats" command after generating the voicedump, I got this error: "make: *** No rule to make target add_feats. Stop." I've tried using rgrep to search all the source and config files in festival,festvox,flite and speech_tools for the add_feats command and I couldn't find it. Maybe it's been renamed to something new? Do you have any suggestions? |
Ok. Can you clear the folders and build from scratch?
1) make sure folder structure is present.
$festvoxdir/src/clustergen/setup_cg Cmu us fem
2) copy the txt.done.data and wavefiles
3) run ./bin/build_cg_rfs_voice.
- sent from my Android
…On Wednesday, May 2, 2018, thebunnyrules ***@***.***> wrote:
Sai Krishna, in your first post, you said to that after I succeed in
making a voice dump (make voicedump), I can use the command "make
add_feats" to add feats. As, I had stated above, using the CMU generated
files found in festvox_cmu_us_fem_cg.tar.gz, I succeed in generating a
voice but I forgot to mention that when I tried to do the "make add_feats"
command after generating the voicedump, I got this error: "make: *** No
rule to make target add_feats. Stop." I've tried using rgrep to search all
the source and config files in festival,festvox,flite and speech_tools for
the add_feats command and I couldn't find it. Maybe it's been renamed to
something new? Do you have any suggestions?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AV3IMcizBrjheNjAfYcLJIN-vYdV9W4Hks5tuVBHgaJpZM4RY8qw>
.
|
I've aleardy done this several times (rebuilt voice and tools from sctach). At no point is add_feats available. |
Hi, But finally, when I try to run the binary created by the "make" to create voices from a given text, I run into a segmentation fault. |
Hi, While running the do_build I am getting the belo error. SIOD ERROR: could not open file /projects/festival/lib/dicts/cmu/cmulex.scm I am not able to find the cmulex.scm file due to which the error is occuring. I am running this file from the voice folder that I have downloaded and extracted. Can you please provide a solution to this or any suggestion to solve this issue. |
You need to install the cmulex, in the festival/ source directory
make default_voices
which simply runs the script
./src/scripts/default_voices.sh
which installs a default voice and the default lexicons
Alan
…On Fri, Sep 29, 2023 at 3:36 AM Brajkishore ***@***.***> wrote:
./bin/do_build build_prompts etc/txt.done.data
Hi, While running the do_build I am getting the belo error.
SIOD ERROR: could not open file /projects/festival/lib/dicts/cmu/cmulex.scm
closing a file left open: ./festvox/indic_lexicon.scm
closing a file left open: ./festvox/cmu_indic_guj_lexicon.scm
closing a file left open: festvox/cmu_indic_guj_clunits.scm
closing a file left open: festvox/build_clunits.scm
I am not able to find the cmulex.scm file due to which the error is
occuring. I am running this file from the voice folder that I have
downloaded and extracted. Can you please provide a solution to this or any
suggestion to solve this issue.
Thank you
—
Reply to this email directly, view it on GitHub
<#6 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOEXNHGACHS3CHU6G7WB63X42XCXANCNFSM4ELDZKYA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi guys, great great project. These voices are really amazing.
I've built flite 2.1 from source (probably one of the smoothest builds I've had in Linux) but I noticed that the .flitevox voices need to be downloaded instead of built from source?
I was wondering what the procedure for building these voices is and where I can find the source code?
The text was updated successfully, but these errors were encountered: