OVERVIEW

everything you can tweak is recallable

The preset system captures every user-facing parameter in the synth: oscillator settings, filter state, envelopes, voice LFO, glide, poly/mono, latch, mod pads, arp mode & BPM, SEM section, all three effect rails, master volume / drive, clock-sync state, every slot of the Quad LFO, and the entire drum sequencer state (bank, pattern, per-channel mute/solo/volume, swing, shuffle, steps, resolution, time signature, start step). Load a preset and both the synth panel and the drum panel snap to match instantly.

Options menu .alienxs XML (full) .alienxsdrum XML (drums-only) Partial resets Forward & backward compatible

Two preset flavours coexist:

MENU

Options → ...

Full preset (synth + drums)

ItemAction
Save Preset As... Opens a save file dialog. Defaults to Documents/ALIEN_XS Presets/Untitled.alienxs. The folder is auto-created on first save. Overwrite is confirmed. The extension is forced to .alienxs. File root: AlienXSPreset.
Load Preset... Opens a load file dialog filtered to *.alienxs. On load, validates the root element (AlienXSPreset) before applying; shows an alert on bad files. After load, any held / latched notes are released, the mono stack is cleared, and the UI is refreshed to match.
Reset to Defaults Rewrites every atomic in SynthParameters — both synth and drum halves — to its compile-time default. Same as a fresh startup. Also refreshes the UI.

Drum preset (drums only)

ItemAction
Save Drum Preset As... Opens a save dialog targeting Documents/ALIEN_XS Presets/Drums/. The extension is forced to .alienxsdrum. Only the DrumSeq subtree is serialised; the file root is AlienXSDrumPreset.
Load Drum Preset... Opens a load dialog filtered to *.alienxsdrum. Validates the root element (AlienXSDrumPreset) and applies only the drum state. Your synth patch — oscillators, filter, envelopes, FX, Quad LFOs, etc. — is left exactly as it was. The drum panel refreshes to show the loaded pattern and kit.

Partial resets

ItemAction
Reset Synth to Defaults Resets every non-drum parameter (oscillators, filter, envelopes, voice LFO, glide, mod pads, latch, poly, SEM, tape, Cloud, Rings, master volume / drive, clock sync, all four Quad LFOs) to defaults. Also runs the note-clean pass (allNotesOff / mono stack clear / arp release) so no stuck voices carry across. Drum sequencer state is left untouched — your pattern and bank keep playing.
Reset Drums to Defaults Clears the drum pattern (all step masks = 0), resets per-channel mute/solo/volume, selects Bank 1, returns clock options (steps, resolution, time sig, start step, shuffle, swing) to their factory values, and kills any in-flight drum voices. Synth state is untouched.

FILE FORMAT

ValueTree -> XML

Internally the engine uses a juce::ValueTree with a fixed root type AlienXSPreset and grouped sub-trees per section. This is serialised to XML on save and parsed back on load. XML keeps presets human-readable and diff-able (you can version-control them).

Tree structure

AlienXSPreset [version=1]
 ├─ Oscillators (osc1Shape, osc1PW, osc2Shape, ..., subOctave, ...)
 ├─ Filter      (cutoff, resonance, envAmount, drive, keyTrack)
 ├─ Envelopes   (ampA, ampD, ampS, ampR, fltA, fltD, fltS, fltR)
 ├─ VoiceLfo    (lfoRate, lfoAmount)
 ├─ Global      (glide, polyMode, latchMode, modPad1, modPad2)
 ├─ Arpeggiator (arpMode, arpBpm)
 ├─ Sem         (semOn, semCutoff, ..., semSubOctave, ..., crossMod)
 ├─ TapeEcho    (echoOn, echoMode, repeat, intensity, bass, treble, ...)
 ├─ DeathCloud  (cloudOn, cloudFreeze, position, size, ..., mix)
 ├─ DeathRings  (ringsOn, ringsTrackMidi, freq, structure, ..., mix)
 ├─ Master      (masterVolume, drive, clockSyncEnabled)
 ├─ DrumSeq     (drum sequencer state)
 │   ├─ drumPlaying / drumRecording / drumSync
 │   ├─ drumSteps / drumResolution
 │   ├─ drumTimeSigNum / drumTimeSigDen / drumStartStep
 │   ├─ drumShuffle / drumSwing
 │   ├─ drumBank / drumMasterLevel
 │   └─ DrumCh [index=0..7]
 │       ├─ mute / solo / volume
 │       └─ stepMask (int64 carrying the 32-bit step pattern)
 └─ QuadLfo
     ├─ Lfo [index=0] (enabled, wave, rate, depth, invert, destination)
     ├─ Lfo [index=1] ...
     ├─ Lfo [index=2] ...
     └─ Lfo [index=3] ...

stepMask is a uint32_t bitmask (one bit per step, up to 32 steps). It's serialised as a signed 64-bit integer because juce::var doesn't expose a uint32_t constructor overload — the high 32 bits stay zero. Drum sample audio is not embedded in the preset; only the bank number is stored, and the bank's samples are reloaded from disk on preset load.

Drum-only preset tree

A .alienxsdrum file is a stripped-down tree containing just the DrumSeq subtree under a distinct root:

AlienXSDrumPreset [version=1]
 └─ DrumSeq
     ├─ drumPlaying / drumRecording / drumSync
     ├─ drumSteps / drumResolution
     ├─ drumTimeSigNum / drumTimeSigDen / drumStartStep
     ├─ drumShuffle / drumSwing
     ├─ drumBank / drumMasterLevel
     └─ DrumCh [index=0..7]
         ├─ mute / solo / volume
         └─ stepMask

The distinct root type (AlienXSDrumPreset vs. AlienXSPreset) lets Load Preset and Load Drum Preset reject each other's files with a clear error, instead of silently loading a partial state the user didn't ask for.

Forward and backward compatibility

Load is resilient: each property is applied only if present. Missing properties leave the current value alone. This means:

SAFETY ON LOAD / RESET

clean slate every time

Both setStateTree() and resetParametersToDefault() finish with three cleanup calls so a preset change mid-play never leaves stuck notes from the old state:

synth.allNotesOff(0, false);
monoStack.clear();
arp.forceRelease();

The UI refresh (AlienPanel::refreshFromParameters()) then walks every knob, toggle, combobox, and radio group in the panel and pushes the loaded atomic values in using juce::dontSendNotification, so the controls visually update without re-triggering their own onChange callbacks (which would pointlessly overwrite the values we just loaded).

SHARING PRESETS

notes for community distribution

.alienxs files are plain XML — they can be emailed, committed to Git, dropped on Discord, or attached to forum posts. They contain no audio, sample data, or personal information, just parameter values.

Source-available licence reminder: the synth application and source code are not open source. Presets you create are your own data and you can share them as you wish — but don't bundle the application binary with your preset pack unless you have explicit permission.