jdxi_editor.ui.windows.midi.config_dialog
MIDIConfigDialog is a dialog class that allows users to configure MIDI input and output ports.
It provides the following functionality: - Display available MIDI input and output ports in combo boxes. - Allow users to select and change MIDI input and output ports. - Refresh the list of available MIDI ports. - Retrieve the selected MIDI port settings.
- jdxi_editor.ui.windows.midi.config_dialog.input_ports
List of available MIDI input ports.
- Type:
- jdxi_editor.ui.windows.midi.config_dialog.output_ports
List of available MIDI output ports.
- Type:
- jdxi_editor.ui.windows.midi.config_dialog.current_in
Currently selected MIDI input port (optional).
- Type:
- jdxi_editor.ui.windows.midi.config_dialog.current_out
Currently selected MIDI output port (optional).
- Type:
- jdxi_editor.ui.windows.midi.config_dialog.midi_helper
Instance of the MIDIHelper class to interact with MIDI devices.
- Type:
MidiIOHelper
- jdxi_editor.ui.windows.midi.config_dialog.refresh_ports()
Refresh the list of available MIDI ports.
- jdxi_editor.ui.windows.midi.config_dialog.get_input_port()
Returns the currently selected MIDI input port.
- jdxi_editor.ui.windows.midi.config_dialog.get_output_port()
Returns the currently selected MIDI output port.
- jdxi_editor.ui.windows.midi.config_dialog.get_settings()
Returns a dictionary containing the selected MIDI input and output ports.
Attributes
Classes
Module Contents
- class jdxi_editor.ui.windows.midi.config_dialog.MIDIConfigDialog(midi_helper=MidiIOHelper, parent=None)[source]
Bases:
PySide6.QtWidgets.QDialog- _populate_sf2_combo() None[source]
Scan ~/SoundFonts for .sf2/.sf3 files and populate the combo box.
- get_input_port() str[source]
Get selected input port name
- Returns:
Selected input port name or empty string if none selected