public class SoundPlayer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SoundPlayer.SoundFile |
Modifier and Type | Method and Description |
---|---|
void |
close(SoundPlayer.SoundFile soundFile) |
void |
export(SoundPlayer.SoundFile soundFile,
java.io.OutputStream out) |
static SoundPlayer |
getInstance() |
SoundPlayer.SoundFile |
getSoundFile(ProsodicDocumentData document) |
SoundPlayer.SoundFile |
getSoundFile(ProsodicSentenceData sentence) |
SoundPlayer.SoundFile |
getSoundFile(java.lang.String fileName) |
void |
open(SoundPlayer.SoundFile soundFile) |
void |
pause(SoundPlayer.SoundFile soundFile) |
void |
resume(SoundPlayer.SoundFile soundFile) |
void |
start(SoundPlayer.SoundFile soundFile) |
void |
stop(SoundPlayer.SoundFile soundFile) |
public static SoundPlayer getInstance()
public SoundPlayer.SoundFile getSoundFile(java.lang.String fileName) throws SoundException
SoundException
public SoundPlayer.SoundFile getSoundFile(ProsodicDocumentData document) throws SoundException
SoundException
public SoundPlayer.SoundFile getSoundFile(ProsodicSentenceData sentence) throws SoundException
SoundException
public void open(SoundPlayer.SoundFile soundFile) throws SoundException
SoundException
public void close(SoundPlayer.SoundFile soundFile) throws SoundException
SoundException
public void start(SoundPlayer.SoundFile soundFile) throws SoundException
SoundException
public void stop(SoundPlayer.SoundFile soundFile) throws SoundException
SoundException
public void pause(SoundPlayer.SoundFile soundFile) throws SoundException
SoundException
public void resume(SoundPlayer.SoundFile soundFile) throws SoundException
SoundException
public void export(SoundPlayer.SoundFile soundFile, java.io.OutputStream out) throws SoundException, java.io.IOException
SoundException
java.io.IOException