public interface SequentialData
FixedRateMonoReader,
FixedRateStereoReader,
FixedRateMonoWriter,
FixedRateStereoWriter,
VariableRateMonoReader,
VariableRateStereoReader| Modifier and Type | Method and Description |
|---|---|
int |
getChannelsPerFrame() |
int |
getNumFrames() |
double |
getRateScaler(int index,
double synthesisRate)
Get rate to play the data.
|
int |
getReleaseBegin() |
int |
getReleaseEnd() |
int |
getSustainBegin() |
int |
getSustainEnd()
SustainEnd value is the frame index of the frame just past the end of the loop.
|
double |
readDouble(int index)
Read a value from the sample independently from the internal storage format.
|
void |
writeDouble(int index,
double value)
Write a value at the given index.
|
void writeDouble(int index,
double value)
index - sample index is ((frameIndex * channelsPerFrame) + channelIndex)value - the value to be writtendouble readDouble(int index)
index - sample index is ((frameIndex * channelsPerFrame) + channelIndex)int getSustainBegin()
int getSustainEnd()
int getReleaseBegin()
int getReleaseEnd()
double getRateScaler(int index,
double synthesisRate)
index - synthesisRate - int getChannelsPerFrame()
int getNumFrames()