Comments (2)
Thank you for your response.
Flite does care about word boundaries in its predictions (even though it
doesn't show that in the list of segments).
Does it have any variables that are used to generate that break? If possible a scale parameter just like for the overall voice, but only to be applied for the breaks. Same scale parameter could work for word boundaries, phrases boundaries and sentence boundaries and I'll be fine with it. And if there isn't one, maybe we can add it if there is the code to generate that silence.
--setf duration_stretch
doesn't work much for me because it also slows down the words which sounds weird if I want larger break between words.
I did found a thing called utterance break
in the source code so I thought the sentences were changed to utterances not words. But even then I couldn't find how to modify the duration of that thing. I also tried to look at how utterances are used but to no avail. Somehow it looks like the wave struct seems to have samples
array which may have those voices between the breaks.
I also looked at the file testsuite/by_word_main.c
to see if it has the thing I want, it looks promising but it seems to be mostly focused on printing. But this seems to be by far the best option, though I wasn't able to modify it to increase the break.
You can explicitly put in breaks by using ssml, speech synthesis markup
language. See flite/tools/example.ssml, you need to add -ssml to go into
ssml mode.
Thank you for this, I did give it a look and it does help in adding breaks. However it doesn't seem to be perfect, for example:
This <break /> is <break /> a <break /> pen.
Doesn't sound natural, the pronunciation of a
is truncated. While the line below sounds fine.
This <break /> is <break /> a pen.
So unless I have to parse a sentence to find the natural break points myself it'd be hard to use.
Which gets me back to the reason I was hoping to just drag a little of that silence between the words/phrases whatever that festival uses so I don't have to work hard.
Sorry for the trouble. Hopefully it isn't much.
from flite.
from flite.
Related Issues (20)
- make install fails when cross-compiling with mingw (missing EXEEXT)
- Compilation of cmu_indic_lex.c fails on MacOSX (ARM 64bit processor) due to missing function declaration.
- audio/au_sun.c: use AUDIO_INITINFO macro instead of AUDIO_GETINFO ioctl request.
- Is it possible to use the tool with stdin/stdout?
- multithreading call
- Feature request - brew formula
- Downloaded flitevox file sounds different than the builtin version.
- New release required, the outdated `config.guess` and `config.sub` file in the latest tag.
- Why pre-training models have different sizes? HOT 1
- Problems with lex_lookup HOT 2
- allow static linking on Windows
- Rust bindings?
- 2.2: fails to build with make 4.4 HOT 3
- The format of cmu_lts_model.c built by myself is different form that of the official one HOT 2
- Flite support grapheme-based unit selection voices (Clunits)?
- [BUG] A double free bug in src/audio/audio.c HOT 1
- make fails function declaration without a prototype is deprecated in all versions of C
- Can't figure out how to get windows libraries from this.
- Could not install lex_lookup on Windows HOT 1
- Race condition when building on Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flite.