jdxi_editor.midi.sysex.utils

This module provides utility functions for handling MIDI SysEx messages.

Functions:
  • get_parameter_from_address: Map address to DigitalParameter

  • validate_sysex_message: Validate JD-Xi SysEx message format

  • calculate_checksum: Calculate Roland checksum for parameter messages

  • bytes_to_hex_string: Convert a list of byte values to a space-separated hex string

  • to_hex_string: Convert an integer value to a hexadecimal string representation

Functions

calculate_checksum(→ int)

Calculate Roland checksum for parameter messages.

Module Contents

jdxi_editor.midi.sysex.utils.calculate_checksum(data: tuple) int[source]

Calculate Roland checksum for parameter messages.

Parameters:

data – tuple of integers (bytes) to calculate checksum for.

Returns:

int