setPitchBend method

void setPitchBend(
  1. int value1,
  2. int value2
)

Implementation

void setPitchBend(int value1, int value2)
{
    _pitchBend = (1.0 / 8192.0) * ((value1 | (value2 << 7)) - 8192);
}