Contents:
PlotContext
PlotConfig
BasePlotWidget
midi_to_pitch_level()
midi_to_cutoff_level()
midi_to_time_normalized()
DrumPitchEnvPlot
DrumTVFEnvPlot
DrumTVAEnvPlot
PartialSelectState
PartialSwitchState
WMTEnvelopeWidget
app
JDXiMidiGroup
OscillatorDefinition
midi_value_to_float()
WMTEnvPlot
from dataclasses import dataclass from enum import Enum [docs] class ADSRStage(Enum): [docs] ATTACK = "attack" [docs] DECAY = "decay" [docs] SUSTAIN = "sustain" [docs] RELEASE = "release" [docs] DEPTH = "peak" @dataclass(frozen=True, slots=True) [docs] class ADSRSpec: [docs] stage: ADSRStage [docs] param: object # or Digital.Param if you want strict typing