Relative pitches supported

Sorry for the mess! The merging didn't go well...