jdxi_editor.ui.widgets.transport.playback_options

Playback options for the MIDI file player: loop (whole song or A–B), playback speed, MIDI clock out and snap-to-bar.

Attributes

SPEED_PERCENT_MIN

SPEED_PERCENT_MAX

SPEED_PERCENT_STEP

Classes

PlaybackOptionsWidget

Loop, A–B points, speed, MIDI clock and snap controls.

Module Contents

jdxi_editor.ui.widgets.transport.playback_options.SPEED_PERCENT_MIN = 25[source]
jdxi_editor.ui.widgets.transport.playback_options.SPEED_PERCENT_MAX = 200[source]
jdxi_editor.ui.widgets.transport.playback_options.SPEED_PERCENT_STEP = 5[source]
class jdxi_editor.ui.widgets.transport.playback_options.PlaybackOptionsWidget(parent: jdxi_editor.ui.editors.midi_player.editor.MidiFilePlayer)[source]

Bases: jdxi_editor.ui.widgets.jdxi.midi_group.JDXiMidiGroup

Loop, A–B points, speed, MIDI clock and snap controls.

loop_button: PySide6.QtWidgets.QPushButton | None = None[source]
loop_label: PySide6.QtWidgets.QLabel | None = None[source]
speed_spin: PySide6.QtWidgets.QSpinBox | None = None[source]
clock_checkbox: PySide6.QtWidgets.QCheckBox | None = None[source]
snap_checkbox: PySide6.QtWidgets.QCheckBox | None = None[source]
_build_button_specs() → dict[source]
_build_transport_specs() → dict[str, picomidi.ui.widget.transport.spec.TransportSpec][source]
_build_group() → PySide6.QtWidgets.QGroupBox[source]

build layout

property snap_to_bar: bool[source]
set_loop_checked(enabled: bool) → None[source]

Show the loop state without triggering the button’s slot.

set_loop_points(a: float | None, b: float | None) → None[source]

Describe the current A/B points.