 
 void defaults() {
     halfTurns = 1;
-    duration = 500;
+    Duration = 500;
     midDuration = 500;
     sustainDuration = 50;
     startPitch = 72;

        Serial.print(recentre, DEC);
        Serial.print(" time ");
        unsigned long starttime = millis();
        durationturn(duration, startPitch, dir, recentre);
        Serial.println(millis() - starttime);
    } else if (style == 4) {
        // duration gliss
        Serial.print("duration ");
        Serial.print(duration, DEC);
        Serial.print(" startpitch ");
        Serial.print(startPitch, DEC);
        Serial.print(" endpitch ");

        } else if (data == rGliss) {
            gliss(halfTurns, startPitch, endPitch, dir);
        } else if (data == rTimedTurn) {
            timedturn(halfTurns, Duration, dir);
        } else if (data == rDurationTurn) {
            durationturn(Duration, startPitch, dir, recentre);
        } else if (data == rDurationGliss) {
            durationgliss(Duration, startPitch, endPitch,
                    dir, recentre, sustainDuration);
        } else if (data == rForwards) {
            dir = true;
