Package ai.picovoice.orca
Class OrcaAudio
- java.lang.Object
-
- ai.picovoice.orca.OrcaAudio
-
public class OrcaAudio extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short[]getPcm()Getter for the synthesized audio.OrcaWord[]getWordArray()Getter for synthesized words and their associated metadata.
-
-
-
Constructor Detail
-
OrcaAudio
public OrcaAudio(short[] pcm, OrcaWord[] wordArray)Constructor.- Parameters:
pcm- Synthesized audio.wordArray- Synthesized words and their associated metadata.
-
-
Method Detail
-
getPcm
public short[] getPcm()
Getter for the synthesized audio.- Returns:
- Synthesized audio.
-
getWordArray
public OrcaWord[] getWordArray()
Getter for synthesized words and their associated metadata.- Returns:
- Synthesized words and their associated metadata.
-
-