Giter VIP home page Giter VIP logo

Comments (2)

Atreyagaurav avatar Atreyagaurav commented on July 26, 2024 1

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.

awbcmu avatar awbcmu commented on July 26, 2024

from flite.

Related Issues (20)

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.