jdxi_editor.ui.dialogs.program_change
Program Change dialog
Edit a program change in a MIDI file: choose the channel, the synth type (Digital / Analog / Drums) and a JD-Xi preset. The result is the bank select (CC#0, CC#32) and program change values to write into the track.
Classes
A synthesizer preset and its MIDI wire address. |
|
A preset selected for transmission on a MIDI channel. |
|
Choose the channel and JD-Xi preset for a program change. |
Module Contents
- class jdxi_editor.ui.dialogs.program_change.Preset[source]
A synthesizer preset and its MIDI wire address.
- source: jdxi_editor.ui.preset.source.PresetSource | None = None
- class jdxi_editor.ui.dialogs.program_change.ProgramChangeSelection[source]
A preset selected for transmission on a MIDI channel.
- property bank: jdxi_editor.midi.bank.Bank
- class jdxi_editor.ui.dialogs.program_change.ProgramChangeDialog(*, channel: int, bank: jdxi_editor.midi.bank.Bank, program: int, parent: PySide6.QtWidgets.QWidget | None = None)[source]
Bases:
PySide6.QtWidgets.QDialogChoose the channel and JD-Xi preset for a program change.
- _presets: list[jdxi_editor.ui.preset.model.Preset] = [][source]
- _populate(source: jdxi_editor.ui.preset.source.PresetSource) None[source]
- _select_current(channel: int, bank: jdxi_editor.midi.bank.Bank, program: int) None[source]
Open on the preset the program change already selects, if it is one.
- _selected_preset() jdxi_editor.ui.preset.model.Preset | None[source]
- selection() jdxi_editor.ui.preset.model.ProgramChangeSelection | None[source]
The chosen channel and preset, or None if nothing is selected.