jdxi_editor.ui.widgets.wheel.pitch
Pitch Wheel Widget
Attributes
Classes
Pitch Bend Wheel: dragging it (and its return to the centre) sends pitch |
Functions
|
-1.0..1.0 to the 14-bit pitch bend (0..16383, centre 8192). |
|
mido's pitch (-8192..8191) to the wheel's -1.0..1.0. |
Module Contents
- jdxi_editor.ui.widgets.wheel.pitch.bend_from_value(value: float) int[source]
-1.0..1.0 to the 14-bit pitch bend (0..16383, centre 8192).
- jdxi_editor.ui.widgets.wheel.pitch.value_from_pitch(pitch: int) float[source]
mido’s pitch (-8192..8191) to the wheel’s -1.0..1.0.
- class jdxi_editor.ui.widgets.wheel.pitch.PitchWheel(label='Pitch', bidirectional=True, parent=None, midi_helper=None, channel=0)[source]
Bases:
jdxi_editor.ui.widgets.wheel.wheel.WheelWidgetPitch Bend Wheel: dragging it (and its return to the centre) sends pitch bend; show_value() mirrors the JD-Xi’s wheel without sending.