jdxi_editor.ui.editors.drum.partial.wmt

This module defines the DrumWMTSection class, which provides a PySide6-based user interface for editing drum WMT parameters in the Roland JD-Xi synthesizer. It extends the QWidget base class and integrates MIDI communication for real-time parameter adjustments and preset management.

Key Features:

  • Provides a graphical editor for modifying drum WMT parameters, including wave selection, gain, FXM color, depth, tempo sync, coarse tune, fine tune, pan, random pan switch, alternate pan switch, velocity range lower, velocity range upper, velocity fade width lower, velocity fade width upper, and wave level.

Dependencies:

  • PySide6 (for UI components and event handling)

  • MIDIHelper (for handling MIDI communication)

  • PresetHandler (for managing synth presets)

  • Various custom enums and helper classes (AnalogParameter, AnalogCommonParameter, etc.)

Usage:

The DrumWMTSection class can be instantiated as part of a larger PySide6 application. It requires a MIDIHelper instance for proper communication with the synthesizer.

Example:

midi_helper = MIDIHelper() editor = DrumWMTSection(midi_helper) editor.show()

Classes

DrumWMTSection

Drum TVF Section for the JDXI Editor

Module Contents

class jdxi_editor.ui.editors.drum.partial.wmt.DrumWMTSection(controls, create_parameter_combo_box, create_parameter_slider, create_parameter_switch, midi_helper, address=None)[source]

Bases: PySide6.QtWidgets.QWidget

Drum TVF Section for the JDXI Editor

l_wave_combos[source]
l_wave_search_boxes[source]
l_wave_selectors[source]
r_wave_combos[source]
r_wave_search_boxes[source]
r_wave_selectors[source]
wmt_tab_widget = None[source]
controls[source]
_create_parameter_slider[source]
_create_parameter_combo_box[source]
_create_parameter_switch[source]
midi_helper[source]
address = None[source]
setup_ui()[source]

setup UI

_create_wmt_layout(wmt_index: int) PySide6.QtWidgets.QHBoxLayout[source]

_create_wmt_layout

Parameters:

wmt_index – int

Returns:

QFormLayout

_create_wmt_controls_group(p: Callable[[Any], Any])[source]
_create_wave_combo_group(p: Callable[[Any], Any], wmt_index: int)[source]

create wave combo

_create_fxm_group(p: Callable[[Any], Any])[source]

create fxm group

_create_wmt_pan_group(p: Callable[[Any], Any])[source]

create wmt pan

_create_adsr_widget(p: Callable[[Any], Any]) jdxi_editor.ui.widgets.wmt.envelope.WMTEnvelopeWidget[source]
_create_tuning_group(p: Callable[[Any], Any])[source]

Tuning Group

_populate_l_waves(wmt_index)[source]
_populate_r_waves(wmt_index)[source]
_create_wmt1_layout()[source]
_create_wmt2_layout()[source]
_create_wmt3_layout()[source]
_create_wmt4_layout()[source]