chinput VEX function

Returns the value of a channel at the specified sample in an input.

Context: chop

  1. float chinput(int input, int channel, int sample)

  2. float chinput(int input, int channel, float sample)

Returns the value of a channel at the specified sample in an input. If the sample is fractional, the value is linearly interpolated from the two nearest points.