code: function connect() {
      return new Promise(function (resolve, reject) {
          navigator.requestMIDIAccess().then(function (access) {
              resolve(new Driver(access));
          }).catch(function () {
              reject(new Error('MIDI access denied'));
          });
      });
  }
docs: Establish a connection to the MIDI driver
  
  @return {Promise} A connection promise