jdxi_editor.ui.editors.midi_player.automation
Automation Widget class
Classes
Automation Widget class |
Module Contents
- class jdxi_editor.ui.editors.midi_player.automation.AutomationWidget(midi_state: jdxi_editor.midi.playback.state.MidiPlaybackState, parent: MidiFilePlayer)[source]
Bases:
jdxi_editor.ui.widgets.jdxi.midi_group.JDXiMidiGroupAutomation Widget class
- automation_midi_info_bar: jdxi_editor.ui.widgets.midi.selection_info_bar.MidiSelectionInfoBar | None = None[source]
- populate_automation_programs(source: jdxi_editor.ui.preset.source.PresetSource) None[source]
Populate the program combo based on source list. source: “Digital” | “Analog” | “Drums”
- _add_items_to_automation_combo(preset_list: list[dict[str, str | Any]] | Any)[source]
items to combo box
- on_automation_type_changed(_: int) None[source]
Show the presets of the chosen synth type.
The combo shows “Digital” / “Analog” / “Drums”, the values of
PresetSource; the preset lists are keyed by the enum, so the text must be converted (looking it up as a string found nothing and fell back to the drum kits).- Parameters:
_ – int combo index
- Returns:
None
- on_automation_channel_changed(_: int) None[source]
Offer the presets of the JD-Xi part on the chosen channel.
Each part only accepts its own banks: Digital tones are bank 95, Analog tones 94 and drum kits 86. A Digital preset inserted on channel 3 (the Analog part) is ignored by the JD-Xi, so the type follows the channel: Analog for channel 3, Drums for channel 10, Digital otherwise. It can still be changed afterwards for a non-standard channel setup.
- Parameters:
_ – int combo index
- Returns:
None