软件包 | 描述 |
---|---|
javax.sound.midi |
提供的接口和类的I / O,测序和合成的MIDI(乐器数字接口)数据。
|
Modifier and Type | Field and Description |
---|---|
static Sequencer.SyncMode |
Sequencer.SyncMode.INTERNAL_CLOCK
主同步方式使得音序器从其内部时钟的定时信息。
|
static Sequencer.SyncMode |
Sequencer.SyncMode.MIDI_SYNC
主从同步方式指定MIDI时钟信息的使用。
|
static Sequencer.SyncMode |
Sequencer.SyncMode.MIDI_TIME_CODE
主从同步方式指定MIDI时间码的使用。
|
static Sequencer.SyncMode |
Sequencer.SyncMode.NO_SYNC
一个从同步模式,表明没有时间信息应该被发送到接收机。
|
Modifier and Type | Method and Description |
---|---|
Sequencer.SyncMode |
Sequencer.getMasterSyncMode()
获得当前主同步模式这个音序器。
|
Sequencer.SyncMode[] |
Sequencer.getMasterSyncModes()
得到了主同步模式支持的音序器设置。
|
Sequencer.SyncMode |
Sequencer.getSlaveSyncMode()
获得当前从同步模式这个音序器。
|
Sequencer.SyncMode[] |
Sequencer.getSlaveSyncModes()
获得从同步模式的音序器支持集。
|
Modifier and Type | Method and Description |
---|---|
void |
Sequencer.setMasterSyncMode(Sequencer.SyncMode sync)
套的音序器使用的定时信息的来源。
|
void |
Sequencer.setSlaveSyncMode(Sequencer.SyncMode sync)
设置音序器从同步模式。
|
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.