libmidi.types.messages.system
MIDI system message.
Functions
Classes
|
|
|
|
|
|
|
Enum of system message types. |
- class libmidi.types.messages.system.BaseMessageSystem
- __str__() str
Return a string representation of the message.
- get_status_byte()
Return the status byte of the message.
- message_type: MessageType = 1
- system_message_type: SystemMessageType
- class libmidi.types.messages.system.MessageSystemExclusive(data: bytes)
- __init__(data: bytes)
Initialize a system exclusive message.
- attributes: List[str] = ['data']
- classmethod from_bytes(data: bytes)
Read a message from bytes.
- get_length() int
- system_message_type: SystemMessageType = 240
- to_bytes() bytes
Return message as bytes.
- class libmidi.types.messages.system.MessageSystemSongPositionPointer(position: int)
- __init__(position: int)
Initialize a song position pointer message.
- attributes: List[str] = ['position']
- classmethod from_bytes(data: bytes)
Read a message from bytes.
- system_message_type: SystemMessageType = 242
- to_bytes() bytes
Return message as bytes.
- class libmidi.types.messages.system.MessageSystemSongSelect(song_number: int)
- __init__(song_number: int)
Initialize a song select message.
- attributes: List[str] = ['song_number']
- classmethod from_bytes(data: bytes)
Read a message from bytes.
- system_message_type: SystemMessageType = 243
- to_bytes() bytes
Return message as bytes.
- class libmidi.types.messages.system.MessageSystemTimeCodeQuarterFrame(timecode_message_type: int, values: int)
- __init__(timecode_message_type: int, values: int)
Initialize a time code quarter frame message.
- attributes: List[str] = ['timecode_message_type', 'values']
- classmethod from_bytes(data: bytes)
Read a message from bytes.
- system_message_type: SystemMessageType = 241
- to_bytes() bytes
Return message as bytes.
- class libmidi.types.messages.system.MessageSystemTuneRequest
- classmethod from_bytes(data: bytes)
Read a message from bytes.
- system_message_type: SystemMessageType = 246
- to_bytes() bytes
Return message as bytes.
- class libmidi.types.messages.system.SystemMessageType(value)
Enum of system message types.
- END_OF_EXCLUSIVE = 247
- SONG_POSITION_POINTER = 242
- SONG_SELECT = 243
- SYSTEM_EXCLUSIVE = 240
- TIME_CODE_QUARTER_FRAME = 241
- TUNE_REQUEST = 246
- libmidi.types.messages.system.system_message_from_bytes(data: bytes) Tuple[BaseMessageSystem, bytes]