jdxi_editor.midi.message.areas.system_common

# Example usage: # Set master tune to +50 cents >>> msg = SystemCommonMessage( … lsb=SystemCommonParam.MASTER_TUNE.value, … value=1024 + (50 * 10), # Convert +50.0 cents to 1524 … )

# Set master key shift to -12 semitones >>> msg = SystemCommonMessage( … lsb=SystemCommonParam.MASTER_KEY_SHIFT.value, value=52 # Convert -12 to 52 (64-12) … )

# Set program control channel to 1 >>> msg = SystemCommonMessage( … lsb=SystemCommonParam.PROGRAM_CTRL_CH.value, value=1 # Channel 1 … )

# Enable program change reception >>> msg = SystemCommonMessage(lsb=SystemCommonParam.RX_PROGRAM_CHANGE.value, value=1) # ON

Classes

SystemCommonMessage

System Common parameter message

Module Contents

class jdxi_editor.midi.message.areas.system_common.SystemCommonMessage[source]

Bases: jdxi_editor.midi.message.roland.RolandSysEx

System Common parameter message

command: int[source]
msb: int[source]
umb: int[source]
lmb: int[source]
lsb: int[source]
value: int[source]
__post_init__()[source]

Ensure proper initialization of address, model_id, and data fields.