jdxi_editor.ui.widgets.switch.partial
This module provides a graphical user interface for controlling individual partials within a digital synthesizer patch using PySide6: an On and a Select switch per partial, the small round buttons with a text label used in the MIDI Player (e.g. its “Save”), lit when active.
Classes:
PartialSwitch: A UI component representing a single partial with On and Select switches.
PartialsPanel: A container widget that groups multiple PartialSwitch components for managing multiple partials at once.
Features:
Uses round mini switches (the MIDI Player’s style) to toggle partial states.
Emits signals when partial states change, allowing external components to respond to updates dynamically.
Usage Example:
>>> panel = PartialsPanel()
>>> panel.show()
Classes
A partial's On and Select switches: small round buttons with a label, lit when active. |
Module Contents
- class jdxi_editor.ui.widgets.switch.partial.PartialSwitch(partial: jdxi_editor.midi.data.digital.partial.DigitalPartial, parent=None)[source]
Bases:
jdxi_editor.ui.common.QWidgetA partial’s On and Select switches: small round buttons with a label, lit when active.