Skip to main content

Module persistence

Module persistence 

Source
Expand description

Preset save / load — human-readable TOML.

Each preset captures the live state: global BPM + master gain and, per track, every tonal parameter and mute flag. The preset kind (PadZimmer, DroneSub, …) is stored for sanity-checking on load, but cannot be changed at runtime — kinds are baked into the audio graph built at startup, so load only copies params where the kind matches the current slot.

Structs§

PresetFile
TrackPreset

Functions§

load
load_latest
Find the most recently modified .toml in dir and load it.
save