Package com.chatmotorapi.api.speech
Enum MotorSpeechVoice
- All Implemented Interfaces:
Serializable
,Comparable<MotorSpeechVoice>
,java.lang.constant.Constable
public enum MotorSpeechVoice extends Enum<MotorSpeechVoice>
Enum representing the various voices available for speech synthesis
when using the ChatMotor API. Each voice offers a unique style and tone,
providing options to match different use cases and preferences.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static MotorSpeechVoice
valueOf(String name)
Returns the enum constant of this type with the specified name.static MotorSpeechVoice[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ALLOY
ALLOY voice. A robust and metallic-sounding voice, suitable for authoritative and industrial contexts. -
ECHO
ECHO voice. A resonant and clear voice, ideal for presentations and public announcements. -
FABLE
FABLE voice. A warm and storytelling voice, perfect for narrations and audiobooks. -
ONYX
ONYX voice. A deep and rich voice, great for formal and serious content. -
NOVA
NOVA voice. A bright and energetic voice, suitable for lively and dynamic content. -
SHIMMER
SHIMMER voice. A soft and gentle voice, ideal for soothing and calming applications.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-