public class WavPlayer
extends java.lang.Object
Constructor and Description |
---|
WavPlayer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static WavPlayer |
getInstance() |
void |
playDocument(ProsodicDocumentData document,
boolean doLoop) |
void |
playSentence(ProsodicSentenceData sentence,
boolean doLoop) |
void |
playSyllable(ProsodicSentenceData sentence,
int wordIndex,
int sylIndex,
boolean doLoop) |
void |
playWord(ProsodicSentenceData sentence,
int wordIndex,
boolean doLoop) |
void |
stop() |
public static WavPlayer getInstance()
public void close()
public void stop() throws SoundException
SoundException
public void playDocument(ProsodicDocumentData document, boolean doLoop) throws SoundException
SoundException
public void playSentence(ProsodicSentenceData sentence, boolean doLoop) throws SoundException
SoundException
public void playWord(ProsodicSentenceData sentence, int wordIndex, boolean doLoop) throws SoundException
SoundException
public void playSyllable(ProsodicSentenceData sentence, int wordIndex, int sylIndex, boolean doLoop) throws SoundException
SoundException