jdxi_editor.midi.sysex.composer

JDXiSysExComposer

Classes

JDXiSysExComposer

SysExComposer

Functions

apply_lmb_offset(...)

Set the LMB (Logical Memory Block) of the address depending on the parameter type.

Module Contents

jdxi_editor.midi.sysex.composer.apply_lmb_offset(address: jdxi_editor.midi.data.address.address.RolandSysExAddress, param: picomidi.sysex.parameter.address.AddressParameter) jdxi_editor.midi.data.address.address.RolandSysExAddress[source]

Set the LMB (Logical Memory Block) of the address depending on the parameter type.

class jdxi_editor.midi.sysex.composer.JDXiSysExComposer[source]

SysExComposer

address = None[source]
sysex_message = None[source]
compose_message(address: jdxi_editor.midi.data.address.address.RolandSysExAddress, param: picomidi.sysex.parameter.address.AddressParameter, value: int, size: int = 1) jdxi_editor.midi.message.roland.RolandSysEx | None[source]

Compose a SysEx message for the given address and parameter.

Parameters:
  • address – RolandSysExAddress

  • param – AddressParameter

  • value – Parameter display value

  • size – Optional, number of bytes (1 or 4)

Returns:

RolandSysEx object or None on failure

_is_valid_sysex() bool[source]

Checks if the SysEx message starts and ends with the correct bytes.

_verify_header() bool[source]

Checks if the SysEx header matches the JD-Xi model ID.