jdxi_editor.devel.query_program_f18

Script to query JD-Xi for Program Bank F, Program 18 and collect SysEx responses.

This script: 1. Connects to the JD-Xi MIDI ports 2. Loads Program Bank F, Program 18 3. Requests all parameter data 4. Captures all SysEx JSON responses 5. Saves them to a JSON file

Classes

SysExCollector

Collects SysEx JSON responses from the JD-Xi.

Functions

main()

Main function to query and collect program data.

Module Contents

class jdxi_editor.devel.query_program_f18.SysExCollector(output_file: pathlib.Path)[source]

Bases: PySide6.QtCore.QObject

Collects SysEx JSON responses from the JD-Xi.

collection_complete[source]
output_file[source]
collected_responses: List[Dict[str, Any]] = [][source]
collection_timeout = 10.0[source]
start_time: float = 0.0[source]
on_sysex_json(json_string: str) None[source]

Handle incoming SysEx JSON data.

Parameters:

json_string – str JSON string containing SysEx data

start_collection() None[source]

Start the collection timer.

check_timeout() None[source]

Check if collection timeout has been reached.

save_responses() None[source]

Save collected responses to JSON file.

jdxi_editor.devel.query_program_f18.main()[source]

Main function to query and collect program data.