reset method

void reset()

Implementation

void reset()
{
    _bankNumber = isPercussionChannel ? 128 : 0;
    _patchNumber = 0;

    _modulation = 0;
    _volume = 100 << 7;
    _pan = 64 << 7;
    _expression = 127 << 7;
    _holdPedal = false;

    _reverbSend = 40;
    _chorusSend = 0;

    _rpn = -1;
    _pitchBendRange = 2 << 7;
    _coarseTune = 0;
    _fineTune = 8192;

    _pitchBend = 0.0;
}