## Uses of Interface
javax.sound.midi.Transmitter

- Packages that use Transmitter
  Package | Description
  --- | ---
  javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.

- - ### Uses of Transmitter in javax.sound.midi

    Subinterfaces of Transmitter in javax.sound.midi
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `MidiDeviceTransmitter` `MidiDeviceTransmitter` is a `Transmitter` which represents a MIDI input connector of a `MidiDevice` (see `MidiDevice.getTransmitter()`).

    Methods in javax.sound.midi that return Transmitter
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Transmitter` | MidiSystem.`getTransmitter()` Obtains a MIDI transmitter from an external MIDI port or other default source.
    `Transmitter` | MidiDevice.`getTransmitter()` Obtains a MIDI OUT connection from which the MIDI device will transmit MIDI data The returned transmitter must be closed when the application has finished using it.

    Methods in javax.sound.midi that return types with arguments of type Transmitter
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<Transmitter>` | MidiDevice.`getTransmitters()` Returns all currently active, non-closed transmitters connected with this MidiDevice.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.