Giter VIP home page Giter VIP logo

Comments (4)

kripken avatar kripken commented on August 23, 2024

Is -x something that espeak recognizes? How does it work?

from speak.js.

forresto avatar forresto commented on August 23, 2024

I'm guessing that -x -q outputs something like [[D,Is Iz sVm f@n'EtIk t'Ekst 'InpUt]] which you could then alter and reinput with -w.

http://espeak.sourceforge.net/commands.html

-q
Quiet. No sound is generated. This may be useful with options such as -x and --pho.

-w
Writes the speech output to a file in WAV format, rather than speaking it.

-x
The phoneme mnemonics, into which the input text is translated, are written to stdout.

-X
As -x, but in addition, details are shown of the pronunciation rule and dictionary list lookup. This can be useful to see why a certain pronunciation is being produced. Each matching pronunciation rule is listed, together with its score, the highest scoring rule being used in the translation. "Found:" indicates the word was found in the dictionary lookup list, and "Flags:" means the word was found with only properties and not a pronunciation. You can see when a word has been retranslated after removing a prefix or suffix.

from speak.js.

kripken avatar kripken commented on August 23, 2024

Nice, we should definitely do this.

from speak.js.

thomas-picchetti avatar thomas-picchetti commented on August 23, 2024

Hi ! Did you do it in the end ?
espeak -x -q works great for what I need, but it would be much cooler to do it in the browser !
there is also espeak --ipa which outputs international phonetic alphabet.
I must admit I'm lost : don't understand emscripten, and i don't understand whether speak.js allows this already, or if there is an easy way to modify and rebuild it to get access to the phoneme representation, or if it is hopeless.

from speak.js.

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.