libmidi.types.messages.channel
MIDI channel message.
Functions
Get a channel message from bytes. |
Classes
|
Base class for channel messages. |
|
|
|
|
|
|
|
|
|
|
|
|
|
- class libmidi.types.messages.channel.BaseMessageChannel(channel: int)
Base class for channel messages.
Since all channel messages have the same structure (at least a channel data + 8 bit data bytes), we can commonize a lot of methods.
- copy(**kwargs) BaseMessageChannel
- get_status_byte()
Return the status byte of the message.
- to_bytes()
Return message as bytes.
- class libmidi.types.messages.channel.MessagePitchBend(channel: int, value_lsb: int, value_msb: int)
- libmidi.types.messages.channel.channel_message_from_bytes(data: bytes) Tuple[BaseMessageChannel, bytes]
Get a channel message from bytes.