Package | Description |
---|---|
javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
|
Modifier and Type | Field and Description |
---|---|
static Sequencer.SyncMode |
Sequencer.SyncMode.INTERNAL_CLOCK
A master synchronization mode that makes the sequencer get
its timing information from its internal clock.
|
static Sequencer.SyncMode |
Sequencer.SyncMode.MIDI_SYNC
A master or slave synchronization mode that specifies the
use of MIDI clock
messages.
|
static Sequencer.SyncMode |
Sequencer.SyncMode.MIDI_TIME_CODE
A master or slave synchronization mode that specifies the
use of MIDI Time Code.
|
static Sequencer.SyncMode |
Sequencer.SyncMode.NO_SYNC
A slave synchronization mode indicating that no timing information
should be sent to the receiver.
|
Modifier and Type | Method and Description |
---|---|
Sequencer.SyncMode |
Sequencer.getMasterSyncMode()
Obtains the current master synchronization mode for this sequencer.
|
Sequencer.SyncMode[] |
Sequencer.getMasterSyncModes()
Obtains the set of master synchronization modes supported by this
sequencer.
|
Sequencer.SyncMode |
Sequencer.getSlaveSyncMode()
Obtains the current slave synchronization mode for this sequencer.
|
Sequencer.SyncMode[] |
Sequencer.getSlaveSyncModes()
Obtains the set of slave synchronization modes supported by the sequencer.
|
Modifier and Type | Method and Description |
---|---|
void |
Sequencer.setMasterSyncMode(Sequencer.SyncMode sync)
Sets the source of timing information used by this sequencer.
|
void |
Sequencer.setSlaveSyncMode(Sequencer.SyncMode sync)
Sets the slave synchronization mode for the sequencer.
|
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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.