System-level MIDI operations
- Source:
Members
(static) continue
Send a continue message (0xFB)
Indicates resume playback from current position
- Source:
(static) sendActiveSensing
Send an active sensing message (0xFE)
Used to indicate controller is still active
- Source:
(static) sendClock
Send a timing clock message (0xF8)
Typically used for synchronizing tempo-dependent devices
- Source:
Example
// Send clock pulse (usually 24 pulses per quarter note)
midi.system.sendClock();
(static) sendEx
Send a SysEx message
- Source:
Examples
// Send data with wrapper
midi.system.sendEx([0xF0, 0x42, 0x30, 0x00, 0x01, 0x2F, 0x12, 0xF7], true);
// Send data without wrapper (wrapper added automatically)
midi.system.sendEx([0x42, 0x30, 0x00, 0x7F]);
(static) sendMTC
Send an MTC quarter frame message
- Source:
Example
midi.system.sendMTC(0x00); // First quarter frame
(static) sendSongPosition
Send a song position pointer message
- Source:
Example
midi.system.sendSongPosition(0); // Beginning of song
(static) sendSongSelect
Send a song select message
- Source:
Example
midi.system.sendSongSelect(0); // Select first song
(static) sendSystemReset
Send a system reset message (0xFF)
Resets all devices to power-up default state
- Source:
(static) sendTuneRequest
Send a tune request message (0xF6)
Requests analog synthesizers to tune themselves
- Source:
(static) start
Send a start message (0xFA)
Indicates start of playback from beginning of song
- Source:
(static) stop
Send a stop message (0xFC)
Indicates stop playback
- Source: