Source code for jdxi_editor.jdxi.preset.button
from dataclasses import dataclass
from typing import Optional
from jdxi_editor.jdxi.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.
"""