jdxi_editor.midi.playback.state

MIDI playback state management.

Classes

MidiPlaybackState

State container for MIDI file playback.

Module Contents

class jdxi_editor.midi.playback.state.MidiPlaybackState[source]

State container for MIDI file playback.

channel_selected: Literal[jdxi_editor.midi.channel.channel.MidiChannel.DIGITAL_SYNTH_1, jdxi_editor.midi.channel.channel.MidiChannel.DIGITAL_SYNTH_2, jdxi_editor.midi.channel.channel.MidiChannel.ANALOG_SYNTH, jdxi_editor.midi.channel.channel.MidiChannel.DRUM_KIT][source]
events: list = [][source]
file: mido.MidiFile | None = None[source]
file_duration_seconds: float = 0.0[source]
suppress_control_changes: bool = True[source]
suppress_program_changes: bool = False[source]
block_foreign_program_changes: bool = True[source]
custom_tempo_force: bool = False[source]
custom_tempo: int[source]
tempo_initial: int[source]
tempo_at_position: int[source]
muted_tracks: set[int][source]
muted_channels: set[int][source]
__post_init__() → None[source]