|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SoundException in |
Methods in Default Package that throw SoundException | |
void |
SimpleSound.writeToFile(java.lang.String outFileName)
Creates an audioInputStream from this sound, and then writes this stream out to the file with the specified name. |
void |
SimpleSound.loadFromFile(java.lang.String inFileName)
Resets the fields of this sound so that it now represents the sound in the specified file. |
void |
SimpleSound.playAtRateDur(double rate,
double durInFrames)
Checks the value of durInFrames to make sure that it is not larger than Integer.MAX_VALUE to guarrantee safe casting. |
void |
SimpleSound.blockingPlayAtRateDur(double rate,
double durInFrames)
First, checks the value of durInFrames to make sure that it is not larger than Integer.MAX_VALUE to guarrantee safe casting. |
void |
SimpleSound.playAtRateInRange(float rate,
int startFrame,
int endFrame)
Calls playAtRateInRange(rate, startFrame, endFrame,
false) . |
void |
SimpleSound.blockingPlayAtRateInRange(float rate,
int startFrame,
int endFrame)
Calls playAtRateInRange(rate, startFrame, endFrame, true)
. |
void |
SimpleSound.playAtRateInRange(float rate,
int startFrame,
int endFrame,
boolean isBlocking)
Plays the specified segment of this sound at the given sample rate. |
byte[] |
SimpleSound.getFrame(int frameNum)
Returns an array containing all of the bytes in the specified frame. |
int |
SimpleSound.getSampleValue(int frameNum)
If this is a mono sound, obtains the single sample contained within this frame, else obtains the first (left) sample contained in the specified frame. |
int |
SimpleSound.getLeftSample(int frameNum)
Obtains the left sample of the audio data contained at the specified frame. |
int |
SimpleSound.getRightSample(int frameNum)
Obtains the right sample of the audio data contained at the specified frame. |
void |
SimpleSound.setFrame(int frameNum,
byte[] theFrame)
Changes the value of each byte of the specified frame. |
void |
SimpleSound.setSampleValue(int frameNum,
int sample)
Changes the value of the sample found at the specified frame. |
void |
SimpleSound.setLeftSample(int frameNum,
int sample)
|
void |
SimpleSound.setRightSample(int frameNum,
int sample)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |