# Class ARIP0SampleState

java.lang.Object
com.io7m.aradine.instrument.sampler_p0.internal.ARIP0SampleState

public final class ARIP0SampleState extends Object
The playback state of a sample.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `evaluate(double pitchBend, double[] frame)`
  Evaluate the sample.
  `double`
  `velocity()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### evaluate

    public void evaluate(double pitchBend, double[] frame)
    Evaluate the sample.
    Parameters:
      `pitchBend` - The current pitch bend value
      `frame` - The output frame

  - ### velocity

    public double velocity()
    Returns:
      The velocity