'Plays the notes in aNoteSequence via the MIDI output port.
Args:
sequence: The NoteSequence to play, with times based on the wall clock.
start_time: The float time before which to strip events. Defaults to call
time. Events before this time will be sent immediately on start.
allow_updates: A boolean specifying whether or not the player should stay
allow the sequence to be updated and stay alive until `stop` is
called.
Returns:
The MidiPlayer thread handling playback to enable updating.'

def start_playback(self, sequence, start_time=time.time(), allow_updates=False):

    player = MidiPlayer(self._outport, sequence, start_time, allow_updates, self._playback_channel, self._playback_offset)
    with self._lock:
        self._players.append(player)
    player.start()
    return player
