jdxi_editor.devel.parse_drum_json
Script to load and parse a Drum JSON file from .msz using JD-Xi’s SysExParser.
- Usage:
python3 parse_drum_json.py [path_to_msz_file] [json_filename]
Example
python3 parse_drum_json.py tests/ceremony_from_software.msz jdxi_tone_data_19703e00.json
Functions
|
|
|
|
|
|
|
|
|
|
|
Load a JSON file from an .msz archive. |
|
Parse a JSON string using JDXiJsonSysexParser. |
|
Main function to load and parse drum JSON file. |
Module Contents
- jdxi_editor.devel.parse_drum_json.load_json_from_msz(msz_path: pathlib.Path, json_filename: str) str | None[source]
Load a JSON file from an .msz archive.
- Parameters:
msz_path – Path to the .msz file
json_filename – Name of the JSON file to extract
- Returns:
JSON string or None if not found