 
     send_whammy_position((byte) sequence[current_step]);
 
-    // next step
     current_step += 1;
     current_step = current_step % (sizeof(sequence) / sizeof(sequence[0]));
   }

/* TODO better debugging method (need to send MIDI out of a different pin,
so it's not tying up the default serial interface) */
#define DEBUG false

enum Modes {
  PLAY, // play current sequence

}

void send_whammy_position(byte value) {
  #ifdef DEBUG
  Serial.print("set position:");
  Serial.print(value);
  Serial.print("\n");
  #endif

  midi_serial.write((byte) 176); // CC on Channel 1 (10110000)
  midi_serial.write((byte) 11); // Controller 11
  midi_serial.write(value);
}

