jdxi_editor.midi.data.parameter.digital.modify

Defines the AddressParameterDigitalModify class for modifying parameters of Digital/SuperNATURAL synth tones in the JD-Xi.

This class provides attributes and methods to manage various modulation parameters shared across all partials of a digital synth tone. It also includes methods for retrieving display text representations of switch values, parameter lookup by name, and value validation.

Example usage:

# Create a AddressParameterDigitalModify instance for Attack Time Interval Sensitivity attack_time_param = AddressParameterDigitalModify(*AddressParameterDigitalModify.ATTACK_TIME_INTERVAL_SENS)

# Validate a value validated_value = attack_time_param.validate_value(100)

# Get display text for a switch value text = attack_time_param.get_switch_text(1) # For ENVELOPE_LOOP_MODE, returns “FREE-RUN”

# Retrieve parameter by name param = AddressParameterDigitalModify.get_by_name(“ENVELOPE_LOOP_MODE”) if param:

print(param.name, param.min_val, param.max_val)

Classes

DigitalModifyParam

Modify parameters for Digital/SuperNATURAL synth tones.

Module Contents

class jdxi_editor.midi.data.parameter.digital.modify.DigitalModifyParam(address: int, min_val: int, max_val: int, tooltip: str = '')[source]

Bases: picomidi.sysex.parameter.address.AddressParameter

Modify parameters for Digital/SuperNATURAL synth tones. These parameters are shared across all partials.

address[source]
min_val[source]
max_val[source]
tooltip = ''[source]
ATTACK_TIME_INTERVAL_SENS[source]
RELEASE_TIME_INTERVAL_SENS[source]
PORTAMENTO_TIME_INTERVAL_SENS[source]
ENVELOPE_LOOP_MODE[source]
ENVELOPE_LOOP_SYNC_NOTE[source]
CHROMATIC_PORTAMENTO[source]
get_switch_text(value: int) str[source]

Get display text for switch values

static get_by_name(param_name)[source]

Get the Parameter by name.

validate_value(value: int) int[source]

Validate and convert parameter value

get_address_for_partial(partial_number: int = 0)[source]