Adjust MIDI values for open strings with capo and perform additional checks