Functions get_pitch() and set_pitch() added to class AfterTouchEvent.