spessasynth_lib documentation
    Preparing search index...

    Class LibMIDIOutput

    Wrapper around the Web MIDI API's MIDIOutput.

    Hierarchy (View Summary)

    Index
    port: MIDIOutput

    The actual Web MIDI API port.

    • get id(): string

      The id read-only property of the MIDIPort interface returns the unique ID of the port.

      Returns string

    • get manufacturer(): string | null

      The manufacturer read-only property of the MIDIPort interface returns the manufacturer of the port.

      Returns string | null

    • get name(): string | null

      The name read-only property of the MIDIPort interface returns the system name of the port.

      Returns string | null

    • get version(): string | null

      The version read-only property of the MIDIPort interface returns the version of the port.

      Returns string | null

    • Connects a given sequencer to the output, playing back the MIDI file to it.

      Parameters

      • seq: Sequencer

        The sequencer to connect.

      • channelOffset: number = 0

        The channel offset of this output for multi-port files. For example 0 means the first port, 16 means the second port and so on.

      Returns void