jdxi_editor.ui.preset.model
Preset domain model: named sounds with MIDI wire addresses.
Catalog dictionaries are converted to Preset at the load_presets boundary; callers work with immutable Preset / ProgramChangeSelection objects only.
Attributes
Classes
A synthesizer preset and its MIDI wire address. |
|
A preset selected for transmission on a MIDI channel. |
Functions
|
Convert catalog PROGRAM_CHANGE data for |
Module Contents
- jdxi_editor.ui.preset.model.PRESET_SOURCES: Dict[jdxi_editor.ui.preset.source.PresetSource, Callable[[], object]][source]
- class jdxi_editor.ui.preset.model.Preset[source]
A synthesizer preset and its MIDI wire address.
- source: jdxi_editor.ui.preset.source.PresetSource | None = None[source]
- class jdxi_editor.ui.preset.model.ProgramChangeSelection[source]
A preset selected for transmission on a MIDI channel.
- property bank: jdxi_editor.midi.bank.Bank[source]
- jdxi_editor.ui.preset.model.load_presets(source: jdxi_editor.ui.preset.source.PresetSource) List[Preset][source]
Convert catalog PROGRAM_CHANGE data for
sourceinto wire-address Presets.Dictionaries do not leave this boundary.