Package ai.picovoice.orca
Class OrcaWord
- java.lang.Object
-
- ai.picovoice.orca.OrcaWord
-
public class OrcaWord extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OrcaWord(java.lang.String word, float startSec, float endSec, OrcaPhoneme[] phonemeArray)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetEndSec()Getter for the end time of the word in seconds.OrcaPhoneme[]getPhonemeArray()Getter for synthesized phonemes and their associated metadata.floatgetStartSec()Getter for the start time of the word in seconds.java.lang.StringgetWord()Getter for the synthesized word.
-
-
-
Constructor Detail
-
OrcaWord
public OrcaWord(java.lang.String word, float startSec, float endSec, OrcaPhoneme[] phonemeArray)Constructor.- Parameters:
word- Synthesized word.startSec- Start time of the word in seconds.endSec- End time of the word in seconds.phonemeArray- Synthesized phonemes and their associated metadata.
-
-
Method Detail
-
getWord
public java.lang.String getWord()
Getter for the synthesized word.- Returns:
- Synthesized word.
-
getStartSec
public float getStartSec()
Getter for the start time of the word in seconds.- Returns:
- Start time of the word in seconds.
-
getEndSec
public float getEndSec()
Getter for the end time of the word in seconds.- Returns:
- End time of the word in seconds.
-
getPhonemeArray
public OrcaPhoneme[] getPhonemeArray()
Getter for synthesized phonemes and their associated metadata.- Returns:
- Synthesized phonemes and their associated metadata.
-
-