Interface ARI1SampleMapEntryType
public interface ARI1SampleMapEntryType
An entry in a sample map.
-
Method Details
-
frames
long frames()- Returns:
- The length of the sample in frames
-
channels
int channels()- Returns:
- The number of channels in the sample
-
playbackRate
double playbackRate()- Returns:
- The base playback rate for the sample
-
evaluate
void evaluate(long frameIndex, double velocity, double[] output) Evaluate the sample at frame indexframeIndexand velocityvelocity. The output frameoutputmust be at least as long aschannels().- Parameters:
frameIndex- The frame indexvelocity- The velocityoutput- The output frame
-