Package com.sun.speech.engine.synthesis

Examples of com.sun.speech.engine.synthesis.BaseVoice


              Locale.getDefault(),
              Boolean.FALSE,      // running?
              null);        // voice[]

        // Add voices known to this synthesizer.
        addVoice(new BaseVoice("Mike-1", "Mike", Voice.GENDER_MALE,
                               Voice.AGE_MIDDLE_ADULT, "standard",
                               120.0f, 50.0f, 150.0f, 1.0f));
        addVoice(new BaseVoice("Peter-2", "Peter", Voice.GENDER_MALE, 
                               Voice.AGE_YOUNGER_ADULT, "standard",
                               135.0f, 34.0f, 165.0f, 1.0f));
        addVoice(new BaseVoice("Paul-3", "Paul", Voice.GENDER_MALE, 
                               Voice.AGE_MIDDLE_ADULT, "standard",
                               90.0f, 30.0f, 120.0f, 1.0f));
        addVoice(new BaseVoice("Mary-4", "Mary", Voice.GENDER_FEMALE, 
                               Voice.AGE_OLDER_ADULT, "standard",
                               200.0f, 80.0f, 190.0f, 1.0f));
    }
View Full Code Here

TOP

Related Classes of com.sun.speech.engine.synthesis.BaseVoice

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.