Suggest replacing the8th note on the octave with a function that shifts all the other notes up half a step. You wouldn’t lose any notes because the 8th note of an octave is half a step above the 7th, and you would gain all the notes you are missing. BTW if there is a better place for this please move it.