Source code for jdxi_editor.ui.preset.button
"""
JDXi Preset Button Data
"""
from dataclasses import dataclass
from typing import Optional
from jdxi_editor.core.synth.type import JDXiSynth
from jdxi_editor.midi.channel.channel import MidiChannel
@dataclass
[docs]
class JDXiPresetButtonData:
"""
A class representing a preset button in the JDXi editor.
Attributes:
type: The type of preset button.
number: The number of the preset button.
modified: The modified status of the preset button.
channel: The MIDI channel of the preset button.
name: The name of the preset button.
"""