adjustments in halfX for pitchbend friendlier version