Hard coded min and max pitch to remove magic numbers all over the place.