Package com.sun.speech.freetts.en.us

Examples of com.sun.speech.freetts.en.us.CMULexicon


                "System property \"mbrola.base\" is undefined.  "
                + "Will not use MBROLA voices.");
            return new Voice[0];
        } else {

            CMULexicon lexicon = new CMULexicon("cmulex");
           
            Voice mbrola1 = new MbrolaVoice
                ("us1", "us1", 150f, 180F, 22F,
                 "mbrola_us1", Gender.FEMALE, Age.YOUNGER_ADULT,
                 "MBROLA Voice us1",
View Full Code Here


    setPitchRange(12F);
        if (lexicon != null) {
            setLexicon(lexicon);
        } else {
            // Use a small dummy lexicon
            setLexicon(new CMULexicon("cmutimelex"));
        }
    this.database = database;
    this.phonesetURL = phonesetURL;
    this.partOfSpeechURL = partOfSpeechURL;
        try {
View Full Code Here

    setPitchRange(12F);
        if (lexicon != null) {
            setLexicon(lexicon);
        } else {
            // Use a small dummy lexicon
            setLexicon(new CMULexicon("cmutimelex"));
        }
    this.database = database;
    this.unitNamer = unitNamer;
    this.phonesetURL = phonesetURL;
    this.partOfSpeechURL = partOfSpeechURL;
View Full Code Here

     * Gets the voices provided by this voice.
     *
     * @return an array of new Voice instances
     */
    public Voice[] getVoices() {
        CMULexicon lexicon = new CMULexicon("cmutimelex");
        Voice alan = new CMUClusterUnitVoice("alan", Gender.MALE,
                Age.YOUNGER_ADULT, "default time-domain cluster unit voice",
                Locale.US, "time", "cmu", lexicon,
                this.getClass().getResource("cmu_time_awb.bin"));
        Voice[] voices = {alan};
View Full Code Here

     * Gets the voices provided by this voice.
     *
     * @return an array of new Voice instances
     */
    public Voice[] getVoices() {
        CMULexicon lexicon = new CMULexicon("cmulex");
        Voice kevin = new CMUDiphoneVoice("kevin", Gender.MALE,
                Age.YOUNGER_ADULT, "default 8-bit diphone voice",
                Locale.US, "general", "cmu", lexicon,
                this.getClass().getResource("cmu_us_kal.bin"));
        Voice kevin16 = new CMUDiphoneVoice("kevin16", Gender.MALE,
View Full Code Here

TOP

Related Classes of com.sun.speech.freetts.en.us.CMULexicon

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.