Interface ARI1SampleMapEntryType


public interface ARI1SampleMapEntryType
An entry in a sample map.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    evaluate(long frameIndex, double velocity, double[] output)
    Evaluate the sample at frame index frameIndex and velocity velocity.
    long
     
    double
     
  • 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 index frameIndex and velocity velocity. The output frame output must be at least as long as channels().
      Parameters:
      frameIndex - The frame index
      velocity - The velocity
      output - The output frame