X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=javadoc%2Fcom%2Fsun%2Fspeech%2Fengine%2Fsynthesis%2FBaseVoice.html;fp=javadoc%2Fcom%2Fsun%2Fspeech%2Fengine%2Fsynthesis%2FBaseVoice.html;h=0000000000000000000000000000000000000000;hb=922266ddfe07cf8ca17a600d141115af738bb5c6;hp=450fb8b7735fae3c00e78bc615f0d2518f485dc3;hpb=fb7fcbfa5a4e4768599b90abc50f48c535e9e4fe;p=debian%2Ffreetts diff --git a/javadoc/com/sun/speech/engine/synthesis/BaseVoice.html b/javadoc/com/sun/speech/engine/synthesis/BaseVoice.html deleted file mode 100644 index 450fb8b..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/BaseVoice.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - - -BaseVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class BaseVoice

-
-java.lang.Object
-  extended byjavax.speech.synthesis.Voice
-      extended bycom.sun.speech.engine.synthesis.BaseVoice
-
-
-
All Implemented Interfaces:
java.lang.Cloneable
-
-
-
Direct Known Subclasses:
FreeTTSVoice
-
-
-
-
public class BaseVoice
extends javax.speech.synthesis.Voice
- -

-Extends the JSAPI 1.0 Voice class to encapsulate - engine-specific data. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  floatdefaultPitch - -
-          The default pitch
-protected  floatdefaultPitchRange - -
-          The default pitch range
-protected  floatdefaultSpeakingRate - -
-          The default speaking rate
-protected  floatdefaultVolume - -
-          The default volume
-protected  java.lang.StringvoiceId - -
-          The id of the voice
- - - - - - - -
Fields inherited from class javax.speech.synthesis.Voice
AGE_CHILD, AGE_DONT_CARE, AGE_MIDDLE_ADULT, AGE_NEUTRAL, AGE_OLDER_ADULT, AGE_TEENAGER, AGE_YOUNGER_ADULT, GENDER_DONT_CARE, GENDER_FEMALE, GENDER_MALE, GENDER_NEUTRAL
-  - - - - - - - - - - -
-Constructor Summary
BaseVoice(java.lang.String id, - java.lang.String name, - int gender, - int age, - java.lang.String style, - float pitch, - float pitchRange, - float speakingRate, - float volume) - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Objectclone() - -
-          Creates a copy of this voice.
- java.lang.StringgetId() - -
-          Gets the id for this voice.
- floatgetPitch() - -
-          Gets the pitch for this voice
- floatgetPitchRange() - -
-          Gets the pitch range for this voice
- floatgetSpeakingRate() - -
-          Gets the speaking rate for this voice
- floatgetVolume() - -
-          Gets the volume for this voice
- voidsetId(java.lang.String id) - -
-          Sets the id for this voice.
- java.lang.StringtoString() - -
-          Converts a Voice to a printable string.
- - - - - - - -
Methods inherited from class javax.speech.synthesis.Voice
equals, getAge, getGender, getName, getStyle, match, setAge, setGender, setName, setStyle
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-voiceId

-
-protected java.lang.String voiceId
-
-
The id of the voice -

-

-
-
-
- -

-defaultPitch

-
-protected float defaultPitch
-
-
The default pitch -

-

-
-
-
- -

-defaultPitchRange

-
-protected float defaultPitchRange
-
-
The default pitch range -

-

-
-
-
- -

-defaultSpeakingRate

-
-protected float defaultSpeakingRate
-
-
The default speaking rate -

-

-
-
-
- -

-defaultVolume

-
-protected float defaultVolume
-
-
The default volume -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BaseVoice

-
-public BaseVoice(java.lang.String id,
-                 java.lang.String name,
-                 int gender,
-                 int age,
-                 java.lang.String style,
-                 float pitch,
-                 float pitchRange,
-                 float speakingRate,
-                 float volume)
-
-
Class constructor. The age and gender parameters are defined in - Voice. -

-

Parameters:
id - the id
name - the name
gender - the gender
age - the age
style - the style
pitch - the baseline pitch in Hertz
pitchRange - the pitch range in Hertz
speakingRate - the speaking rate in words per minute
volume - the volume expressed between 0.0 and 1.0, - inclusive
- - - - - - - - -
-Method Detail
- -

-getId

-
-public java.lang.String getId()
-
-
Gets the id for this voice. Should be unique for a - synthesizer. -

-

- -
Returns:
the id for this voice
See Also:
setId(java.lang.String)
-
-
-
- -

-setId

-
-public void setId(java.lang.String id)
-
-
Sets the id for this voice. -

-

-
Parameters:
id - the new id
See Also:
getId()
-
-
-
- -

-getPitch

-
-public float getPitch()
-
-
Gets the pitch for this voice -

-

- -
Returns:
the pitch
-
-
-
- -

-getPitchRange

-
-public float getPitchRange()
-
-
Gets the pitch range for this voice -

-

- -
Returns:
the pitch range
-
-
-
- -

-getSpeakingRate

-
-public float getSpeakingRate()
-
-
Gets the speaking rate for this voice -

-

- -
Returns:
the speaking rate
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Gets the volume for this voice -

-

- -
Returns:
the volume
-
-
-
- -

-clone

-
-public java.lang.Object clone()
-
-
Creates a copy of this voice. -

-

- -
Returns:
a clone of this voice
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Converts a Voice to a printable string. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - -