jdxi_editor.ui.widgets.midi.parameter_send ========================================== .. py:module:: jdxi_editor.ui.widgets.midi.parameter_send .. autoapi-nested-parse:: Send a control-change or NRPN value the way the faceplate knobs and the editor sliders both do. The map is partial number to CC number, or to NRPN LSB. Partial 1, 2, and 3 are sent on every change, which is what the performance controls have always done. Functions --------- .. autoapisummary:: jdxi_editor.ui.widgets.midi.parameter_send.send_control_change_map jdxi_editor.ui.widgets.midi.parameter_send.send_nrpn_map Module Contents --------------- .. py:function:: send_control_change_map(midi_helper, nrpn_map: Mapping, value: int, channels: Iterable[int]) -> None Send one control-change value for every partial in the map. :param midi_helper: MidiIOHelper :param nrpn_map: dict partial number to control-change number :param value: int 0–127 :param channels: MIDI channels to send on .. py:function:: send_nrpn_map(midi_helper, nrpn_map: Mapping, value: int, nrpn_msb: int, param_type: str, channels: Iterable[int] = (0, 1, 2)) -> None Send one NRPN or RPN value for every partial in the map. :param midi_helper: MidiIOHelper :param nrpn_map: dict partial number to parameter LSB :param value: int :param nrpn_msb: int parameter MSB :param param_type: str "nrpn" or "rpn" :param channels: MIDI channels to send on