To Do: make `duration` optional (it is an optional parameter in the Arduino api):

```
if (argc > 4) {
  duration = argv[4] + (argv[5] << 7);
  tone(pin, frequency, duration);
}
else {
  tone(pin, frequency);
}