jdxi_editor.midi.data.programs.digital

Digital preset list

Attributes

DIGITAL_PRESET_LIST

RAW_PRESETS_CSV

Functions

generate_preset_list(→ list[dict[str, str]])

Generate a list of presets from RAW_PRESETS_CSV data.

get_preset_by_program_number(→ Optional[dict])

Get preset information by program number.

get_preset_parameters(→ Optional[Tuple[int, int, int]])

Get MSB, LSB, and PC values for a given program number.

Module Contents

jdxi_editor.midi.data.programs.digital.DIGITAL_PRESET_LIST[source]
jdxi_editor.midi.data.programs.digital.RAW_PRESETS_CSV = ''[source]
jdxi_editor.midi.data.programs.digital.generate_preset_list() list[dict[str, str]][source]

Generate a list of presets from RAW_PRESETS_CSV data.

jdxi_editor.midi.data.programs.digital.get_preset_by_program_number(program_number: str) dict | None[source]

Get preset information by program number. :param program_number: str The program number (e.g., ‘090’) :return: Optional[dict] The preset information containing msb, lsb, pc, and other details :return: None If preset not found

jdxi_editor.midi.data.programs.digital.get_preset_parameters(program_number: str) Tuple[int, int, int] | None[source]

Get MSB, LSB, and PC values for a given program number.

Parameters:

program_number – str The program number (e.g., ‘090’)

Returns:

Tuple[int, int, int] The MSB, LSB, and PC values as integers

Returns:

Optional[Tuple[int, int, int]] The MSB, LSB, and PC values as integers

Returns:

None If preset not found