软件包 | 描述 |
---|---|
javax.sound.midi |
提供的接口和类的I / O,测序和合成的MIDI(乐器数字接口)数据。
|
Modifier and Type | Method and Description |
---|---|
static MidiDevice |
MidiSystem.getMidiDevice(MidiDevice.Info info)
获取请求的MIDI设备。
|
Receiver |
MidiDevice.getReceiver()
获得接收MIDI通过MIDI设备可以接收MIDI数据。
|
static Receiver |
MidiSystem.getReceiver()
从外部MIDI端口或其他默认设备MIDI接收器。
|
static Sequencer |
MidiSystem.getSequencer()
得到默认
Sequencer ,连接到一个默认设备。
|
static Sequencer |
MidiSystem.getSequencer(boolean connected)
得到默认
Sequencer ,随意连接到默认设备。
|
static Synthesizer |
MidiSystem.getSynthesizer()
获得默认的合成器。
|
Transmitter |
MidiDevice.getTransmitter()
得到一个MIDI连接的MIDI设备将发送MIDI数据返回的变送器必须关闭的时候使用它的应用程序已完成。
|
static Transmitter |
MidiSystem.getTransmitter()
从外部MIDI端口或其他默认源MIDI发射机。
|
void |
MidiDevice.open()
打开该设备,表明它应该获得它所需要的任何系统资源,并成为可操作的。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.