jdxi_editor.ui.dialogs.trim
Trim dialog
Choose the range to keep when trimming a MIDI file or one of its tracks: a start and end time, each shown as a bar and beat too, and each settable from the playback position.
Attributes
Classes
Start and end (seconds) of the part of a MIDI file or track to keep. |
Module Contents
- class jdxi_editor.ui.dialogs.trim.TrimDialog(*, title: str, description: str, start: float, end: float, duration: float, bar_beat: Callable[[float], tuple[int, int]], playhead: Callable[[], float], parent: PySide6.QtWidgets.QWidget | None = None)[source]
Bases:
PySide6.QtWidgets.QDialogStart and end (seconds) of the part of a MIDI file or track to keep.