Added shiftNote and shiftPitch to generate notes from offsets