 void defaults() {
     halfTurns = 1;
     duration = 500;
+    midDuration = 500;
     startPitch = 72;
-    endPitch = 36;
+    midPitch = 48;
+    endPitch = 60;
     dir = true;
     recentre = true;
 }

            for (byte d=0; d<rDurlength; d++) {
                newDuration[d] = serialIncoming[++i];
            }
            duration = atoi(newDuration);
        } else if (data == rReset) {
            defaults();
        } else if (data < 21) {
            true;
        } else if (data < 40) {

        } else if (data < 120) {
            true;
        } else if (data < 193) {
            midPitch = endPitch; // midPitch is previous endPitch
            endPitch = pitchbyteToMidi(data - 120);
        } else if (data < 203) {
            true;
        } else if (data < 211) {
            test(data - 203);
            flashled();
        }
