0.37.0 (71): one engine, one version for Android and iOS

- Three source trees: core/ (shared C++ engine, moved from ios/core),
  app/ (Android UI), ios/app/ (iOS UI)
- Android plays through core/ via JNI (EngineHost, jni_engine.cpp): the Oboe
  callback renders natively; the Kotlin model is mirrored as project text and
  applied as a diff, so playback continues through edits
- The Kotlin engine moves to the unit tests as ReferenceEngine (golden reference)
- Shared MasterRecorder in core/src/host, used by both apps; host_test
- versions.properties: one versionName/versionCode for both platforms,
  continuing Android's numbering (iOS 0.6.0/11 -> 0.37.0/71)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-16 14:49:46 +01:00
co-authored by Claude Opus 5.5
parent 64e21e0bcc
commit 2bc5cb1cbb
107 changed files with 2921 additions and 1880 deletions
+624
View File
@@ -0,0 +1,624 @@
// GENERATED by IosGoldenExport (make -C ios golden). Do not edit.
// Every Sizzle device's parameters, from ToolboxType in the Android app.
#pragma once
#include "sizzle/Specs.hpp"
namespace sizzle::gen {
inline const char *const NES_SYNTH_c0[] = {"Tri", "Saw", "Square", "Pulse25", "Pulse12", nullptr};
inline const char *const NES_SYNTH_c5[] = {"Tri", "Saw", "Square", "Pulse25", "Pulse12", nullptr};
inline const char *const NES_SYNTH_c10[] = {"Tri", "Saw", "Square", "Pulse25", "Pulse12", nullptr};
inline const char *const NES_SYNTH_c28[] = {"Tri", "Saw", "Square", "Sine", "S&H", nullptr};
inline const char *const NES_SYNTH_c30[] = {"0°", "45°", "90°", "135°", "180°", "225°", "270°", "315°", nullptr};
inline const char *const NES_SYNTH_c31[] = {"Off", "LFO", "FiltEnv", "AmpEnv", "Vel", "KeyTrk", nullptr};
inline const char *const NES_SYNTH_c32[] = {"Pitch", "Osc2", "Osc3", "Cutoff", "PWM", "Amp", nullptr};
inline const char *const NES_SYNTH_c34[] = {"Off", "LFO", "FiltEnv", "AmpEnv", "Vel", "KeyTrk", nullptr};
inline const char *const NES_SYNTH_c35[] = {"Pitch", "Osc2", "Osc3", "Cutoff", "PWM", "Amp", nullptr};
inline const char *const NES_SYNTH_c37[] = {"Off", "LFO", "FiltEnv", "AmpEnv", "Vel", "KeyTrk", nullptr};
inline const char *const NES_SYNTH_c38[] = {"Pitch", "Osc2", "Osc3", "Cutoff", "PWM", "Amp", nullptr};
inline const char *const NES_SYNTH_c40[] = {"Off", "LFO", "FiltEnv", "AmpEnv", "Vel", "KeyTrk", nullptr};
inline const char *const NES_SYNTH_c41[] = {"Pitch", "Osc2", "Osc3", "Cutoff", "PWM", "Amp", nullptr};
inline const ParamSpec NES_SYNTH_params[] = {
{"osc0wave", "Osc1 Wave", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c0},
{"osc0oct", "Osc1 Oct", 0.0f, -2.0f, 2.0f, true, nullptr},
{"osc0semi", "Osc1 Semi", 0.0f, -12.0f, 12.0f, true, nullptr},
{"osc0fine", "Osc1 Fine", 0.0f, -50.0f, 50.0f, false, nullptr},
{"osc0level", "Osc1 Level", 0.9f, 0.0f, 1.0f, false, nullptr},
{"osc1wave", "Osc2 Wave", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c5},
{"osc1oct", "Osc2 Oct", 0.0f, -2.0f, 2.0f, true, nullptr},
{"osc1semi", "Osc2 Semi", 0.0f, -12.0f, 12.0f, true, nullptr},
{"osc1fine", "Osc2 Fine", 0.0f, -50.0f, 50.0f, false, nullptr},
{"osc1level", "Osc2 Level", 0.0f, 0.0f, 1.0f, false, nullptr},
{"osc2wave", "Osc3 Wave", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c10},
{"osc2oct", "Osc3 Oct", 0.0f, -2.0f, 2.0f, true, nullptr},
{"osc2semi", "Osc3 Semi", 0.0f, -12.0f, 12.0f, true, nullptr},
{"osc2fine", "Osc3 Fine", 0.0f, -50.0f, 50.0f, false, nullptr},
{"osc2level", "Osc3 Level", 0.0f, 0.0f, 1.0f, false, nullptr},
{"noise", "Noise", 0.0f, 0.0f, 1.0f, false, nullptr},
{"cutoff", "Cutoff", 0.55f, 0.0f, 1.0f, false, nullptr},
{"reso", "Resonance", 0.15f, 0.0f, 1.0f, false, nullptr},
{"keytrack", "Key Track", 0.3f, 0.0f, 1.0f, false, nullptr},
{"fenvamt", "Filter Env", 0.4f, -1.0f, 1.0f, false, nullptr},
{"fatk", "F.Attack", 0.005f, 0.0f, 2.0f, false, nullptr},
{"fdec", "F.Decay", 0.25f, 0.0f, 2.0f, false, nullptr},
{"fsus", "F.Sustain", 0.4f, 0.0f, 1.0f, false, nullptr},
{"frel", "F.Release", 0.2f, 0.0f, 3.0f, false, nullptr},
{"attack", "Attack", 0.005f, 0.0f, 2.0f, false, nullptr},
{"decay", "Decay", 0.2f, 0.0f, 2.0f, false, nullptr},
{"sustain", "Sustain", 0.7f, 0.0f, 1.0f, false, nullptr},
{"release", "Release", 0.2f, 0.0f, 3.0f, false, nullptr},
{"lfowave", "LFO Wave", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c28},
{"lfodiv", "LFO Rate", 3.0f, 0.0f, 6.0f, true, nullptr},
{"lfophase", "LFO Phase", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c30},
{"m0src", "Mod1 Src", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c31},
{"m0dst", "Mod1 Dst", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c32},
{"m0amt", "Mod1 Amt", 0.0f, -1.0f, 1.0f, false, nullptr},
{"m1src", "Mod2 Src", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c34},
{"m1dst", "Mod2 Dst", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c35},
{"m1amt", "Mod2 Amt", 0.0f, -1.0f, 1.0f, false, nullptr},
{"m2src", "Mod3 Src", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c37},
{"m2dst", "Mod3 Dst", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c38},
{"m2amt", "Mod3 Amt", 0.0f, -1.0f, 1.0f, false, nullptr},
{"m3src", "Mod4 Src", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c40},
{"m3dst", "Mod4 Dst", 0.0f, 0.0f, 1.0f, false, NES_SYNTH_c41},
{"m3amt", "Mod4 Amt", 0.0f, -1.0f, 1.0f, false, nullptr},
};
inline const ParamSpec SAMPLER_params[] = {
{"volume", "Volume", 0.8f, 0.0f, 1.0f, false, nullptr},
};
inline const char *const SOUNDFONT_c6[] = {"Off", "On", nullptr};
inline const ParamSpec SOUNDFONT_params[] = {
{"program", "Program", 0.0f, 0.0f, 127.0f, true, nullptr},
{"volume", "Volume", 0.8f, 0.0f, 1.0f, false, nullptr},
{"attack", "Attack", 0.005f, 0.0f, 2.0f, false, nullptr},
{"decay", "Decay", 0.1f, 0.0f, 2.0f, false, nullptr},
{"sustain", "Sustain", 1.0f, 0.0f, 1.0f, false, nullptr},
{"release", "Release", 0.2f, 0.0f, 3.0f, false, nullptr},
{"loop", "Loop", 0.0f, 0.0f, 1.0f, false, SOUNDFONT_c6},
{"loopXfade", "Loop XFade", 0.0f, 0.0f, 500.0f, false, nullptr},
};
inline const char *const MORPH_PAD_c0[] = {"Off", "Mist", "Cathedral", "Glacier", "Abyss", "Aurora", "Ember", "Tide", "Dust", "Wind", "Organ", "Hollow", "Vowel", "Shimmer", "Chanter", "Ensemble", "Bells", "Nocturne", "Haze", "Pulse", "Rime", "Deep", "Spectral", "Rust", "Still", "Velvet", "Chrome", "Swarm", "Foghorn", "Solar", "Cave", "Glass Harp", "Monk", "Static", "Lullaby", "Storm", "Prism", nullptr};
inline const char *const MORPH_PAD_c19[] = {"Unison", "-12", "+7", "+12", nullptr};
inline const char *const MORPH_PAD_c21[] = {"Low", "Band", "High", nullptr};
inline const char *const MORPH_PAD_c33[] = {"-12", "Unison", "+12", "+19", "+24", nullptr};
inline const ParamSpec MORPH_PAD_params[] = {
{"morphTo", "Morph To", 0.0f, 0.0f, 1.0f, false, MORPH_PAD_c0},
{"morph", "Morph", 0.0f, 0.0f, 1.0f, false, nullptr},
{"mtime", "Morph Time s", 0.0f, 0.0f, 120.0f, false, nullptr},
{"choir", "Choir", 0.5984252f, 0.0f, 1.0f, false, nullptr},
{"partials", "Partials", 0.7007874f, 0.0f, 1.0f, false, nullptr},
{"breath", "Breath", 0.2519685f, 0.0f, 1.0f, false, nullptr},
{"timbre", "Timbre", 0.503937f, 0.0f, 1.0f, false, nullptr},
{"warmth", "Warmth", 0.1496063f, 0.0f, 1.0f, false, nullptr},
{"body", "Body", 1.0f, 0.0f, 1.0f, false, nullptr},
{"attack", "Attack", 0.7007874f, 0.0f, 1.0f, false, nullptr},
{"release", "Release", 0.6535433f, 0.0f, 1.0f, false, nullptr},
{"velsens", "Velocity", 0.2992126f, 0.0f, 1.0f, false, nullptr},
{"motion", "Motion", 0.3464567f, 0.0f, 1.0f, false, nullptr},
{"mrate", "Motion Rate", 0.4015748f, 0.0f, 1.0f, false, nullptr},
{"tide", "Tide", 0.19685039f, 0.0f, 1.0f, false, nullptr},
{"tperiod", "Tide Speed", 0.2992126f, 0.0f, 1.0f, false, nullptr},
{"detune", "Detune", 0.4015748f, 0.0f, 1.0f, false, nullptr},
{"cfilter", "Filter", 0.3464567f, 0.0f, 1.0f, false, nullptr},
{"shape", "Shape", 0.0f, 0.0f, 1.0f, false, nullptr},
{"interval", "Interval", 0.0f, 0.0f, 1.0f, false, MORPH_PAD_c19},
{"creso", "Resonance", 0.0f, 0.0f, 1.0f, false, nullptr},
{"ctype", "Filter Type", 0.0f, 0.0f, 1.0f, false, MORPH_PAD_c21},
{"soft", "Soft", 0.0f, 0.0f, 1.0f, false, nullptr},
{"tilt", "Tilt", 0.4488189f, 0.0f, 1.0f, false, nullptr},
{"odd", "Odd", 0.19685039f, 0.0f, 1.0f, false, nullptr},
{"stretch", "Stretch", 0.0f, 0.0f, 1.0f, false, nullptr},
{"evolve", "Evolve", 0.0f, 0.0f, 1.0f, false, nullptr},
{"beat", "Beat", 0.0f, 0.0f, 1.0f, false, nullptr},
{"formant", "Formant", 0.6692913f, 0.0f, 1.0f, false, nullptr},
{"peak", "Peak", 0.0f, 0.0f, 1.0f, false, nullptr},
{"bres", "Glass", 0.5511811f, 0.0f, 1.0f, false, nullptr},
{"color", "Color", 0.0f, 0.0f, 1.0f, false, nullptr},
{"grain", "Grain", 0.0f, 0.0f, 1.0f, false, nullptr},
{"bpitch", "Pitch", 0.0f, 0.0f, 1.0f, false, MORPH_PAD_c33},
{"btone", "Tone", 0.503937f, 0.0f, 1.0f, false, nullptr},
{"air", "Air", 0.0f, 0.0f, 1.0f, false, nullptr},
};
inline const char *const GRAIN_CLOUD_c0[] = {"Felt Piano", "Bowed Glass", "Music Box", "Warm Pad", "Strings", "Low Drone", "Rain Field", "Kalimba", "Breath Choir", "Glass Tines", "Custom", nullptr};
inline const char *const GRAIN_CLOUD_c1[] = {"Cloud", "Dust", "Tape", "Bloom", "Pulse", "Drift", nullptr};
inline const char *const GRAIN_CLOUD_c15[] = {"Auto", "Hann", "Tukey", "Perc", "Swell", "Gauss", nullptr};
inline const char *const GRAIN_CLOUD_c22[] = {"Off", "On", nullptr};
inline const ParamSpec GRAIN_CLOUD_params[] = {
{"source", "Source", 0.0f, 0.0f, 1.0f, false, GRAIN_CLOUD_c0},
{"mode", "Mode", 0.0f, 0.0f, 1.0f, false, GRAIN_CLOUD_c1},
{"position", "Position", 0.35f, 0.0f, 1.0f, false, nullptr},
{"texture", "Texture", 0.72f, 0.0f, 1.0f, false, nullptr},
{"scatter", "Scatter", 0.45f, 0.0f, 1.0f, false, nullptr},
{"drift", "Drift", 0.35f, 0.0f, 1.0f, false, nullptr},
{"motion", "Evolve", 0.35f, 0.0f, 1.0f, false, nullptr},
{"pitch", "Pitch", 0.0f, -24.0f, 24.0f, true, nullptr},
{"harmony", "Harmony", 0.3f, 0.0f, 1.0f, false, nullptr},
{"size_mul", "Size", 0.0f, -2.0f, 2.0f, false, nullptr},
{"dens_mul", "Density", 0.0f, -2.0f, 2.0f, false, nullptr},
{"scan", "Scan", 0.0f, -1.0f, 1.0f, false, nullptr},
{"reverse", "Reverse", 0.1f, 0.0f, 1.0f, false, nullptr},
{"pitch_rand", "Pitch Rnd", 0.0f, 0.0f, 12.0f, false, nullptr},
{"size_rand", "Size Rnd", 0.3f, 0.0f, 1.0f, false, nullptr},
{"window", "Envelope", 0.0f, 0.0f, 1.0f, false, GRAIN_CLOUD_c15},
{"grain_tone", "Tone", -0.1f, -1.0f, 1.0f, false, nullptr},
{"attack", "Attack", 0.15f, 0.0f, 1.0f, false, nullptr},
{"release", "Release", 0.45f, 0.0f, 1.0f, false, nullptr},
{"velo", "Velocity", 0.5f, 0.0f, 1.0f, false, nullptr},
{"start", "Start", 0.0f, 0.0f, 1.0f, false, nullptr},
{"end", "End", 1.0f, 0.0f, 1.0f, false, nullptr},
{"freeze", "Freeze", 0.0f, 0.0f, 1.0f, false, GRAIN_CLOUD_c22},
{"level", "Level", 0.75f, 0.0f, 1.0f, false, nullptr},
};
inline const char *const WAVETABLE_c0[] = {"Classic", "PWM", "Vowels", "Harmonic Sweep", "Sync", "FM", "Organ", "Fold", "Digital", "Glass", "Odd Even", "Comb", "Custom", nullptr};
inline const char *const WAVETABLE_c7[] = {"Classic", "PWM", "Vowels", "Harmonic Sweep", "Sync", "FM", "Organ", "Fold", "Digital", "Glass", "Odd Even", "Comb", "Custom", nullptr};
inline const char *const WAVETABLE_c19[] = {"Auto", "256", "512", "1024", "2048", nullptr};
inline const char *const WAVETABLE_c20[] = {"Low", "Band", "High", nullptr};
inline const char *const WAVETABLE_c35[] = {"Sine", "Tri", "Saw", "Square", "S&H", nullptr};
inline const ParamSpec WAVETABLE_params[] = {
{"o1table", "Osc1 Table", 0.0f, 0.0f, 1.0f, false, WAVETABLE_c0},
{"o1pos", "Osc1 Position", 0.0f, 0.0f, 1.0f, false, nullptr},
{"o1oct", "Osc1 Oct", 0.0f, -2.0f, 2.0f, true, nullptr},
{"o1semi", "Osc1 Semi", 0.0f, -12.0f, 12.0f, true, nullptr},
{"o1fine", "Osc1 Fine", 0.0f, -50.0f, 50.0f, false, nullptr},
{"o1level", "Osc1 Level", 0.8f, 0.0f, 1.0f, false, nullptr},
{"o1bend", "Osc1 Bend", 0.0f, -1.0f, 1.0f, false, nullptr},
{"o2table", "Osc2 Table", 0.0f, 0.0f, 1.0f, false, WAVETABLE_c7},
{"o2pos", "Osc2 Position", 0.3f, 0.0f, 1.0f, false, nullptr},
{"o2oct", "Osc2 Oct", 0.0f, -2.0f, 2.0f, true, nullptr},
{"o2semi", "Osc2 Semi", 0.0f, -12.0f, 12.0f, true, nullptr},
{"o2fine", "Osc2 Fine", 7.0f, -50.0f, 50.0f, false, nullptr},
{"o2level", "Osc2 Level", 0.0f, 0.0f, 1.0f, false, nullptr},
{"o2bend", "Osc2 Bend", 0.0f, -1.0f, 1.0f, false, nullptr},
{"unison", "Unison", 1.0f, 1.0f, 4.0f, true, nullptr},
{"spread", "Spread", 0.3f, 0.0f, 1.0f, false, nullptr},
{"sub", "Sub", 0.0f, 0.0f, 1.0f, false, nullptr},
{"noise", "Noise", 0.0f, 0.0f, 1.0f, false, nullptr},
{"velsens", "Velocity", 0.5f, 0.0f, 1.0f, false, nullptr},
{"wtframe", "Frame Size", 0.0f, 0.0f, 1.0f, false, WAVETABLE_c19},
{"ftype", "Filter", 0.0f, 0.0f, 1.0f, false, WAVETABLE_c20},
{"cutoff", "Cutoff", 0.75f, 0.0f, 1.0f, false, nullptr},
{"reso", "Resonance", 0.15f, 0.0f, 1.0f, false, nullptr},
{"keytrack", "Key Track", 0.4f, 0.0f, 1.0f, false, nullptr},
{"fenv", "Env Amount", 0.2f, -1.0f, 1.0f, false, nullptr},
{"drive", "Drive", 0.0f, 0.0f, 1.0f, false, nullptr},
{"attack", "Attack", 0.01f, 0.0f, 5.0f, false, nullptr},
{"decay", "Decay", 0.3f, 0.0f, 5.0f, false, nullptr},
{"sustain", "Sustain", 0.8f, 0.0f, 1.0f, false, nullptr},
{"release", "Release", 0.4f, 0.0f, 8.0f, false, nullptr},
{"mattack", "Mod Attack", 0.5f, 0.0f, 10.0f, false, nullptr},
{"mdecay", "Mod Decay", 2.0f, 0.0f, 10.0f, false, nullptr},
{"msustain", "Mod Sustain", 0.5f, 0.0f, 1.0f, false, nullptr},
{"mrelease", "Mod Release", 1.0f, 0.0f, 10.0f, false, nullptr},
{"menvpos", "Env > Position", 0.3f, -1.0f, 1.0f, false, nullptr},
{"lfowave", "LFO Wave", 0.0f, 0.0f, 1.0f, false, WAVETABLE_c35},
{"lfodiv", "LFO Sync", 1.0f, 0.0f, 6.0f, true, nullptr},
{"lfopos", "LFO > Position", 0.15f, 0.0f, 1.0f, false, nullptr},
{"lfopitch", "LFO > Pitch", 0.0f, 0.0f, 1.0f, false, nullptr},
{"lfocut", "LFO > Cutoff", 0.0f, 0.0f, 1.0f, false, nullptr},
};
inline const char *const ARPEGGIATOR_c0[] = {"Up", "Down", "UpDown", "Random", nullptr};
inline const char *const ARPEGGIATOR_c3[] = {"Off", "On", nullptr};
inline const ParamSpec ARPEGGIATOR_params[] = {
{"mode", "Mode", 0.0f, 0.0f, 1.0f, false, ARPEGGIATOR_c0},
{"octaves", "Octaves", 1.0f, 1.0f, 4.0f, true, nullptr},
{"division", "Division", 3.0f, 0.0f, 6.0f, true, nullptr},
{"resetbar", "Reset/Bar", 0.0f, 0.0f, 1.0f, false, ARPEGGIATOR_c3},
};
inline const ParamSpec TRANSPOSER_params[] = {
{"octaves", "Octaves", 0.0f, -4.0f, 4.0f, true, nullptr},
{"semitones", "Semitones", 0.0f, -24.0f, 24.0f, true, nullptr},
};
inline const char *const LFO_c0[] = {"Sine", "Triangle", "Saw", "Square", "SampleHold", nullptr};
inline const ParamSpec LFO_params[] = {
{"wave", "Wave", 0.0f, 0.0f, 1.0f, false, LFO_c0},
{"phase", "Phase", 0.0f, 0.0f, 1.0f, false, nullptr},
{"depth", "Depth", 0.5f, 0.0f, 1.0f, false, nullptr},
{"division", "Division", 3.0f, 0.0f, 6.0f, true, nullptr},
};
inline const ParamSpec DELAY_params[] = {
{"feedback", "Feedback", 0.4f, 0.0f, 0.9f, false, nullptr},
{"drywet", "Dry/Wet", 0.35f, 0.0f, 1.0f, false, nullptr},
{"tape", "Tape Strength", 0.3f, 0.0f, 1.0f, false, nullptr},
{"head0On", "Head 1 On", 1.0f, 0.0f, 1.0f, false, nullptr},
{"head0Div", "Head 1 Div", 5.0f, 0.0f, 12.0f, false, nullptr},
{"head1On", "Head 2 On", 0.0f, 0.0f, 1.0f, false, nullptr},
{"head1Div", "Head 2 Div", 8.0f, 0.0f, 12.0f, false, nullptr},
{"head2On", "Head 3 On", 0.0f, 0.0f, 1.0f, false, nullptr},
{"head2Div", "Head 3 Div", 3.0f, 0.0f, 12.0f, false, nullptr},
{"head3On", "Head 4 On", 0.0f, 0.0f, 1.0f, false, nullptr},
{"head3Div", "Head 4 Div", 2.0f, 0.0f, 12.0f, false, nullptr},
};
inline const char *const FILTER_c0[] = {"LPF", "HPF", "BPF", nullptr};
inline const ParamSpec FILTER_params[] = {
{"type", "Type", 0.0f, 0.0f, 1.0f, false, FILTER_c0},
{"cutoff", "Cutoff", 0.7f, 0.0f, 1.0f, false, nullptr},
{"resonance", "Resonance", 0.2f, 0.0f, 1.0f, false, nullptr},
{"warmth", "Warmth", 0.0f, 0.0f, 1.0f, false, nullptr},
{"envamt", "Env Amount", 0.0f, 0.0f, 1.0f, false, nullptr},
{"attack", "Attack", 0.005f, 0.0f, 2.0f, false, nullptr},
{"decay", "Decay", 0.1f, 0.0f, 2.0f, false, nullptr},
{"sustain", "Sustain", 1.0f, 0.0f, 1.0f, false, nullptr},
{"release", "Release", 0.2f, 0.0f, 3.0f, false, nullptr},
};
inline const ParamSpec EQ10_params[] = {
{"band0", "Band 1", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band1", "Band 2", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band2", "Band 3", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band3", "Band 4", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band4", "Band 5", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band5", "Band 6", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band6", "Band 7", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band7", "Band 8", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band8", "Band 9", 0.0f, -1.0f, 1.0f, false, nullptr},
{"band9", "Band 10", 0.0f, -1.0f, 1.0f, false, nullptr},
};
inline const ParamSpec BITCRUSHER_params[] = {
{"bits", "Bits", 8.0f, 1.0f, 16.0f, true, nullptr},
{"downsample", "Downsample", 1.0f, 1.0f, 32.0f, true, nullptr},
{"drive", "Drive", 0.2f, 0.0f, 1.0f, false, nullptr},
};
inline const char *const AMBIENCE_c0[] = {"Room 1", "Room 2", "Hall 1", "Hall 2", "Plate", "Spring", "Goldfoil", nullptr};
inline const ParamSpec AMBIENCE_params[] = {
{"algo", "Algorithm", 0.0f, 0.0f, 6.0f, false, AMBIENCE_c0},
{"predelay", "Pre-Delay", 10.0f, 0.0f, 500.0f, false, nullptr},
{"roomsize", "Room Size", 1.0f, 0.3f, 2.0f, false, nullptr},
{"decay", "Decay", 1.5f, 0.1f, 20.0f, false, nullptr},
{"hfdamp", "HF Damp", 0.0f, 0.0f, 1.0f, false, nullptr},
{"lfabsorb", "LF Absorb", 0.0f, 0.0f, 1.0f, false, nullptr},
{"diffusion", "Diffusion", 0.7f, 0.0f, 1.0f, false, nullptr},
{"modamt", "Mod Amount", 0.25f, 0.0f, 1.0f, false, nullptr},
{"modrate", "Mod Rate", 0.5f, 0.05f, 2.0f, false, nullptr},
{"erlevel", "ER Level", 0.6f, 0.0f, 1.0f, false, nullptr},
{"saturation", "Saturation", 0.0f, 0.0f, 1.0f, false, nullptr},
{"wet", "Wet (dB)", -4.0f, -60.0f, 0.0f, false, nullptr},
{"dry", "Dry (dB)", 0.0f, -60.0f, 0.0f, false, nullptr},
{"duckamt", "Ducking (dB)", 0.0f, 0.0f, 20.0f, false, nullptr},
{"duckthresh", "Duck Thresh (dB)", -20.0f, -60.0f, 0.0f, false, nullptr},
{"duckattack", "Duck Attack (ms)", 10.0f, 0.5f, 100.0f, false, nullptr},
{"duckrelease", "Duck Release (ms)", 200.0f, 10.0f, 2000.0f, false, nullptr},
};
inline const ParamSpec MIX_TIGHTENER_params[] = {
{"strength", "Strength", 1.0f, 0.0f, 1.0f, false, nullptr},
};
inline const ParamSpec TAPE_ENGINE_params[] = {
{"speed", "Speed", 1.0f, 0.25f, 1.0f, false, nullptr},
{"wow", "Wow", 0.15f, 0.0f, 1.0f, false, nullptr},
{"flutter", "Flutter", 0.15f, 0.0f, 1.0f, false, nullptr},
{"hiss", "Hiss", 0.1f, 0.0f, 1.0f, false, nullptr},
{"division", "Wow Sync", 2.0f, 0.0f, 6.0f, true, nullptr},
};
inline const ParamSpec GRANULAR_params[] = {
{"intensity", "Intensity", 0.3f, 0.0f, 1.0f, false, nullptr},
};
inline const DeviceSpec devices[] = {
{"NES_SYNTH", "Synth", Kind::Instrument, NES_SYNTH_params, 43},
{"SAMPLER", "Sampler", Kind::Instrument, SAMPLER_params, 1},
{"SOUNDFONT", "SF2 / XI Loader", Kind::Instrument, SOUNDFONT_params, 8},
{"MORPH_PAD", "Morph Pad", Kind::Instrument, MORPH_PAD_params, 36},
{"GRAIN_CLOUD", "Grain Cloud", Kind::Instrument, GRAIN_CLOUD_params, 24},
{"WAVETABLE", "Wavetable", Kind::Instrument, WAVETABLE_params, 40},
{"ARPEGGIATOR", "MIDI Arpeggiator", Kind::Effect, ARPEGGIATOR_params, 4},
{"TRANSPOSER", "MIDI Transposer", Kind::Effect, TRANSPOSER_params, 2},
{"LFO", "MIDI LFO", Kind::Effect, LFO_params, 4},
{"DELAY", "Tape Delay", Kind::Effect, DELAY_params, 11},
{"FILTER", "Filter (LP/HP/BP)", Kind::Effect, FILTER_params, 9},
{"EQ10", "10-Band EQ", Kind::Effect, EQ10_params, 10},
{"BITCRUSHER", "Bitcrusher", Kind::Effect, BITCRUSHER_params, 3},
{"AMBIENCE", "Ambience Reverb", Kind::Effect, AMBIENCE_params, 17},
{"MIX_TIGHTENER", "Mix Tightener", Kind::Effect, MIX_TIGHTENER_params, 1},
{"TAPE_ENGINE", "Tape Engine", Kind::Effect, TAPE_ENGINE_params, 5},
{"GRANULAR", "Granular Glitch", Kind::Effect, GRANULAR_params, 1},
};
inline constexpr int deviceCount = 17;
// Mix Tightener factory presets: name, then key/value pairs, nullptr-terminated.
inline const char *const mixTightener0[] = {"808 Crisp", "cHiAtk", "3", "cHiMk", "2", "cHiRatio", "3", "cHiRel", "80", "cHiThr", "-24", "cLoAtk", "8", "cLoMk", "3", "cLoRatio", "4", "cLoRel", "140", "cLoThr", "-22", "cMidMk", "1", "cMidRatio", "2.5", "cMidThr", "-20", "eqHiFreq", "9000", "eqHiGain", "4", "eqLoFreq", "70", "eqLoGain", "4", "eqMidFreq", "450", "eqMidGain", "-2", "limCeil", "-0.3", "limRel", "80", "outGain", "2", "xHi", "3000", "xLo", "120", nullptr};
inline const char *const mixTightener1[] = {"Boom-Bap Kit", "cLoAtk", "12", "cLoMk", "2", "cLoRatio", "3", "cLoRel", "160", "cLoThr", "-20", "cMidMk", "1", "cMidRatio", "2.5", "cMidThr", "-18", "eqHiFreq", "10000", "eqHiGain", "1.5", "eqLoFreq", "90", "eqLoGain", "2", "limCeil", "-0.5", "outGain", "1.5", "xHi", "2500", "xLo", "160", nullptr};
inline const char *const mixTightener2[] = {"Trap Hats", "cHiAtk", "2", "cHiMk", "2", "cHiRatio", "4", "cHiRel", "60", "cHiThr", "-26", "cLoRatio", "1.5", "cMidRatio", "2", "eqHiFreq", "11000", "eqHiGain", "5", "eqMidFreq", "4000", "eqMidGain", "1", "limCeil", "-0.3", "outGain", "2", "xHi", "4000", nullptr};
inline const char *const mixTightener3[] = {"Industrial Drums", "cHiMk", "2", "cHiRatio", "3", "cHiThr", "-20", "cLoAtk", "6", "cLoMk", "3", "cLoRatio", "5", "cLoRel", "120", "cLoThr", "-18", "cMidAtk", "8", "cMidMk", "3", "cMidRatio", "4", "cMidRel", "120", "cMidThr", "-16", "eqHiFreq", "8000", "eqHiGain", "2", "eqLoFreq", "80", "eqLoGain", "3", "eqMidFreq", "2200", "eqMidGain", "3", "eqMidQ", "1.2", "limCeil", "-0.2", "limRel", "60", "outGain", "3", "xHi", "2000", "xLo", "150", nullptr};
inline const char *const mixTightener4[] = {"Techno Kick", "cHiRatio", "1.5", "cLoAtk", "4", "cLoMk", "3", "cLoRatio", "6", "cLoRel", "100", "cLoThr", "-16", "cMidRatio", "2", "eqLoFreq", "60", "eqLoGain", "3", "eqMidFreq", "700", "eqMidGain", "-2", "limCeil", "-0.2", "outGain", "2.5", "xHi", "3000", "xLo", "120", nullptr};
inline const char *const mixTightener5[] = {"House Groove", "cHiMk", "1", "cHiRatio", "2", "cHiThr", "-22", "cLoMk", "1.5", "cLoRatio", "2.5", "cLoThr", "-22", "cMidMk", "1", "cMidRatio", "2", "cMidThr", "-20", "eqHiFreq", "9000", "eqHiGain", "1.5", "eqLoFreq", "90", "eqLoGain", "1.5", "limCeil", "-0.5", "outGain", "1.5", "strength", "0.85", "xHi", "2600", "xLo", "180", nullptr};
inline const char *const mixTightener6[] = {"DnB Breaks", "cHiAtk", "2", "cHiMk", "2", "cHiRatio", "3", "cHiRel", "60", "cHiThr", "-22", "cLoAtk", "3", "cLoMk", "2", "cLoRatio", "4", "cLoRel", "90", "cLoThr", "-18", "cMidAtk", "4", "cMidMk", "2", "cMidRatio", "3", "cMidRel", "90", "cMidThr", "-18", "eqHiFreq", "9000", "eqHiGain", "2", "eqLoFreq", "80", "eqLoGain", "2", "eqMidFreq", "2500", "eqMidGain", "1.5", "limCeil", "-0.3", "limRel", "50", "outGain", "2", "xHi", "2500", "xLo", "150", nullptr};
inline const char *const mixTightener7[] = {"Lo-Fi Kit", "cHiRatio", "1.5", "cLoMk", "1", "cLoRatio", "2.5", "cLoThr", "-22", "cMidRatio", "2", "eqHiFreq", "6000", "eqHiGain", "-4", "eqLoFreq", "100", "eqLoGain", "2", "eqMidFreq", "500", "eqMidGain", "1", "limCeil", "-1", "outGain", "1", "strength", "0.8", "xHi", "2200", "xLo", "200", nullptr};
inline const char *const mixTightener8[] = {"Snare Crack", "cHiAtk", "2", "cHiMk", "2", "cHiRatio", "3", "cHiRel", "70", "cHiThr", "-22", "cLoRatio", "1.5", "cMidAtk", "3", "cMidMk", "2", "cMidRatio", "4", "cMidRel", "100", "cMidThr", "-18", "eqHiFreq", "8000", "eqHiGain", "3", "eqLoFreq", "200", "eqLoGain", "-2", "eqMidFreq", "2000", "eqMidGain", "3", "eqMidQ", "1.5", "limCeil", "-0.3", "outGain", "2", "xHi", "1800", "xLo", "250", nullptr};
inline const char *const mixTightener9[] = {"Clap Snap", "cHiAtk", "2", "cHiMk", "2", "cHiRatio", "3", "cLoRatio", "1.5", "cMidAtk", "3", "cMidMk", "1", "cMidRatio", "3", "eqHiFreq", "9000", "eqHiGain", "4", "eqMidFreq", "1500", "eqMidGain", "2", "outGain", "2", "xHi", "3000", nullptr};
inline const char *const mixTightener10[] = {"Cymbal Sheen", "cHiAtk", "5", "cHiMk", "1", "cHiRatio", "2.5", "cHiRel", "120", "cHiThr", "-26", "eqHiFreq", "12000", "eqHiGain", "4", "eqMidFreq", "3000", "eqMidGain", "-1", "limCeil", "-0.5", "outGain", "1.5", "strength", "0.75", "xHi", "5000", nullptr};
inline const char *const mixTightener11[] = {"Percussion Tight", "cHiMk", "1", "cHiRatio", "2.5", "cLoMk", "1", "cLoRatio", "2", "cMidAtk", "4", "cMidMk", "1.5", "cMidRatio", "3", "eqHiFreq", "8000", "eqHiGain", "2", "eqMidFreq", "2500", "eqMidGain", "1.5", "outGain", "1.5", "xHi", "2500", "xLo", "200", nullptr};
inline const char *const mixTightener12[] = {"EBM Bass", "cHiRatio", "1.5", "cLoAtk", "10", "cLoMk", "3", "cLoRatio", "4", "cLoRel", "130", "cLoThr", "-18", "cMidAtk", "12", "cMidMk", "2", "cMidRatio", "3", "cMidRel", "130", "cMidThr", "-18", "eqHiFreq", "9000", "eqHiGain", "-2", "eqLoFreq", "80", "eqLoGain", "3", "eqMidFreq", "800", "eqMidGain", "2", "eqMidQ", "1.2", "limCeil", "-0.3", "outGain", "2.5", "xHi", "1500", "xLo", "150", nullptr};
inline const char *const mixTightener13[] = {"Reese Bass", "cHiRatio", "1.5", "cLoAtk", "8", "cLoMk", "3", "cLoRatio", "5", "cLoRel", "120", "cLoThr", "-16", "cMidMk", "2", "cMidRatio", "3", "cMidThr", "-18", "eqLoFreq", "70", "eqLoGain", "2", "eqMidFreq", "500", "eqMidGain", "2", "limCeil", "-0.3", "outGain", "2", "xHi", "1200", "xLo", "140", nullptr};
inline const char *const mixTightener14[] = {"Acid 303", "cHiRatio", "2", "cLoMk", "2", "cLoRatio", "3", "cMidAtk", "6", "cMidMk", "2", "cMidRatio", "4", "cMidRel", "110", "cMidThr", "-18", "eqLoFreq", "90", "eqLoGain", "1", "eqMidFreq", "1200", "eqMidGain", "3", "eqMidQ", "1.5", "limCeil", "-0.4", "outGain", "2", "xHi", "1800", "xLo", "160", nullptr};
inline const char *const mixTightener15[] = {"Sub Bass Tame", "cHiRatio", "1.2", "cLoAtk", "12", "cLoMk", "3", "cLoRatio", "6", "cLoRel", "150", "cLoThr", "-14", "cMidRatio", "2", "eqLoFreq", "55", "eqLoGain", "2", "eqMidFreq", "900", "eqMidGain", "-2", "limCeil", "-0.5", "outGain", "2", "strength", "0.9", "xHi", "2000", "xLo", "120", nullptr};
inline const char *const mixTightener16[] = {"FM Bass Punch", "cHiRatio", "2", "cLoAtk", "6", "cLoMk", "2", "cLoRatio", "4", "cLoRel", "110", "cLoThr", "-18", "cMidMk", "1.5", "cMidRatio", "3", "cMidThr", "-18", "eqLoFreq", "90", "eqLoGain", "2", "eqMidFreq", "1000", "eqMidGain", "1.5", "limCeil", "-0.3", "outGain", "2", "xHi", "2200", "xLo", "160", nullptr};
inline const char *const mixTightener17[] = {"Goth Bass", "cHiRatio", "1.5", "cLoAtk", "10", "cLoMk", "3", "cLoRatio", "4", "cLoRel", "140", "cLoThr", "-18", "cMidMk", "1", "cMidRatio", "2.5", "eqHiFreq", "8000", "eqHiGain", "-2", "eqLoFreq", "75", "eqLoGain", "3", "eqMidFreq", "600", "eqMidGain", "-1", "limCeil", "-0.5", "outGain", "2", "strength", "0.9", "xHi", "1600", "xLo", "140", nullptr};
inline const char *const mixTightener18[] = {"Synthwave Bass", "cHiRatio", "2", "cLoAtk", "10", "cLoMk", "2", "cLoRatio", "3", "cLoRel", "130", "cLoThr", "-20", "cMidMk", "1", "cMidRatio", "2.5", "eqHiFreq", "7000", "eqHiGain", "1", "eqLoFreq", "80", "eqLoGain", "2.5", "eqMidFreq", "900", "eqMidGain", "1", "limCeil", "-0.5", "outGain", "1.8", "xHi", "2000", "xLo", "150", nullptr};
inline const char *const mixTightener19[] = {"Synthwave Lead", "cHiMk", "1.5", "cHiRatio", "2", "cHiThr", "-22", "cLoRatio", "1.5", "cMidAtk", "12", "cMidMk", "1.5", "cMidRatio", "2.5", "cMidRel", "150", "cMidThr", "-20", "eqHiFreq", "9000", "eqHiGain", "4", "eqLoFreq", "200", "eqLoGain", "-1", "eqMidFreq", "2000", "eqMidGain", "1.5", "limCeil", "-0.5", "outGain", "2", "strength", "0.85", "xHi", "3000", "xLo", "300", nullptr};
inline const char *const mixTightener20[] = {"Cutting Lead", "cHiMk", "1", "cHiRatio", "2", "cLoRatio", "1.5", "cMidAtk", "8", "cMidMk", "2", "cMidRatio", "3", "cMidRel", "130", "cMidThr", "-18", "eqHiFreq", "8000", "eqHiGain", "2", "eqLoFreq", "200", "eqLoGain", "-2", "eqMidFreq", "3000", "eqMidGain", "3", "eqMidQ", "1.2", "limCeil", "-0.4", "outGain", "2", "xHi", "3500", "xLo", "300", nullptr};
inline const char *const mixTightener21[] = {"Darkwave Pad", "cHiRatio", "2", "cLoMk", "1", "cLoRatio", "2", "cMidAtk", "20", "cMidMk", "1", "cMidRatio", "2", "cMidRel", "200", "cMidThr", "-24", "eqHiFreq", "8000", "eqHiGain", "-2", "eqLoFreq", "150", "eqLoGain", "1", "eqMidFreq", "1000", "eqMidGain", "0.5", "limCeil", "-1", "outGain", "1", "strength", "0.7", "xHi", "2500", "xLo", "250", nullptr};
inline const char *const mixTightener22[] = {"Ambient Wash", "cMidAtk", "30", "cMidMk", "0.5", "cMidRatio", "1.8", "cMidRel", "250", "cMidThr", "-26", "eqHiFreq", "10000", "eqHiGain", "1", "eqLoFreq", "120", "eqLoGain", "1", "limCeil", "-1.5", "outGain", "0.5", "strength", "0.6", "xHi", "3000", "xLo", "300", nullptr};
inline const char *const mixTightener23[] = {"Pluck Tight", "cHiAtk", "2", "cHiMk", "1.5", "cHiRatio", "2.5", "cHiRel", "70", "cHiThr", "-22", "cLoRatio", "1.5", "cMidAtk", "3", "cMidMk", "1.5", "cMidRatio", "3", "cMidRel", "100", "cMidThr", "-18", "eqHiFreq", "9000", "eqHiGain", "3", "eqMidFreq", "2500", "eqMidGain", "2", "outGain", "1.5", "xHi", "3000", "xLo", "300", nullptr};
inline const char *const mixTightener24[] = {"Arp Sparkle", "cHiAtk", "4", "cHiMk", "1.5", "cHiRatio", "2.5", "cHiThr", "-24", "cMidMk", "1", "cMidRatio", "2", "eqHiFreq", "11000", "eqHiGain", "4", "eqMidFreq", "3000", "eqMidGain", "1", "limCeil", "-0.5", "outGain", "1.5", "strength", "0.8", "xHi", "4000", nullptr};
inline const char *const mixTightener25[] = {"Chip Lead", "cHiMk", "1", "cHiRatio", "2", "cLoRatio", "1.2", "cMidMk", "2", "cMidRatio", "3", "cMidThr", "-18", "eqHiFreq", "8000", "eqHiGain", "2", "eqLoFreq", "150", "eqLoGain", "-3", "eqMidFreq", "2500", "eqMidGain", "2.5", "eqMidQ", "1.2", "limCeil", "-0.4", "outGain", "2", "xHi", "3000", "xLo", "350", nullptr};
inline const char *const mixTightener26[] = {"Bell Clarity", "cHiAtk", "4", "cHiMk", "1", "cHiRatio", "2", "cMidAtk", "6", "cMidMk", "1", "cMidRatio", "2", "eqHiFreq", "10000", "eqHiGain", "3", "eqMidFreq", "1800", "eqMidGain", "1.5", "limCeil", "-0.5", "outGain", "1", "strength", "0.75", "xHi", "4000", nullptr};
inline const char *const mixTightener27[] = {"Keys Clarity", "cHiMk", "1", "cHiRatio", "2", "cLoRatio", "1.8", "cMidAtk", "10", "cMidMk", "1", "cMidRatio", "2.5", "cMidRel", "150", "cMidThr", "-22", "eqHiFreq", "9000", "eqHiGain", "2", "eqLoFreq", "200", "eqLoGain", "-1", "eqMidFreq", "2500", "eqMidGain", "1.5", "limCeil", "-0.5", "outGain", "1.5", "strength", "0.8", "xHi", "3000", "xLo", "250", nullptr};
inline const char *const mixTightener28[] = {"Mix Glue", "cHiAtk", "15", "cHiMk", "1", "cHiRatio", "2", "cHiRel", "180", "cHiThr", "-22", "cLoAtk", "20", "cLoMk", "1", "cLoRatio", "2", "cLoRel", "200", "cLoThr", "-22", "cMidAtk", "25", "cMidMk", "1", "cMidRatio", "2", "cMidRel", "200", "cMidThr", "-22", "eqHiFreq", "10000", "eqHiGain", "1", "eqLoFreq", "100", "eqLoGain", "0.5", "limCeil", "-0.8", "outGain", "1", "strength", "0.7", "xHi", "2500", "xLo", "200", nullptr};
inline const char *const mixTightener29[] = {"Loudness Max", "cHiMk", "2", "cHiRatio", "3", "cHiThr", "-20", "cLoMk", "2", "cLoRatio", "3", "cLoThr", "-20", "cMidMk", "2", "cMidRatio", "3", "cMidThr", "-18", "eqHiFreq", "9000", "eqHiGain", "2", "eqLoFreq", "90", "eqLoGain", "1", "limCeil", "-0.1", "limRel", "40", "outGain", "4", "xHi", "2800", "xLo", "180", nullptr};
inline const char *const *const mixTightenerPresets[] = {mixTightener0, mixTightener1, mixTightener2, mixTightener3, mixTightener4, mixTightener5, mixTightener6, mixTightener7, mixTightener8, mixTightener9, mixTightener10, mixTightener11, mixTightener12, mixTightener13, mixTightener14, mixTightener15, mixTightener16, mixTightener17, mixTightener18, mixTightener19, mixTightener20, mixTightener21, mixTightener22, mixTightener23, mixTightener24, mixTightener25, mixTightener26, mixTightener27, mixTightener28, mixTightener29, nullptr};
// Factory presets (PresetLibrary.seedFactoryPresets): device, name, then the
// slot's full settings as key/value pairs, nullptr-terminated.
inline const char *const factory0[] = {"algo", "Room 1", "decay", "0.45", "diffusion", "0.55", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.7", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.15", "modrate", "0.3", "predelay", "10.0", "roomsize", "0.75", "saturation", "0.08", "wet", "-6.0", nullptr};
inline const char *const factory1[] = {"algo", "Room 2", "decay", "1.8", "diffusion", "0.7", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.6", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.25", "modrate", "0.4", "predelay", "10.0", "roomsize", "1.6", "saturation", "0.08", "wet", "-4.0", nullptr};
inline const char *const factory2[] = {"algo", "Room 2", "decay", "1.4", "diffusion", "0.65", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.65", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.2", "modrate", "0.35", "predelay", "10.0", "roomsize", "1.35", "saturation", "0.1", "wet", "-4.0", nullptr};
inline const char *const factory3[] = {"algo", "Room 2", "decay", "2.0", "diffusion", "0.75", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.55", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.3", "modrate", "0.45", "predelay", "10.0", "roomsize", "1.7", "saturation", "0.06", "wet", "-4.0", nullptr};
inline const char *const factory4[] = {"algo", "Hall 1", "decay", "1.7", "diffusion", "0.72", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.55", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.2", "modrate", "0.3", "predelay", "10.0", "roomsize", "1.5", "saturation", "0.08", "wet", "-4.0", nullptr};
inline const char *const factory5[] = {"algo", "Hall 1", "decay", "2.0", "diffusion", "0.75", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.5", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.25", "modrate", "0.35", "predelay", "10.0", "roomsize", "1.65", "saturation", "0.06", "wet", "-4.0", nullptr};
inline const char *const factory6[] = {"algo", "Hall 1", "decay", "2.0", "diffusion", "0.73", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.52", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.22", "modrate", "0.32", "predelay", "10.0", "roomsize", "1.6", "saturation", "0.07", "wet", "0.0", nullptr};
inline const char *const factory7[] = {"algo", "Hall 2", "decay", "2.05", "diffusion", "0.8", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.5", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.25", "modrate", "0.3", "predelay", "10.0", "roomsize", "1.8", "saturation", "0.07", "wet", "-4.0", nullptr};
inline const char *const factory8[] = {"algo", "Hall 2", "decay", "1.85", "diffusion", "0.78", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.52", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.22", "modrate", "0.28", "predelay", "10.0", "roomsize", "1.7", "saturation", "0.06", "wet", "-4.0", nullptr};
inline const char *const factory9[] = {"algo", "Hall 2", "decay", "2.05", "diffusion", "0.82", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.48", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.28", "modrate", "0.32", "predelay", "10.0", "roomsize", "1.85", "saturation", "0.06", "wet", "-4.0", nullptr};
inline const char *const factory10[] = {"algo", "Plate", "decay", "1.8", "diffusion", "0.85", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.4", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.3", "modrate", "0.5", "predelay", "10.0", "roomsize", "1.0", "saturation", "0.12", "wet", "-4.0", nullptr};
inline const char *const factory11[] = {"algo", "Plate", "decay", "1.0", "diffusion", "0.8", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.35", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.2", "modrate", "0.45", "predelay", "10.0", "roomsize", "0.8", "saturation", "0.15", "wet", "-4.0", nullptr};
inline const char *const factory12[] = {"algo", "Plate", "decay", "2.5", "diffusion", "0.88", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.1", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.35", "modrate", "0.55", "predelay", "10.0", "roomsize", "1.2", "saturation", "0.1", "wet", "-4.0", nullptr};
inline const char *const factory13[] = {"algo", "Spring", "decay", "1.5", "diffusion", "0.45", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.45", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.5", "modrate", "0.7", "predelay", "10.0", "roomsize", "0.7", "saturation", "0.2", "wet", "-4.0", nullptr};
inline const char *const factory14[] = {"algo", "Plate", "decay", "2.2", "diffusion", "0.5", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.4", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.55", "modrate", "0.65", "predelay", "10.0", "roomsize", "0.85", "saturation", "0.35", "wet", "-4.0", nullptr};
inline const char *const factory15[] = {"algo", "Spring", "decay", "3.5", "diffusion", "0.55", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.38", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.6", "modrate", "0.6", "predelay", "10.0", "roomsize", "1.1", "saturation", "0.45", "wet", "-4.0", nullptr};
inline const char *const factory16[] = {"algo", "Goldfoil", "decay", "8.0", "diffusion", "0.9", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.35", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.4", "modrate", "0.25", "predelay", "10.0", "roomsize", "2.0", "saturation", "0.05", "wet", "-4.0", nullptr};
inline const char *const factory17[] = {"algo", "Goldfoil", "decay", "4.0", "diffusion", "0.85", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.4", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.45", "modrate", "0.3", "predelay", "10.0", "roomsize", "1.8", "saturation", "0.2", "wet", "-4.0", nullptr};
inline const char *const factory18[] = {"algo", "Goldfoil", "decay", "12.0", "diffusion", "0.95", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.25", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.65", "modrate", "0.28", "predelay", "10.0", "roomsize", "2.0", "saturation", "0.1", "wet", "-4.0", nullptr};
inline const char *const factory19[] = {"algo", "Room 1", "decay", "0.3", "diffusion", "0.4", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.8", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.1", "modrate", "0.2", "predelay", "10.0", "roomsize", "0.55", "saturation", "0.05", "wet", "-4.0", nullptr};
inline const char *const factory20[] = {"algo", "Room 1", "decay", "0.6", "diffusion", "0.65", "dry", "0.0", "duckamt", "0.0", "duckattack", "10.0", "duckrelease", "200.0", "duckthresh", "-20.0", "erlevel", "0.65", "hfdamp", "0.0", "lfabsorb", "0.0", "modamt", "0.2", "modrate", "0.35", "predelay", "10.0", "roomsize", "0.9", "saturation", "0.1", "wet", "-4.0", nullptr};
inline const char *const factory21[] = {"attack", "0.005", "cutoff", "0.8", "decay", "0.1", "fatk", "0.005", "fdec", "0.25", "fenvamt", "0.2", "frel", "0.2", "fsus", "0.4", "keytrack", "0.3", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.9", "osc0oct", "0.0", "osc0semi", "0.0", "osc0wave", "Pulse25", "osc1fine", "0.0", "osc1level", "0.0", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Tri", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.1", "reso", "0.1", "sustain", "0.85", nullptr};
inline const char *const factory22[] = {"attack", "0.002", "cutoff", "0.45", "decay", "0.15", "fatk", "0.005", "fdec", "0.18", "fenvamt", "0.5", "frel", "0.2", "fsus", "0.2", "keytrack", "0.3", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.9", "osc0oct", "-1", "osc0semi", "0.0", "osc0wave", "Square", "osc1fine", "6", "osc1level", "0.5", "osc1oct", "-1", "osc1semi", "0.0", "osc1wave", "Pulse25", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.12", "reso", "0.25", "sustain", "0.6", nullptr};
inline const char *const factory23[] = {"attack", "0.002", "cutoff", "0.5", "decay", "0.2", "fatk", "0.002", "fdec", "0.12", "fenvamt", "0.6", "frel", "0.2", "fsus", "0.1", "keytrack", "0.3", "lfodiv", "4", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.5", "m0dst", "PWM", "m0src", "LFO", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.9", "osc0oct", "0.0", "osc0semi", "0.0", "osc0wave", "Pulse12", "osc1fine", "0.0", "osc1level", "0.0", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Tri", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.15", "reso", "0.3", "sustain", "0.4", nullptr};
inline const char *const factory24[] = {"attack", "0.004", "cutoff", "0.35", "decay", "0.2", "fatk", "0.005", "fdec", "0.25", "fenvamt", "0.2", "frel", "0.2", "fsus", "0.4", "keytrack", "0.3", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "1.0", "osc0oct", "-1", "osc0semi", "0.0", "osc0wave", "Tri", "osc1fine", "0.0", "osc1level", "0.0", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Tri", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.15", "reso", "0.05", "sustain", "0.7", nullptr};
inline const char *const factory25[] = {"attack", "0.01", "cutoff", "0.7", "decay", "0.3", "fatk", "0.005", "fdec", "0.25", "fenvamt", "0.3", "frel", "0.2", "fsus", "0.4", "keytrack", "0.3", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.7", "osc0oct", "0.0", "osc0semi", "0.0", "osc0wave", "Saw", "osc1fine", "8", "osc1level", "0.7", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Saw", "osc2fine", "0.0", "osc2level", "0.3", "osc2oct", "1", "osc2semi", "0.0", "osc2wave", "Square", "release", "0.2", "reso", "0.15", "sustain", "0.7", nullptr};
inline const char *const factory26[] = {"attack", "0.001", "cutoff", "0.85", "decay", "0.08", "fatk", "0.001", "fdec", "0.08", "fenvamt", "-0.3", "frel", "0.2", "fsus", "0.0", "keytrack", "0.3", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "1.0", "osc0fine", "0.0", "osc0level", "0.0", "osc0oct", "0.0", "osc0semi", "0.0", "osc0wave", "Tri", "osc1fine", "0.0", "osc1level", "0.0", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Tri", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.06", "reso", "0.2", "sustain", "0.0", nullptr};
inline const char *const factory27[] = {"attack", "0.01", "cutoff", "0.75", "decay", "0.2", "fatk", "0.005", "fdec", "0.25", "fenvamt", "0.4", "frel", "0.2", "fsus", "0.4", "keytrack", "0.3", "lfodiv", "3", "lfophase", "0°", "lfowave", "Sine", "m0amt", "0.06", "m0dst", "Pitch", "m0src", "LFO", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.9", "osc0oct", "0.0", "osc0semi", "0.0", "osc0wave", "Square", "osc1fine", "0.0", "osc1level", "0.0", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Tri", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.15", "reso", "0.1", "sustain", "0.85", nullptr};
inline const char *const factory28[] = {"attack", "0.01", "cutoff", "0.4", "decay", "0.3", "fatk", "0.005", "fdec", "0.25", "fenvamt", "0.4", "frel", "0.2", "fsus", "0.4", "keytrack", "0.3", "lfodiv", "3", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.5", "m0dst", "Cutoff", "m0src", "LFO", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.9", "osc0oct", "0.0", "osc0semi", "0.0", "osc0wave", "Saw", "osc1fine", "0.0", "osc1level", "0.0", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Tri", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.2", "reso", "0.5", "sustain", "0.8", nullptr};
inline const char *const factory29[] = {"attack", "0.002", "cutoff", "0.42", "decay", "0.13", "fatk", "0.001", "fdec", "0.11", "fenvamt", "0.6", "frel", "0.10", "fsus", "0.0", "keytrack", "0.4", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.9", "osc0oct", "-1", "osc0semi", "0.0", "osc0wave", "Square", "osc1fine", "6", "osc1level", "0.45", "osc1oct", "-1", "osc1semi", "0.0", "osc1wave", "Saw", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.09", "reso", "0.38", "sustain", "0.0", nullptr};
inline const char *const factory30[] = {"attack", "0.002", "cutoff", "0.38", "decay", "0.18", "fatk", "0.001", "fdec", "0.14", "fenvamt", "0.70", "frel", "0.10", "fsus", "0.05", "keytrack", "0.5", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.95", "osc0oct", "-1", "osc0semi", "0.0", "osc0wave", "Saw", "osc1fine", "0.0", "osc1level", "0.0", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Tri", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.10", "reso", "0.70", "sustain", "0.0", nullptr};
inline const char *const factory31[] = {"attack", "0.006", "cutoff", "0.72", "decay", "0.2", "fatk", "0.004", "fdec", "0.25", "fenvamt", "0.25", "frel", "0.2", "fsus", "0.5", "keytrack", "0.5", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.8", "osc0oct", "0.0", "osc0semi", "0.0", "osc0wave", "Saw", "osc1fine", "-7", "osc1level", "0.55", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Pulse25", "osc2fine", "0.0", "osc2level", "0.3", "osc2oct", "1", "osc2semi", "0.0", "osc2wave", "Saw", "release", "0.18", "reso", "0.40", "sustain", "0.85", nullptr};
inline const char *const factory32[] = {"attack", "0.01", "cutoff", "0.66", "decay", "0.25", "fatk", "0.005", "fdec", "0.25", "fenvamt", "0.3", "frel", "0.2", "fsus", "0.4", "keytrack", "0.5", "lfodiv", "4", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.4", "m0dst", "PWM", "m0src", "LFO", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.0", "osc0fine", "0.0", "osc0level", "0.9", "osc0oct", "0.0", "osc0semi", "0.0", "osc0wave", "Pulse25", "osc1fine", "8", "osc1level", "0.5", "osc1oct", "0.0", "osc1semi", "0.0", "osc1wave", "Square", "osc2fine", "0.0", "osc2level", "0.0", "osc2oct", "0.0", "osc2semi", "0.0", "osc2wave", "Tri", "release", "0.2", "reso", "0.45", "sustain", "0.8", nullptr};
inline const char *const factory33[] = {"attack", "0.008", "cutoff", "0.48", "decay", "0.35", "fatk", "0.008", "fdec", "0.45", "fenvamt", "0.3", "frel", "0.3", "fsus", "0.55", "keytrack", "0.3", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.06", "osc0fine", "0.0", "osc0level", "0.75", "osc0oct", "-1", "osc0semi", "0.0", "osc0wave", "Saw", "osc1fine", "-14", "osc1level", "0.75", "osc1oct", "-1", "osc1semi", "0.0", "osc1wave", "Saw", "osc2fine", "0.0", "osc2level", "0.5", "osc2oct", "-2", "osc2semi", "0.0", "osc2wave", "Square", "release", "0.28", "reso", "0.50", "sustain", "0.85", nullptr};
inline const char *const factory34[] = {"attack", "0.02", "cutoff", "0.44", "decay", "0.4", "fatk", "0.005", "fdec", "0.25", "fenvamt", "0.25", "frel", "0.2", "fsus", "0.4", "keytrack", "0.25", "lfodiv", "3.0", "lfophase", "0°", "lfowave", "Tri", "m0amt", "0.0", "m0dst", "Pitch", "m0src", "Off", "m1amt", "0.0", "m1dst", "Pitch", "m1src", "Off", "m2amt", "0.0", "m2dst", "Pitch", "m2src", "Off", "m3amt", "0.0", "m3dst", "Pitch", "m3src", "Off", "noise", "0.10", "osc0fine", "-20", "osc0level", "0.7", "osc0oct", "-1", "osc0semi", "0.0", "osc0wave", "Saw", "osc1fine", "20", "osc1level", "0.7", "osc1oct", "-1", "osc1semi", "0.0", "osc1wave", "Saw", "osc2fine", "0.0", "osc2level", "0.4", "osc2oct", "-1", "osc2semi", "0.0", "osc2wave", "Pulse25", "release", "0.35", "reso", "0.55", "sustain", "0.9", nullptr};
inline const char *const factory35[] = {"air", "0.0", "attack", "0.7007874", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.2519685", "bres", "0.5511811", "btone", "0.503937", "cfilter", "0.3464567", "choir", "0.5984252", "color", "0.0", "creso", "0.0", "ctype", "Low", "detune", "0.4015748", "evolve", "0.0", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.3464567", "mrate", "0.4015748", "mtime", "0.0", "odd", "0.19685039", "partials", "0.7007874", "peak", "0.0", "release", "0.6535433", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.19685039", "tilt", "0.4488189", "timbre", "0.503937", "tperiod", "0.2992126", "velsens", "0.2992126", "warmth", "0.1496063", nullptr};
inline const char *const factory36[] = {"air", "0.0", "attack", "0.78740156", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.15748031", "bres", "0.47244096", "btone", "0.503937", "cfilter", "0.43307087", "choir", "0.86614174", "color", "0.0", "creso", "0.15748031", "ctype", "Low", "detune", "0.6692913", "evolve", "0.07874016", "formant", "0.6692913", "grain", "0.0", "interval", "-12", "morph", "0.0", "morphTo", "Off", "motion", "0.47244096", "mrate", "0.31496063", "mtime", "0.0", "odd", "0.23622048", "partials", "0.39370078", "peak", "0.0", "release", "0.78740156", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.15748031", "tilt", "0.47244096", "timbre", "0.47244096", "tperiod", "0.39370078", "velsens", "0.2992126", "warmth", "0.19685039", nullptr};
inline const char *const factory37[] = {"air", "0.0", "attack", "0.62992126", "beat", "0.11811024", "body", "1.0", "bpitch", "+12", "breath", "0.5511811", "bres", "0.9055118", "btone", "0.62992126", "cfilter", "0.47244096", "choir", "0.15748031", "color", "1.0", "creso", "0.0", "ctype", "Low", "detune", "0.23622048", "evolve", "0.31496063", "formant", "0.78740156", "grain", "0.15748031", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.31496063", "mrate", "0.23622048", "mtime", "0.0", "odd", "0.39370078", "partials", "0.78740156", "peak", "0.23622048", "release", "0.86614174", "shape", "0.0", "soft", "0.0", "stretch", "0.47244096", "tide", "0.23622048", "tilt", "0.27559054", "timbre", "0.62992126", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.03937008", nullptr};
inline const char *const factory38[] = {"air", "0.0", "attack", "0.78740156", "beat", "0.0", "body", "1.0", "bpitch", "-12", "breath", "0.19685039", "bres", "0.39370078", "btone", "0.23622048", "cfilter", "0.15748031", "choir", "0.70866144", "color", "0.0", "creso", "0.31496063", "ctype", "Low", "detune", "0.5511811", "evolve", "0.15748031", "formant", "0.47244096", "grain", "0.0", "interval", "-12", "morph", "0.0", "morphTo", "Off", "motion", "0.39370078", "mrate", "0.19685039", "mtime", "0.0", "odd", "0.31496063", "partials", "0.5511811", "peak", "0.0", "release", "0.8267717", "shape", "0.23622048", "soft", "0.0", "stretch", "0.0", "tide", "0.39370078", "tilt", "0.70866144", "timbre", "0.31496063", "tperiod", "0.19685039", "velsens", "0.2992126", "warmth", "0.39370078", nullptr};
inline const char *const factory39[] = {"air", "0.07874016", "attack", "0.70866144", "beat", "0.19685039", "body", "1.0", "bpitch", "+12", "breath", "0.31496063", "bres", "0.6692913", "btone", "0.5905512", "cfilter", "0.511811", "choir", "0.47244096", "color", "0.47244096", "creso", "0.0", "ctype", "Low", "detune", "0.35433072", "evolve", "0.5511811", "formant", "0.70866144", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.43307087", "mrate", "0.35433072", "mtime", "0.0", "odd", "0.11811024", "partials", "0.8267717", "peak", "0.27559054", "release", "0.8267717", "shape", "0.0", "soft", "0.0", "stretch", "0.07874016", "tide", "0.35433072", "tilt", "0.31496063", "timbre", "0.5905512", "tperiod", "0.39370078", "velsens", "0.2992126", "warmth", "0.11811024", nullptr};
inline const char *const factory40[] = {"air", "0.0", "attack", "0.5511811", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.15748031", "bres", "0.39370078", "btone", "0.39370078", "cfilter", "0.31496063", "choir", "0.78740156", "color", "0.23622048", "creso", "0.39370078", "ctype", "Low", "detune", "0.31496063", "evolve", "0.07874016", "formant", "0.5511811", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.27559054", "mrate", "0.31496063", "mtime", "0.0", "odd", "0.47244096", "partials", "0.43307087", "peak", "0.0", "release", "0.62992126", "shape", "0.503937", "soft", "0.0", "stretch", "0.0", "tide", "0.15748031", "tilt", "0.5511811", "timbre", "0.43307087", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.62992126", nullptr};
inline const char *const factory41[] = {"air", "0.0", "attack", "0.7480315", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.35433072", "bres", "0.5905512", "btone", "0.503937", "cfilter", "0.35433072", "choir", "0.62992126", "color", "0.31496063", "creso", "0.23622048", "ctype", "Low", "detune", "0.47244096", "evolve", "0.23622048", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.5511811", "mrate", "0.23622048", "mtime", "0.0", "odd", "0.23622048", "partials", "0.62992126", "peak", "0.0", "release", "0.78740156", "shape", "0.0", "soft", "0.0", "stretch", "0.07874016", "tide", "0.86614174", "tilt", "0.43307087", "timbre", "0.47244096", "tperiod", "0.47244096", "velsens", "0.2992126", "warmth", "0.19685039", nullptr};
inline const char *const factory42[] = {"air", "0.31496063", "attack", "0.47244096", "beat", "0.0", "body", "1.0", "bpitch", "+12", "breath", "0.6692913", "bres", "0.78740156", "btone", "0.6692913", "cfilter", "0.39370078", "choir", "0.19685039", "color", "0.47244096", "creso", "0.0", "ctype", "Low", "detune", "0.31496063", "evolve", "0.23622048", "formant", "0.6692913", "grain", "0.70866144", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.39370078", "mrate", "0.39370078", "mtime", "0.0", "odd", "0.23622048", "partials", "0.31496063", "peak", "0.0", "release", "0.70866144", "shape", "0.0", "soft", "0.0", "stretch", "0.15748031", "tide", "0.23622048", "tilt", "0.47244096", "timbre", "0.47244096", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.15748031", nullptr};
inline const char *const factory43[] = {"air", "0.39370078", "attack", "0.62992126", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.6692913", "bres", "0.15748031", "btone", "0.5905512", "cfilter", "0.39370078", "choir", "0.0", "color", "0.23622048", "creso", "0.0", "ctype", "Low", "detune", "0.31496063", "evolve", "0.0", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.70866144", "mrate", "0.62992126", "mtime", "0.0", "odd", "0.23622048", "partials", "0.15748031", "peak", "0.0", "release", "0.7480315", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.39370078", "tilt", "0.47244096", "timbre", "0.503937", "tperiod", "0.5511811", "velsens", "0.2992126", "warmth", "0.0", nullptr};
inline const char *const factory44[] = {"air", "0.0", "attack", "0.31496063", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.07874016", "bres", "0.47244096", "btone", "0.503937", "cfilter", "0.39370078", "choir", "0.31496063", "color", "0.0", "creso", "0.0", "ctype", "Low", "detune", "0.07874016", "evolve", "0.0", "formant", "0.6692913", "grain", "0.0", "interval", "+7", "morph", "0.0", "morphTo", "Off", "motion", "0.11811024", "mrate", "0.31496063", "mtime", "0.0", "odd", "0.0", "partials", "0.9055118", "peak", "0.0", "release", "0.47244096", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.07874016", "tilt", "0.35433072", "timbre", "0.503937", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.23622048", nullptr};
inline const char *const factory45[] = {"air", "0.0", "attack", "0.62992126", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.19685039", "bres", "0.5511811", "btone", "0.47244096", "cfilter", "0.39370078", "choir", "0.8267717", "color", "0.503937", "creso", "0.31496063", "ctype", "Band", "detune", "0.27559054", "evolve", "0.11811024", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.31496063", "mrate", "0.35433072", "mtime", "0.0", "odd", "0.86614174", "partials", "0.62992126", "peak", "0.0", "release", "0.70866144", "shape", "0.503937", "soft", "0.0", "stretch", "0.0", "tide", "0.19685039", "tilt", "0.39370078", "timbre", "0.47244096", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.15748031", nullptr};
inline const char *const factory46[] = {"air", "0.0", "attack", "0.70866144", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.11811024", "bres", "0.5511811", "btone", "0.503937", "cfilter", "0.43307087", "choir", "0.511811", "color", "0.0", "creso", "0.47244096", "ctype", "Band", "detune", "0.23622048", "evolve", "0.15748031", "formant", "0.7480315", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.35433072", "mrate", "0.27559054", "mtime", "0.0", "odd", "0.15748031", "partials", "0.984252", "peak", "0.8267717", "release", "0.7480315", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.47244096", "tilt", "0.23622048", "timbre", "0.503937", "tperiod", "0.35433072", "velsens", "0.2992126", "warmth", "0.07874016", nullptr};
inline const char *const factory47[] = {"air", "0.15748031", "attack", "0.6692913", "beat", "0.39370078", "body", "1.0", "bpitch", "+19", "breath", "0.39370078", "bres", "0.78740156", "btone", "0.70866144", "cfilter", "0.5905512", "choir", "0.35433072", "color", "0.70866144", "creso", "0.0", "ctype", "Low", "detune", "0.43307087", "evolve", "0.31496063", "formant", "0.78740156", "grain", "0.07874016", "interval", "+12", "morph", "0.0", "morphTo", "Off", "motion", "0.39370078", "mrate", "0.43307087", "mtime", "0.0", "odd", "0.15748031", "partials", "0.78740156", "peak", "0.15748031", "release", "0.86614174", "shape", "0.0", "soft", "0.0", "stretch", "0.11811024", "tide", "0.23622048", "tilt", "0.19685039", "timbre", "0.6692913", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.07874016", nullptr};
inline const char *const factory48[] = {"air", "0.0", "attack", "0.39370078", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.11811024", "bres", "0.47244096", "btone", "0.503937", "cfilter", "0.43307087", "choir", "0.8267717", "color", "0.23622048", "creso", "0.27559054", "ctype", "Band", "detune", "0.23622048", "evolve", "0.0", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.23622048", "mrate", "0.35433072", "mtime", "0.0", "odd", "0.5511811", "partials", "0.35433072", "peak", "0.0", "release", "0.5511811", "shape", "0.86614174", "soft", "0.0", "stretch", "0.0", "tide", "0.11811024", "tilt", "0.47244096", "timbre", "0.47244096", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.31496063", nullptr};
inline const char *const factory49[] = {"air", "0.0", "attack", "0.7480315", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.15748031", "bres", "0.47244096", "btone", "0.503937", "cfilter", "0.47244096", "choir", "0.9055118", "color", "0.0", "creso", "0.11811024", "ctype", "Low", "detune", "0.5905512", "evolve", "0.0", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.43307087", "mrate", "0.43307087", "mtime", "0.0", "odd", "0.19685039", "partials", "0.31496063", "peak", "0.0", "release", "0.70866144", "shape", "0.70866144", "soft", "0.0", "stretch", "0.0", "tide", "0.15748031", "tilt", "0.43307087", "timbre", "0.511811", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.23622048", nullptr};
inline const char *const factory50[] = {"air", "0.0", "attack", "0.31496063", "beat", "0.23622048", "body", "1.0", "bpitch", "+12", "breath", "0.35433072", "bres", "0.86614174", "btone", "0.62992126", "cfilter", "0.39370078", "choir", "0.11811024", "color", "1.0", "creso", "0.0", "ctype", "Low", "detune", "0.19685039", "evolve", "0.23622048", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.23622048", "mrate", "0.31496063", "mtime", "0.0", "odd", "0.15748031", "partials", "0.9055118", "peak", "0.0", "release", "0.86614174", "shape", "0.0", "soft", "0.0", "stretch", "0.7480315", "tide", "0.15748031", "tilt", "0.23622048", "timbre", "0.5905512", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.03937008", nullptr};
inline const char *const factory51[] = {"air", "0.0", "attack", "0.86614174", "beat", "0.0", "body", "1.0", "bpitch", "-12", "breath", "0.23622048", "bres", "0.43307087", "btone", "0.27559054", "cfilter", "0.19685039", "choir", "0.70866144", "color", "0.0", "creso", "0.5511811", "ctype", "Low", "detune", "0.43307087", "evolve", "0.19685039", "formant", "0.5511811", "grain", "0.0", "interval", "-12", "morph", "0.0", "morphTo", "Off", "motion", "0.35433072", "mrate", "0.15748031", "mtime", "0.0", "odd", "0.23622048", "partials", "0.47244096", "peak", "0.0", "release", "0.9055118", "shape", "0.15748031", "soft", "0.0", "stretch", "0.0", "tide", "0.31496063", "tilt", "0.6692913", "timbre", "0.35433072", "tperiod", "0.15748031", "velsens", "0.2992126", "warmth", "0.27559054", nullptr};
inline const char *const factory52[] = {"air", "0.23622048", "attack", "0.78740156", "beat", "0.0", "body", "1.0", "bpitch", "+12", "breath", "0.47244096", "bres", "0.31496063", "btone", "0.62992126", "cfilter", "0.5511811", "choir", "0.6692913", "color", "0.23622048", "creso", "0.15748031", "ctype", "High", "detune", "0.47244096", "evolve", "0.15748031", "formant", "0.6692913", "grain", "0.0", "interval", "+12", "morph", "0.0", "morphTo", "Off", "motion", "0.47244096", "mrate", "0.39370078", "mtime", "0.0", "odd", "0.19685039", "partials", "0.39370078", "peak", "0.0", "release", "0.8267717", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.23622048", "tilt", "0.39370078", "timbre", "0.5511811", "tperiod", "0.39370078", "velsens", "0.2992126", "warmth", "0.07874016", nullptr};
inline const char *const factory53[] = {"air", "0.0", "attack", "0.47244096", "beat", "0.78740156", "body", "1.0", "bpitch", "Unison", "breath", "0.19685039", "bres", "0.5511811", "btone", "0.503937", "cfilter", "0.39370078", "choir", "0.39370078", "color", "0.15748031", "creso", "0.0", "ctype", "Low", "detune", "0.23622048", "evolve", "0.11811024", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.23622048", "mrate", "0.39370078", "mtime", "0.0", "odd", "0.23622048", "partials", "0.7480315", "peak", "0.0", "release", "0.62992126", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.15748031", "tilt", "0.35433072", "timbre", "0.503937", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.15748031", nullptr};
inline const char *const factory54[] = {"air", "0.11811024", "attack", "0.5511811", "beat", "0.15748031", "body", "1.0", "bpitch", "+24", "breath", "0.5511811", "bres", "0.9448819", "btone", "0.78740156", "cfilter", "0.62992126", "choir", "0.23622048", "color", "0.78740156", "creso", "0.0", "ctype", "High", "detune", "0.15748031", "evolve", "0.23622048", "formant", "0.86614174", "grain", "0.31496063", "interval", "+12", "morph", "0.0", "morphTo", "Off", "motion", "0.27559054", "mrate", "0.47244096", "mtime", "0.0", "odd", "0.31496063", "partials", "0.86614174", "peak", "0.31496063", "release", "0.78740156", "shape", "0.0", "soft", "0.0", "stretch", "0.23622048", "tide", "0.15748031", "tilt", "0.15748031", "timbre", "0.70866144", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.0", nullptr};
inline const char *const factory55[] = {"air", "0.0", "attack", "0.70866144", "beat", "0.0", "body", "1.0", "bpitch", "-12", "breath", "0.0", "bres", "0.39370078", "btone", "0.23622048", "cfilter", "0.19685039", "choir", "0.78740156", "color", "0.0", "creso", "0.07874016", "ctype", "Low", "detune", "0.19685039", "evolve", "0.0", "formant", "0.31496063", "grain", "0.0", "interval", "-12", "morph", "0.0", "morphTo", "Off", "motion", "0.19685039", "mrate", "0.23622048", "mtime", "0.0", "odd", "0.15748031", "partials", "0.78740156", "peak", "0.0", "release", "0.7480315", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.15748031", "tilt", "0.78740156", "timbre", "0.31496063", "tperiod", "0.23622048", "velsens", "0.2992126", "warmth", "0.31496063", nullptr};
inline const char *const factory56[] = {"air", "0.0", "attack", "0.70866144", "beat", "0.07874016", "body", "1.0", "bpitch", "Unison", "breath", "0.11811024", "bres", "0.5511811", "btone", "0.503937", "cfilter", "0.39370078", "choir", "0.15748031", "color", "0.0", "creso", "0.0", "ctype", "Low", "detune", "0.15748031", "evolve", "0.39370078", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.39370078", "mrate", "0.31496063", "mtime", "0.0", "odd", "0.07874016", "partials", "0.9448819", "peak", "1.0", "release", "0.78740156", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.62992126", "tilt", "0.15748031", "timbre", "0.503937", "tperiod", "0.39370078", "velsens", "0.2992126", "warmth", "0.03937008", nullptr};
inline const char *const factory57[] = {"air", "0.15748031", "attack", "0.47244096", "beat", "0.11811024", "body", "1.0", "bpitch", "Unison", "breath", "0.31496063", "bres", "0.62992126", "btone", "0.35433072", "cfilter", "0.35433072", "choir", "0.62992126", "color", "0.31496063", "creso", "0.62992126", "ctype", "Band", "detune", "0.39370078", "evolve", "0.15748031", "formant", "0.5905512", "grain", "0.47244096", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.31496063", "mrate", "0.43307087", "mtime", "0.0", "odd", "0.47244096", "partials", "0.39370078", "peak", "0.0", "release", "0.62992126", "shape", "0.5511811", "soft", "0.0", "stretch", "0.15748031", "tide", "0.19685039", "tilt", "0.511811", "timbre", "0.43307087", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.78740156", nullptr};
inline const char *const factory58[] = {"air", "0.0", "attack", "0.78740156", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.0", "bres", "0.39370078", "btone", "0.503937", "cfilter", "0.39370078", "choir", "0.0", "color", "0.0", "creso", "0.0", "ctype", "Low", "detune", "0.0", "evolve", "0.0", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.03937008", "mrate", "0.15748031", "mtime", "0.0", "odd", "0.0", "partials", "0.984252", "peak", "0.0", "release", "0.78740156", "shape", "0.0", "soft", "0.0", "stretch", "0.0", "tide", "0.0", "tilt", "1.0", "timbre", "0.39370078", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.0", nullptr};
inline const char *const factory59[] = {"air", "0.0", "attack", "0.8267717", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.07874016", "bres", "0.39370078", "btone", "0.39370078", "cfilter", "0.31496063", "choir", "0.7480315", "color", "0.0", "creso", "0.07874016", "ctype", "Low", "detune", "0.27559054", "evolve", "0.0", "formant", "0.6692913", "grain", "0.0", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.27559054", "mrate", "0.23622048", "mtime", "0.0", "odd", "0.15748031", "partials", "0.35433072", "peak", "0.0", "release", "0.86614174", "shape", "0.0", "soft", "0.9448819", "stretch", "0.0", "tide", "0.15748031", "tilt", "0.6692913", "timbre", "0.40944883", "tperiod", "0.35433072", "velsens", "0.2992126", "warmth", "0.11811024", nullptr};
inline const char *const factory60[] = {"air", "0.0", "attack", "0.47244096", "beat", "0.27559054", "body", "1.0", "bpitch", "+19", "breath", "0.11811024", "bres", "0.70866144", "btone", "0.7480315", "cfilter", "0.5905512", "choir", "0.27559054", "color", "0.62992126", "creso", "0.6692913", "ctype", "High", "detune", "0.11811024", "evolve", "0.15748031", "formant", "0.86614174", "grain", "0.0", "interval", "+12", "morph", "0.0", "morphTo", "Off", "motion", "0.27559054", "mrate", "0.43307087", "mtime", "0.0", "odd", "0.9448819", "partials", "0.9055118", "peak", "0.5511811", "release", "0.70866144", "shape", "0.503937", "soft", "0.0", "stretch", "0.35433072", "tide", "0.11811024", "tilt", "0.11811024", "timbre", "0.6692913", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.27559054", nullptr};
inline const char *const factory61[] = {"air", "0.15748031", "attack", "0.5511811", "beat", "0.5511811", "body", "1.0", "bpitch", "+12", "breath", "0.23622048", "bres", "0.47244096", "btone", "0.5511811", "cfilter", "0.47244096", "choir", "0.9448819", "color", "0.15748031", "creso", "0.31496063", "ctype", "Band", "detune", "0.9448819", "evolve", "0.31496063", "formant", "0.6692913", "grain", "0.23622048", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.86614174", "mrate", "0.78740156", "mtime", "0.0", "odd", "0.23622048", "partials", "0.5905512", "peak", "0.0", "release", "0.6692913", "shape", "0.9448819", "soft", "0.0", "stretch", "0.0", "tide", "0.31496063", "tilt", "0.31496063", "timbre", "0.5511811", "tperiod", "0.11811024", "velsens", "0.2992126", "warmth", "0.23622048", nullptr};
inline const char *const factory62[] = {"air", "0.0", "attack", "0.9448819", "beat", "0.0", "body", "1.0", "bpitch", "-12", "breath", "0.11811024", "bres", "0.31496063", "btone", "0.23622048", "cfilter", "0.17322835", "choir", "1.0", "color", "0.0", "creso", "0.47244096", "ctype", "Low", "detune", "0.15748031", "evolve", "0.0", "formant", "0.31496063", "grain", "0.0", "interval", "-12", "morph", "0.0", "morphTo", "Off", "motion", "0.15748031", "mrate", "0.15748031", "mtime", "0.0", "odd", "0.70866144", "partials", "0.47244096", "peak", "0.23622048", "release", "0.9448819", "shape", "0.503937", "soft", "0.23622048", "stretch", "0.0", "tide", "0.47244096", "tilt", "0.7480315", "timbre", "0.27559054", "tperiod", "0.5511811", "velsens", "0.2992126", "warmth", "0.5511811", nullptr};
inline const char *const factory63[] = {"air", "0.23622048", "attack", "0.78740156", "beat", "0.19685039", "body", "1.0", "bpitch", "+19", "breath", "0.35433072", "bres", "0.62992126", "btone", "0.86614174", "cfilter", "0.70866144", "choir", "0.5511811", "color", "0.23622048", "creso", "0.11811024", "ctype", "High", "detune", "0.43307087", "evolve", "0.47244096", "formant", "0.9448819", "grain", "0.0", "interval", "+12", "morph", "0.0", "morphTo", "Off", "motion", "0.47244096", "mrate", "0.39370078", "mtime", "0.0", "odd", "0.11811024", "partials", "0.8267717", "peak", "0.31496063", "release", "0.86614174", "shape", "0.07874016", "soft", "0.0", "stretch", "0.03937008", "tide", "0.5511811", "tilt", "0.11811024", "timbre", "0.78740156", "tperiod", "0.27559054", "velsens", "0.2992126", "warmth", "0.15748031", nullptr};
inline const char *const factory64[] = {"air", "0.03937008", "attack", "0.86614174", "beat", "0.0", "body", "1.0", "bpitch", "-12", "breath", "0.7480315", "bres", "0.78740156", "btone", "0.14173229", "cfilter", "0.14173229", "choir", "0.43307087", "color", "0.47244096", "creso", "0.39370078", "ctype", "Low", "detune", "0.23622048", "evolve", "0.07874016", "formant", "0.31496063", "grain", "0.39370078", "interval", "-12", "morph", "0.0", "morphTo", "Off", "motion", "0.23622048", "mrate", "0.15748031", "mtime", "0.0", "odd", "0.23622048", "partials", "0.31496063", "peak", "0.0", "release", "0.9448819", "shape", "0.0", "soft", "0.47244096", "stretch", "0.0", "tide", "0.35433072", "tilt", "0.86614174", "timbre", "0.23622048", "tperiod", "0.47244096", "velsens", "0.2992126", "warmth", "0.23622048", nullptr};
inline const char *const factory65[] = {"air", "0.0", "attack", "0.39370078", "beat", "0.31496063", "body", "1.0", "bpitch", "+24", "breath", "0.15748031", "bres", "0.78740156", "btone", "0.78740156", "cfilter", "0.47244096", "choir", "0.07874016", "color", "0.70866144", "creso", "0.0", "ctype", "Low", "detune", "0.09448819", "evolve", "0.35433072", "formant", "0.9448819", "grain", "0.0", "interval", "+12", "morph", "0.0", "morphTo", "Off", "motion", "0.19685039", "mrate", "0.23622048", "mtime", "0.0", "odd", "0.07874016", "partials", "0.9448819", "peak", "0.86614174", "release", "0.9448819", "shape", "0.0", "soft", "1.0", "stretch", "0.19685039", "tide", "0.11811024", "tilt", "0.23622048", "timbre", "0.70866144", "tperiod", "0.43307087", "velsens", "0.2992126", "warmth", "0.0", nullptr};
inline const char *const factory66[] = {"air", "0.0", "attack", "0.78740156", "beat", "0.0", "body", "1.0", "bpitch", "Unison", "breath", "0.07874016", "bres", "0.47244096", "btone", "0.39370078", "cfilter", "0.2992126", "choir", "0.86614174", "color", "0.0", "creso", "0.43307087", "ctype", "Band", "detune", "0.23622048", "evolve", "0.11811024", "formant", "0.48818898", "grain", "0.0", "interval", "-12", "morph", "0.0", "morphTo", "Off", "motion", "0.23622048", "mrate", "0.19685039", "mtime", "0.0", "odd", "0.31496063", "partials", "0.6692913", "peak", "0.70866144", "release", "0.78740156", "shape", "0.0", "soft", "0.70866144", "stretch", "0.0", "tide", "0.23622048", "tilt", "0.5511811", "timbre", "0.39370078", "tperiod", "0.511811", "velsens", "0.2992126", "warmth", "0.19685039", nullptr};
inline const char *const factory67[] = {"air", "0.31496063", "attack", "0.31496063", "beat", "0.0", "body", "1.0", "bpitch", "+19", "breath", "1.0", "bres", "0.86614174", "btone", "0.78740156", "cfilter", "0.5511811", "choir", "0.27559054", "color", "0.70866144", "creso", "0.23622048", "ctype", "High", "detune", "0.31496063", "evolve", "0.0", "formant", "0.6692913", "grain", "0.6692913", "interval", "Unison", "morph", "0.0", "morphTo", "Off", "motion", "0.62992126", "mrate", "0.86614174", "mtime", "0.0", "odd", "0.39370078", "partials", "0.31496063", "peak", "0.0", "release", "0.5511811", "shape", "0.23622048", "soft", "0.0", "stretch", "0.0", "tide", "0.15748031", "tilt", "0.31496063", "timbre", "0.62992126", "tperiod", "0.15748031", "velsens", "0.2992126", "warmth", "0.11811024", nullptr};
inline const char *const factory68[] = {"air", "0.0", "attack", "0.86614174", "beat", "0.062992126", "body", "1.0", "bpitch", "Unison", "breath", "0.062992126", "bres", "0.47244096", "btone", "0.503937", "cfilter", "0.35433072", "choir", "0.6692913", "color", "0.0", "creso", "0.0", "ctype", "Low", "detune", "0.17322835", "evolve", "0.07874016", "formant", "0.6692913", "grain", "0.0", "interval", "+7", "morph", "0.0", "morphTo", "Off", "motion", "0.15748031", "mrate", "0.11811024", "mtime", "0.0", "odd", "0.07874016", "partials", "0.5511811", "peak", "0.15748031", "release", "0.9448819", "shape", "0.0", "soft", "0.86614174", "stretch", "0.0", "tide", "0.27559054", "tilt", "0.78740156", "timbre", "0.43307087", "tperiod", "0.62992126", "velsens", "0.2992126", "warmth", "0.07874016", nullptr};
inline const char *const factory69[] = {"air", "0.47244096", "attack", "0.70866144", "beat", "0.15748031", "body", "1.0", "bpitch", "-12", "breath", "0.86614174", "bres", "0.5511811", "btone", "0.27559054", "cfilter", "0.22047244", "choir", "0.62992126", "color", "0.31496063", "creso", "0.5511811", "ctype", "Low", "detune", "0.5511811", "evolve", "0.39370078", "formant", "0.47244096", "grain", "0.5511811", "interval", "-12", "morph", "0.0", "morphTo", "Off", "motion", "0.78740156", "mrate", "0.6692913", "mtime", "0.0", "odd", "0.31496063", "partials", "0.31496063", "peak", "0.0", "release", "0.86614174", "shape", "0.23622048", "soft", "0.15748031", "stretch", "0.0", "tide", "0.9448819", "tilt", "0.70866144", "timbre", "0.31496063", "tperiod", "0.19685039", "velsens", "0.2992126", "warmth", "0.70866144", nullptr};
inline const char *const factory70[] = {"air", "0.07874016", "attack", "0.6692913", "beat", "0.23622048", "body", "1.0", "bpitch", "+12", "breath", "0.19685039", "bres", "0.70866144", "btone", "0.6692913", "cfilter", "0.511811", "choir", "0.39370078", "color", "0.39370078", "creso", "0.15748031", "ctype", "Band", "detune", "0.31496063", "evolve", "0.78740156", "formant", "0.8267717", "grain", "0.0", "interval", "+12", "morph", "0.0", "morphTo", "Off", "motion", "0.47244096", "mrate", "0.35433072", "mtime", "0.0", "odd", "0.47244096", "partials", "0.9448819", "peak", "0.62992126", "release", "0.8267717", "shape", "0.0", "soft", "0.31496063", "stretch", "0.11811024", "tide", "0.39370078", "tilt", "0.19685039", "timbre", "0.62992126", "tperiod", "0.31496063", "velsens", "0.2992126", "warmth", "0.07874016", nullptr};
inline const char *const factory71[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.35", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.35", "level", "0.75", "mode", "Cloud", "motion", "0.3", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.5", "size_mul", "0.0", "size_rand", "0.3", "source", "Felt Piano", "start", "0.0", "texture", "0.78", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory72[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.3", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.5", "level", "0.75", "mode", "Bloom", "motion", "0.35", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.4", "size_mul", "0.0", "size_rand", "0.3", "source", "Bowed Glass", "start", "0.0", "texture", "0.7", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory73[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.3", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.3", "level", "0.75", "mode", "Dust", "motion", "0.4", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.7", "size_mul", "0.0", "size_rand", "0.3", "source", "Music Box", "start", "0.0", "texture", "0.45", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory74[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.55", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.25", "level", "0.75", "mode", "Drift", "motion", "0.4", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.45", "size_mul", "0.0", "size_rand", "0.3", "source", "Warm Pad", "start", "0.0", "texture", "0.7", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory75[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.4", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.15", "level", "0.75", "mode", "Tape", "motion", "0.35", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.25", "size_mul", "0.0", "size_rand", "0.3", "source", "Strings", "start", "0.0", "texture", "0.6", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory76[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.4", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.4", "level", "0.75", "mode", "Cloud", "motion", "0.25", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.4", "size_mul", "0.0", "size_rand", "0.3", "source", "Low Drone", "start", "0.0", "texture", "0.85", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory77[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.4", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.45", "level", "0.75", "mode", "Cloud", "motion", "0.3", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.6", "size_mul", "0.0", "size_rand", "0.3", "source", "Rain Field", "start", "0.0", "texture", "0.88", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory78[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.3", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.2", "level", "0.75", "mode", "Pulse", "motion", "0.3", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.6", "size_mul", "0.0", "size_rand", "0.3", "source", "Kalimba", "start", "0.0", "texture", "0.4", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory79[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.35", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.4", "level", "0.75", "mode", "Cloud", "motion", "0.3", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.45", "size_mul", "0.0", "size_rand", "0.3", "source", "Breath Choir", "start", "0.0", "texture", "0.85", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory80[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.4", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.35", "level", "0.75", "mode", "Bloom", "motion", "0.4", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.5", "size_mul", "0.0", "size_rand", "0.3", "source", "Breath Choir", "start", "0.0", "texture", "0.75", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory81[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.6", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.3", "level", "0.75", "mode", "Drift", "motion", "0.4", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.4", "size_mul", "0.0", "size_rand", "0.3", "source", "Low Drone", "start", "0.0", "texture", "0.65", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory82[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.2", "end", "1.0", "freeze", "Off", "grain_tone", "0.4", "harmony", "0.3", "level", "0.75", "mode", "Dust", "motion", "0.5", "pitch", "12.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.2", "scan", "0.0", "scatter", "0.55", "size_mul", "0.0", "size_rand", "0.3", "source", "Glass Tines", "start", "0.0", "texture", "0.35", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory83[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.5", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.3", "level", "0.75", "mode", "Bloom", "motion", "0.5", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.7", "size_mul", "0.0", "size_rand", "0.3", "source", "Kalimba", "start", "0.0", "texture", "0.6", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory84[] = {"attack", "0.15", "dens_mul", "0.0", "drift", "0.4", "end", "1.0", "freeze", "Off", "grain_tone", "-0.1", "harmony", "0.3", "level", "0.75", "mode", "Tape", "motion", "0.4", "pitch", "0.0", "pitch_rand", "0.0", "position", "0.35", "release", "0.45", "reverse", "0.1", "scan", "0.0", "scatter", "0.2", "size_mul", "0.0", "size_rand", "0.3", "source", "Rain Field", "start", "0.0", "texture", "0.5", "velo", "0.5", "window", "Auto", nullptr};
inline const char *const factory85[] = {"attack", "0.01", "cutoff", "0.8", "decay", "0.3", "drive", "0.0", "fenv", "0.2", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "3", "lfopitch", "0.15", "lfopos", "0.15", "lfowave", "Sine", "mattack", "0.01", "mdecay", "0.8", "menvpos", "0.5", "mrelease", "1.0", "msustain", "0.2", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.4", "o1semi", "0.0", "o1table", "Classic", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.0", "o2oct", "0.0", "o2pos", "0.3", "o2semi", "0.0", "o2table", "Classic", "release", "0.25", "reso", "0.25", "spread", "0.3", "sub", "0.0", "sustain", "0.8", "unison", "1.0", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory86[] = {"attack", "0.8", "cutoff", "0.7", "decay", "0.3", "drive", "0.0", "fenv", "0.2", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "0", "lfopitch", "0.0", "lfopos", "0.2", "lfowave", "Sine", "mattack", "3.0", "mdecay", "4.0", "menvpos", "0.6", "mrelease", "1.0", "msustain", "0.7", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.0", "o1semi", "0.0", "o1table", "Vowels", "o2bend", "0.0", "o2fine", "9.0", "o2level", "0.6", "o2oct", "0.0", "o2pos", "0.5", "o2semi", "0.0", "o2table", "Vowels", "release", "2.5", "reso", "0.15", "spread", "0.4", "sub", "0.0", "sustain", "0.8", "unison", "3", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory87[] = {"attack", "0.4", "cutoff", "0.65", "decay", "0.3", "drive", "0.0", "fenv", "0.2", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "1", "lfopitch", "0.0", "lfopos", "0.4", "lfowave", "Sine", "mattack", "0.5", "mdecay", "2.0", "menvpos", "0.0", "mrelease", "1.0", "msustain", "0.5", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.2", "o1semi", "0.0", "o1table", "PWM", "o2bend", "0.0", "o2fine", "-8.0", "o2level", "0.7", "o2oct", "0.0", "o2pos", "0.6", "o2semi", "0.0", "o2table", "PWM", "release", "1.2", "reso", "0.1", "spread", "0.5", "sub", "0.0", "sustain", "0.8", "unison", "2", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory88[] = {"attack", "0.01", "cutoff", "0.85", "decay", "0.5", "drive", "0.3", "fenv", "0.3", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "1.0", "lfopitch", "0.0", "lfopos", "0.15", "lfowave", "Sine", "mattack", "0.0", "mdecay", "0.6", "menvpos", "0.9", "mrelease", "1.0", "msustain", "0.1", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.0", "o1semi", "0.0", "o1table", "Sync", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.0", "o2oct", "0.0", "o2pos", "0.3", "o2semi", "0.0", "o2table", "Classic", "release", "0.2", "reso", "0.15", "spread", "0.3", "sub", "0.0", "sustain", "0.6", "unison", "1.0", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory89[] = {"attack", "0.0", "cutoff", "0.9", "decay", "2.5", "drive", "0.0", "fenv", "0.0", "ftype", "Low", "keytrack", "0.8", "lfocut", "0.0", "lfodiv", "1.0", "lfopitch", "0.0", "lfopos", "0.15", "lfowave", "Sine", "mattack", "0.0", "mdecay", "1.5", "menvpos", "-0.6", "mrelease", "1.0", "msustain", "0.0", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.6", "o1semi", "0.0", "o1table", "FM", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.0", "o2oct", "0.0", "o2pos", "0.3", "o2semi", "0.0", "o2table", "Classic", "release", "2.0", "reso", "0.15", "spread", "0.3", "sub", "0.0", "sustain", "0.0", "unison", "1.0", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory90[] = {"attack", "0.005", "cutoff", "0.75", "decay", "1.2", "drive", "0.0", "fenv", "0.2", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "1.0", "lfopitch", "0.0", "lfopos", "0.15", "lfowave", "Sine", "mattack", "0.0", "mdecay", "1.2", "menvpos", "0.4", "mrelease", "1.0", "msustain", "0.2", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.2", "o1semi", "0.0", "o1table", "Glass", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.3", "o2oct", "1", "o2pos", "0.0", "o2semi", "0.0", "o2table", "Classic", "release", "1.0", "reso", "0.15", "spread", "0.3", "sub", "0.0", "sustain", "0.3", "unison", "1.0", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory91[] = {"attack", "0.02", "cutoff", "0.9", "decay", "0.3", "drive", "0.0", "fenv", "0.2", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "0", "lfopitch", "0.0", "lfopos", "0.5", "lfowave", "Tri", "mattack", "0.5", "mdecay", "2.0", "menvpos", "0.0", "mrelease", "1.0", "msustain", "0.5", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.0", "o1semi", "0.0", "o1table", "Organ", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.0", "o2oct", "0.0", "o2pos", "0.3", "o2semi", "0.0", "o2table", "Classic", "release", "0.15", "reso", "0.0", "spread", "0.3", "sub", "0.0", "sustain", "1.0", "unison", "1.0", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory92[] = {"attack", "0.0", "cutoff", "0.55", "decay", "0.4", "drive", "0.4", "fenv", "0.35", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "1.0", "lfopitch", "0.0", "lfopos", "0.15", "lfowave", "Sine", "mattack", "0.0", "mdecay", "0.3", "menvpos", "0.7", "mrelease", "1.0", "msustain", "0.0", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "-1", "o1pos", "0.1", "o1semi", "0.0", "o1table", "Fold", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.0", "o2oct", "0.0", "o2pos", "0.3", "o2semi", "0.0", "o2table", "Classic", "release", "0.15", "reso", "0.15", "spread", "0.3", "sub", "0.5", "sustain", "0.7", "unison", "1.0", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory93[] = {"attack", "0.01", "cutoff", "0.8", "decay", "0.3", "drive", "0.0", "fenv", "0.2", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "4", "lfopitch", "0.0", "lfopos", "0.6", "lfowave", "S&H", "mattack", "0.5", "mdecay", "2.0", "menvpos", "0.0", "mrelease", "1.0", "msustain", "0.5", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.3", "o1semi", "0.0", "o1table", "Digital", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.5", "o2oct", "0.0", "o2pos", "0.9", "o2semi", "7", "o2table", "Digital", "release", "0.4", "reso", "0.3", "spread", "0.3", "sub", "0.0", "sustain", "0.8", "unison", "1.0", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory94[] = {"attack", "1.2", "cutoff", "0.7", "decay", "0.3", "drive", "0.0", "fenv", "0.2", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.2", "lfodiv", "0", "lfopitch", "0.0", "lfopos", "0.15", "lfowave", "Sine", "mattack", "6.0", "mdecay", "6.0", "menvpos", "1.0", "mrelease", "1.0", "msustain", "1.0", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.0", "o1semi", "0.0", "o1table", "Comb", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.0", "o2oct", "0.0", "o2pos", "0.3", "o2semi", "0.0", "o2table", "Classic", "release", "3.0", "reso", "0.15", "spread", "0.45", "sub", "0.0", "sustain", "0.8", "unison", "4", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory95[] = {"attack", "0.0", "cutoff", "0.7", "decay", "0.6", "drive", "0.0", "fenv", "0.4", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "1.0", "lfopitch", "0.0", "lfopos", "0.15", "lfowave", "Sine", "mattack", "0.0", "mdecay", "0.5", "menvpos", "-1.0", "mrelease", "1.0", "msustain", "0.0", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "1.0", "o1semi", "0.0", "o1table", "Odd Even", "o2bend", "0.0", "o2fine", "7.0", "o2level", "0.0", "o2oct", "0.0", "o2pos", "0.3", "o2semi", "0.0", "o2table", "Classic", "release", "0.4", "reso", "0.3", "spread", "0.3", "sub", "0.0", "sustain", "0.0", "unison", "1.0", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory96[] = {"attack", "2.0", "cutoff", "0.85", "decay", "0.3", "drive", "0.0", "fenv", "0.2", "ftype", "Low", "keytrack", "0.4", "lfocut", "0.0", "lfodiv", "1.0", "lfopitch", "0.0", "lfopos", "0.15", "lfowave", "Sine", "mattack", "5.0", "mdecay", "8.0", "menvpos", "1.0", "mrelease", "1.0", "msustain", "1.0", "noise", "0.0", "o1bend", "0.0", "o1fine", "0.0", "o1level", "0.8", "o1oct", "0.0", "o1pos", "0.0", "o1semi", "0.0", "o1table", "Harmonic Sweep", "o2bend", "0.0", "o2fine", "10.0", "o2level", "0.6", "o2oct", "0.0", "o2pos", "0.0", "o2semi", "0.0", "o2table", "Harmonic Sweep", "release", "3.0", "reso", "0.05", "spread", "0.3", "sub", "0.0", "sustain", "0.8", "unison", "2", "velsens", "0.5", "wtframe", "Auto", nullptr};
inline const char *const factory97[] = {"cHiAtk", "3", "cHiMk", "2", "cHiRatio", "3", "cHiRel", "80", "cHiThr", "-24", "cLoAtk", "8", "cLoMk", "3", "cLoRatio", "4", "cLoRel", "140", "cLoThr", "-22", "cMidMk", "1", "cMidRatio", "2.5", "cMidThr", "-20", "eqHiFreq", "9000", "eqHiGain", "4", "eqLoFreq", "70", "eqLoGain", "4", "eqMidFreq", "450", "eqMidGain", "-2", "limCeil", "-0.3", "limRel", "80", "outGain", "2", "strength", "1.0", "xHi", "3000", "xLo", "120", nullptr};
inline const char *const factory98[] = {"cLoAtk", "12", "cLoMk", "2", "cLoRatio", "3", "cLoRel", "160", "cLoThr", "-20", "cMidMk", "1", "cMidRatio", "2.5", "cMidThr", "-18", "eqHiFreq", "10000", "eqHiGain", "1.5", "eqLoFreq", "90", "eqLoGain", "2", "limCeil", "-0.5", "outGain", "1.5", "strength", "1.0", "xHi", "2500", "xLo", "160", nullptr};
inline const char *const factory99[] = {"cHiAtk", "2", "cHiMk", "2", "cHiRatio", "4", "cHiRel", "60", "cHiThr", "-26", "cLoRatio", "1.5", "cMidRatio", "2", "eqHiFreq", "11000", "eqHiGain", "5", "eqMidFreq", "4000", "eqMidGain", "1", "limCeil", "-0.3", "outGain", "2", "strength", "1.0", "xHi", "4000", nullptr};
inline const char *const factory100[] = {"cHiMk", "2", "cHiRatio", "3", "cHiThr", "-20", "cLoAtk", "6", "cLoMk", "3", "cLoRatio", "5", "cLoRel", "120", "cLoThr", "-18", "cMidAtk", "8", "cMidMk", "3", "cMidRatio", "4", "cMidRel", "120", "cMidThr", "-16", "eqHiFreq", "8000", "eqHiGain", "2", "eqLoFreq", "80", "eqLoGain", "3", "eqMidFreq", "2200", "eqMidGain", "3", "eqMidQ", "1.2", "limCeil", "-0.2", "limRel", "60", "outGain", "3", "strength", "1.0", "xHi", "2000", "xLo", "150", nullptr};
inline const char *const factory101[] = {"cHiRatio", "1.5", "cLoAtk", "4", "cLoMk", "3", "cLoRatio", "6", "cLoRel", "100", "cLoThr", "-16", "cMidRatio", "2", "eqLoFreq", "60", "eqLoGain", "3", "eqMidFreq", "700", "eqMidGain", "-2", "limCeil", "-0.2", "outGain", "2.5", "strength", "1.0", "xHi", "3000", "xLo", "120", nullptr};
inline const char *const factory102[] = {"cHiMk", "1", "cHiRatio", "2", "cHiThr", "-22", "cLoMk", "1.5", "cLoRatio", "2.5", "cLoThr", "-22", "cMidMk", "1", "cMidRatio", "2", "cMidThr", "-20", "eqHiFreq", "9000", "eqHiGain", "1.5", "eqLoFreq", "90", "eqLoGain", "1.5", "limCeil", "-0.5", "outGain", "1.5", "strength", "0.85", "xHi", "2600", "xLo", "180", nullptr};
inline const char *const factory103[] = {"cHiAtk", "2", "cHiMk", "2", "cHiRatio", "3", "cHiRel", "60", "cHiThr", "-22", "cLoAtk", "3", "cLoMk", "2", "cLoRatio", "4", "cLoRel", "90", "cLoThr", "-18", "cMidAtk", "4", "cMidMk", "2", "cMidRatio", "3", "cMidRel", "90", "cMidThr", "-18", "eqHiFreq", "9000", "eqHiGain", "2", "eqLoFreq", "80", "eqLoGain", "2", "eqMidFreq", "2500", "eqMidGain", "1.5", "limCeil", "-0.3", "limRel", "50", "outGain", "2", "strength", "1.0", "xHi", "2500", "xLo", "150", nullptr};
inline const char *const factory104[] = {"cHiRatio", "1.5", "cLoMk", "1", "cLoRatio", "2.5", "cLoThr", "-22", "cMidRatio", "2", "eqHiFreq", "6000", "eqHiGain", "-4", "eqLoFreq", "100", "eqLoGain", "2", "eqMidFreq", "500", "eqMidGain", "1", "limCeil", "-1", "outGain", "1", "strength", "0.8", "xHi", "2200", "xLo", "200", nullptr};
inline const char *const factory105[] = {"cHiAtk", "2", "cHiMk", "2", "cHiRatio", "3", "cHiRel", "70", "cHiThr", "-22", "cLoRatio", "1.5", "cMidAtk", "3", "cMidMk", "2", "cMidRatio", "4", "cMidRel", "100", "cMidThr", "-18", "eqHiFreq", "8000", "eqHiGain", "3", "eqLoFreq", "200", "eqLoGain", "-2", "eqMidFreq", "2000", "eqMidGain", "3", "eqMidQ", "1.5", "limCeil", "-0.3", "outGain", "2", "strength", "1.0", "xHi", "1800", "xLo", "250", nullptr};
inline const char *const factory106[] = {"cHiAtk", "2", "cHiMk", "2", "cHiRatio", "3", "cLoRatio", "1.5", "cMidAtk", "3", "cMidMk", "1", "cMidRatio", "3", "eqHiFreq", "9000", "eqHiGain", "4", "eqMidFreq", "1500", "eqMidGain", "2", "outGain", "2", "strength", "1.0", "xHi", "3000", nullptr};
inline const char *const factory107[] = {"cHiAtk", "5", "cHiMk", "1", "cHiRatio", "2.5", "cHiRel", "120", "cHiThr", "-26", "eqHiFreq", "12000", "eqHiGain", "4", "eqMidFreq", "3000", "eqMidGain", "-1", "limCeil", "-0.5", "outGain", "1.5", "strength", "0.75", "xHi", "5000", nullptr};
inline const char *const factory108[] = {"cHiMk", "1", "cHiRatio", "2.5", "cLoMk", "1", "cLoRatio", "2", "cMidAtk", "4", "cMidMk", "1.5", "cMidRatio", "3", "eqHiFreq", "8000", "eqHiGain", "2", "eqMidFreq", "2500", "eqMidGain", "1.5", "outGain", "1.5", "strength", "1.0", "xHi", "2500", "xLo", "200", nullptr};
inline const char *const factory109[] = {"cHiRatio", "1.5", "cLoAtk", "10", "cLoMk", "3", "cLoRatio", "4", "cLoRel", "130", "cLoThr", "-18", "cMidAtk", "12", "cMidMk", "2", "cMidRatio", "3", "cMidRel", "130", "cMidThr", "-18", "eqHiFreq", "9000", "eqHiGain", "-2", "eqLoFreq", "80", "eqLoGain", "3", "eqMidFreq", "800", "eqMidGain", "2", "eqMidQ", "1.2", "limCeil", "-0.3", "outGain", "2.5", "strength", "1.0", "xHi", "1500", "xLo", "150", nullptr};
inline const char *const factory110[] = {"cHiRatio", "1.5", "cLoAtk", "8", "cLoMk", "3", "cLoRatio", "5", "cLoRel", "120", "cLoThr", "-16", "cMidMk", "2", "cMidRatio", "3", "cMidThr", "-18", "eqLoFreq", "70", "eqLoGain", "2", "eqMidFreq", "500", "eqMidGain", "2", "limCeil", "-0.3", "outGain", "2", "strength", "1.0", "xHi", "1200", "xLo", "140", nullptr};
inline const char *const factory111[] = {"cHiRatio", "2", "cLoMk", "2", "cLoRatio", "3", "cMidAtk", "6", "cMidMk", "2", "cMidRatio", "4", "cMidRel", "110", "cMidThr", "-18", "eqLoFreq", "90", "eqLoGain", "1", "eqMidFreq", "1200", "eqMidGain", "3", "eqMidQ", "1.5", "limCeil", "-0.4", "outGain", "2", "strength", "1.0", "xHi", "1800", "xLo", "160", nullptr};
inline const char *const factory112[] = {"cHiRatio", "1.2", "cLoAtk", "12", "cLoMk", "3", "cLoRatio", "6", "cLoRel", "150", "cLoThr", "-14", "cMidRatio", "2", "eqLoFreq", "55", "eqLoGain", "2", "eqMidFreq", "900", "eqMidGain", "-2", "limCeil", "-0.5", "outGain", "2", "strength", "0.9", "xHi", "2000", "xLo", "120", nullptr};
inline const char *const factory113[] = {"cHiRatio", "2", "cLoAtk", "6", "cLoMk", "2", "cLoRatio", "4", "cLoRel", "110", "cLoThr", "-18", "cMidMk", "1.5", "cMidRatio", "3", "cMidThr", "-18", "eqLoFreq", "90", "eqLoGain", "2", "eqMidFreq", "1000", "eqMidGain", "1.5", "limCeil", "-0.3", "outGain", "2", "strength", "1.0", "xHi", "2200", "xLo", "160", nullptr};
inline const char *const factory114[] = {"cHiRatio", "1.5", "cLoAtk", "10", "cLoMk", "3", "cLoRatio", "4", "cLoRel", "140", "cLoThr", "-18", "cMidMk", "1", "cMidRatio", "2.5", "eqHiFreq", "8000", "eqHiGain", "-2", "eqLoFreq", "75", "eqLoGain", "3", "eqMidFreq", "600", "eqMidGain", "-1", "limCeil", "-0.5", "outGain", "2", "strength", "0.9", "xHi", "1600", "xLo", "140", nullptr};
inline const char *const factory115[] = {"cHiRatio", "2", "cLoAtk", "10", "cLoMk", "2", "cLoRatio", "3", "cLoRel", "130", "cLoThr", "-20", "cMidMk", "1", "cMidRatio", "2.5", "eqHiFreq", "7000", "eqHiGain", "1", "eqLoFreq", "80", "eqLoGain", "2.5", "eqMidFreq", "900", "eqMidGain", "1", "limCeil", "-0.5", "outGain", "1.8", "strength", "1.0", "xHi", "2000", "xLo", "150", nullptr};
inline const char *const factory116[] = {"cHiMk", "1.5", "cHiRatio", "2", "cHiThr", "-22", "cLoRatio", "1.5", "cMidAtk", "12", "cMidMk", "1.5", "cMidRatio", "2.5", "cMidRel", "150", "cMidThr", "-20", "eqHiFreq", "9000", "eqHiGain", "4", "eqLoFreq", "200", "eqLoGain", "-1", "eqMidFreq", "2000", "eqMidGain", "1.5", "limCeil", "-0.5", "outGain", "2", "strength", "0.85", "xHi", "3000", "xLo", "300", nullptr};
inline const char *const factory117[] = {"cHiMk", "1", "cHiRatio", "2", "cLoRatio", "1.5", "cMidAtk", "8", "cMidMk", "2", "cMidRatio", "3", "cMidRel", "130", "cMidThr", "-18", "eqHiFreq", "8000", "eqHiGain", "2", "eqLoFreq", "200", "eqLoGain", "-2", "eqMidFreq", "3000", "eqMidGain", "3", "eqMidQ", "1.2", "limCeil", "-0.4", "outGain", "2", "strength", "1.0", "xHi", "3500", "xLo", "300", nullptr};
inline const char *const factory118[] = {"cHiRatio", "2", "cLoMk", "1", "cLoRatio", "2", "cMidAtk", "20", "cMidMk", "1", "cMidRatio", "2", "cMidRel", "200", "cMidThr", "-24", "eqHiFreq", "8000", "eqHiGain", "-2", "eqLoFreq", "150", "eqLoGain", "1", "eqMidFreq", "1000", "eqMidGain", "0.5", "limCeil", "-1", "outGain", "1", "strength", "0.7", "xHi", "2500", "xLo", "250", nullptr};
inline const char *const factory119[] = {"cMidAtk", "30", "cMidMk", "0.5", "cMidRatio", "1.8", "cMidRel", "250", "cMidThr", "-26", "eqHiFreq", "10000", "eqHiGain", "1", "eqLoFreq", "120", "eqLoGain", "1", "limCeil", "-1.5", "outGain", "0.5", "strength", "0.6", "xHi", "3000", "xLo", "300", nullptr};
inline const char *const factory120[] = {"cHiAtk", "2", "cHiMk", "1.5", "cHiRatio", "2.5", "cHiRel", "70", "cHiThr", "-22", "cLoRatio", "1.5", "cMidAtk", "3", "cMidMk", "1.5", "cMidRatio", "3", "cMidRel", "100", "cMidThr", "-18", "eqHiFreq", "9000", "eqHiGain", "3", "eqMidFreq", "2500", "eqMidGain", "2", "outGain", "1.5", "strength", "1.0", "xHi", "3000", "xLo", "300", nullptr};
inline const char *const factory121[] = {"cHiAtk", "4", "cHiMk", "1.5", "cHiRatio", "2.5", "cHiThr", "-24", "cMidMk", "1", "cMidRatio", "2", "eqHiFreq", "11000", "eqHiGain", "4", "eqMidFreq", "3000", "eqMidGain", "1", "limCeil", "-0.5", "outGain", "1.5", "strength", "0.8", "xHi", "4000", nullptr};
inline const char *const factory122[] = {"cHiMk", "1", "cHiRatio", "2", "cLoRatio", "1.2", "cMidMk", "2", "cMidRatio", "3", "cMidThr", "-18", "eqHiFreq", "8000", "eqHiGain", "2", "eqLoFreq", "150", "eqLoGain", "-3", "eqMidFreq", "2500", "eqMidGain", "2.5", "eqMidQ", "1.2", "limCeil", "-0.4", "outGain", "2", "strength", "1.0", "xHi", "3000", "xLo", "350", nullptr};
inline const char *const factory123[] = {"cHiAtk", "4", "cHiMk", "1", "cHiRatio", "2", "cMidAtk", "6", "cMidMk", "1", "cMidRatio", "2", "eqHiFreq", "10000", "eqHiGain", "3", "eqMidFreq", "1800", "eqMidGain", "1.5", "limCeil", "-0.5", "outGain", "1", "strength", "0.75", "xHi", "4000", nullptr};
inline const char *const factory124[] = {"cHiMk", "1", "cHiRatio", "2", "cLoRatio", "1.8", "cMidAtk", "10", "cMidMk", "1", "cMidRatio", "2.5", "cMidRel", "150", "cMidThr", "-22", "eqHiFreq", "9000", "eqHiGain", "2", "eqLoFreq", "200", "eqLoGain", "-1", "eqMidFreq", "2500", "eqMidGain", "1.5", "limCeil", "-0.5", "outGain", "1.5", "strength", "0.8", "xHi", "3000", "xLo", "250", nullptr};
inline const char *const factory125[] = {"cHiAtk", "15", "cHiMk", "1", "cHiRatio", "2", "cHiRel", "180", "cHiThr", "-22", "cLoAtk", "20", "cLoMk", "1", "cLoRatio", "2", "cLoRel", "200", "cLoThr", "-22", "cMidAtk", "25", "cMidMk", "1", "cMidRatio", "2", "cMidRel", "200", "cMidThr", "-22", "eqHiFreq", "10000", "eqHiGain", "1", "eqLoFreq", "100", "eqLoGain", "0.5", "limCeil", "-0.8", "outGain", "1", "strength", "0.7", "xHi", "2500", "xLo", "200", nullptr};
inline const char *const factory126[] = {"cHiMk", "2", "cHiRatio", "3", "cHiThr", "-20", "cLoMk", "2", "cLoRatio", "3", "cLoThr", "-20", "cMidMk", "2", "cMidRatio", "3", "cMidThr", "-18", "eqHiFreq", "9000", "eqHiGain", "2", "eqLoFreq", "90", "eqLoGain", "1", "limCeil", "-0.1", "limRel", "40", "outGain", "4", "strength", "1.0", "xHi", "2800", "xLo", "180", nullptr};
inline const FactoryPreset factoryPresets[] = {
{"AMBIENCE", "Abbey Road", factory0},
{"AMBIENCE", "Abbey Road 2", factory1},
{"AMBIENCE", "Capitol Studio A", factory2},
{"AMBIENCE", "Skywalker Sound", factory3},
{"AMBIENCE", "Carnegie Hall", factory4},
{"AMBIENCE", "Tokyo Opera City", factory5},
{"AMBIENCE", "Berlin Konzerthaus", factory6},
{"AMBIENCE", "Vienna Musikverein", factory7},
{"AMBIENCE", "Boston Symphony", factory8},
{"AMBIENCE", "Concertgebouw", factory9},
{"AMBIENCE", "EMT140 Vocal", factory10},
{"AMBIENCE", "EMT140 Snare", factory11},
{"AMBIENCE", "Dark Plate", factory12},
{"AMBIENCE", "Surf Guitar", factory13},
{"AMBIENCE", "Vintage Studio", factory14},
{"AMBIENCE", "Deep Tank", factory15},
{"AMBIENCE", "Gothic Cathedral", factory16},
{"AMBIENCE", "Stone Chamber", factory17},
{"AMBIENCE", "Infinite Space", factory18},
{"AMBIENCE", "Drums in a Box", factory19},
{"AMBIENCE", "Tracking Room", factory20},
{"NES_SYNTH", "NES Lead", factory21},
{"NES_SYNTH", "Square Bass", factory22},
{"NES_SYNTH", "Pulse Pluck", factory23},
{"NES_SYNTH", "Triangle Sub", factory24},
{"NES_SYNTH", "Detune Lead", factory25},
{"NES_SYNTH", "Noise Perc", factory26},
{"NES_SYNTH", "Vibrato Lead", factory27},
{"NES_SYNTH", "Wah Sweep", factory28},
{"NES_SYNTH", "Pluck Bass", factory29},
{"NES_SYNTH", "Acid Pluck", factory30},
{"NES_SYNTH", "Razor Lead", factory31},
{"NES_SYNTH", "Cold Lead", factory32},
{"NES_SYNTH", "Grit Sub", factory33},
{"NES_SYNTH", "Detune Wall", factory34},
{"MORPH_PAD", "Mist", factory35},
{"MORPH_PAD", "Cathedral", factory36},
{"MORPH_PAD", "Glacier", factory37},
{"MORPH_PAD", "Abyss", factory38},
{"MORPH_PAD", "Aurora", factory39},
{"MORPH_PAD", "Ember", factory40},
{"MORPH_PAD", "Tide", factory41},
{"MORPH_PAD", "Dust", factory42},
{"MORPH_PAD", "Wind", factory43},
{"MORPH_PAD", "Organ", factory44},
{"MORPH_PAD", "Hollow", factory45},
{"MORPH_PAD", "Vowel", factory46},
{"MORPH_PAD", "Shimmer", factory47},
{"MORPH_PAD", "Chanter", factory48},
{"MORPH_PAD", "Ensemble", factory49},
{"MORPH_PAD", "Bells", factory50},
{"MORPH_PAD", "Nocturne", factory51},
{"MORPH_PAD", "Haze", factory52},
{"MORPH_PAD", "Pulse", factory53},
{"MORPH_PAD", "Rime", factory54},
{"MORPH_PAD", "Deep", factory55},
{"MORPH_PAD", "Spectral", factory56},
{"MORPH_PAD", "Rust", factory57},
{"MORPH_PAD", "Still", factory58},
{"MORPH_PAD", "Velvet", factory59},
{"MORPH_PAD", "Chrome", factory60},
{"MORPH_PAD", "Swarm", factory61},
{"MORPH_PAD", "Foghorn", factory62},
{"MORPH_PAD", "Solar", factory63},
{"MORPH_PAD", "Cave", factory64},
{"MORPH_PAD", "Glass Harp", factory65},
{"MORPH_PAD", "Monk", factory66},
{"MORPH_PAD", "Static", factory67},
{"MORPH_PAD", "Lullaby", factory68},
{"MORPH_PAD", "Storm", factory69},
{"MORPH_PAD", "Prism", factory70},
{"GRAIN_CLOUD", "Felt Clouds", factory71},
{"GRAIN_CLOUD", "Glass Choir", factory72},
{"GRAIN_CLOUD", "Dust Lights", factory73},
{"GRAIN_CLOUD", "Warm Tide", factory74},
{"GRAIN_CLOUD", "Slow Tapes", factory75},
{"GRAIN_CLOUD", "Deep Water", factory76},
{"GRAIN_CLOUD", "Rain Cathedral", factory77},
{"GRAIN_CLOUD", "Kalimba Steps", factory78},
{"GRAIN_CLOUD", "Hymn", factory79},
{"GRAIN_CLOUD", "Breath Choir", factory80},
{"GRAIN_CLOUD", "Night Current", factory81},
{"GRAIN_CLOUD", "Glass Rain", factory82},
{"GRAIN_CLOUD", "Broken Stars", factory83},
{"GRAIN_CLOUD", "Far Broadcast", factory84},
{"WAVETABLE", "Morph Lead", factory85},
{"WAVETABLE", "Vowel Pad", factory86},
{"WAVETABLE", "PWM Strings", factory87},
{"WAVETABLE", "Sync Sweep", factory88},
{"WAVETABLE", "FM Bells", factory89},
{"WAVETABLE", "Glass Keys", factory90},
{"WAVETABLE", "Organ Drift", factory91},
{"WAVETABLE", "Fold Bass", factory92},
{"WAVETABLE", "Digital Grit", factory93},
{"WAVETABLE", "Comb Choir", factory94},
{"WAVETABLE", "Odd Even Pluck", factory95},
{"WAVETABLE", "Harmonic Rise", factory96},
{"MIX_TIGHTENER", "808 Crisp", factory97},
{"MIX_TIGHTENER", "Boom-Bap Kit", factory98},
{"MIX_TIGHTENER", "Trap Hats", factory99},
{"MIX_TIGHTENER", "Industrial Drums", factory100},
{"MIX_TIGHTENER", "Techno Kick", factory101},
{"MIX_TIGHTENER", "House Groove", factory102},
{"MIX_TIGHTENER", "DnB Breaks", factory103},
{"MIX_TIGHTENER", "Lo-Fi Kit", factory104},
{"MIX_TIGHTENER", "Snare Crack", factory105},
{"MIX_TIGHTENER", "Clap Snap", factory106},
{"MIX_TIGHTENER", "Cymbal Sheen", factory107},
{"MIX_TIGHTENER", "Percussion Tight", factory108},
{"MIX_TIGHTENER", "EBM Bass", factory109},
{"MIX_TIGHTENER", "Reese Bass", factory110},
{"MIX_TIGHTENER", "Acid 303", factory111},
{"MIX_TIGHTENER", "Sub Bass Tame", factory112},
{"MIX_TIGHTENER", "FM Bass Punch", factory113},
{"MIX_TIGHTENER", "Goth Bass", factory114},
{"MIX_TIGHTENER", "Synthwave Bass", factory115},
{"MIX_TIGHTENER", "Synthwave Lead", factory116},
{"MIX_TIGHTENER", "Cutting Lead", factory117},
{"MIX_TIGHTENER", "Darkwave Pad", factory118},
{"MIX_TIGHTENER", "Ambient Wash", factory119},
{"MIX_TIGHTENER", "Pluck Tight", factory120},
{"MIX_TIGHTENER", "Arp Sparkle", factory121},
{"MIX_TIGHTENER", "Chip Lead", factory122},
{"MIX_TIGHTENER", "Bell Clarity", factory123},
{"MIX_TIGHTENER", "Keys Clarity", factory124},
{"MIX_TIGHTENER", "Mix Glue", factory125},
{"MIX_TIGHTENER", "Loudness Max", factory126},
};
inline constexpr int factoryPresetCount = 127;
} // namespace sizzle::gen
+40
View File
@@ -0,0 +1,40 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <memory>
#include "sizzle/Params.hpp"
namespace sizzle {
/**
* An insert effect: the C++ twin of AudioEffect in Effects.kt. `update` refreshes
* cached settings (call it when the params change, and once before processing);
* `process` runs per mono sample and must never allocate or lock. Construct on a
* normal thread: constructors allocate delay lines for [sampleRate].
*/
class Effect {
public:
virtual ~Effect() = default;
virtual void update(const Params &p, float tempoBpm) = 0;
virtual float process(float x) = 0;
// ---- visualisation (Kotlin's VizEffect), optional
// The audio thread publishes a small snapshot while it runs process(); the UI
// reads it at frame rate from another thread, without locks (relaxed atomics: a
// value one frame stale is harmless). Publishing must never change the audio.
/** True if this effect publishes a scope and playhead (a VizEffect). */
virtual bool hasScope() const { return false; }
/** Copy up to [capacity] of the latest scope samples, oldest to newest, into
* [out]; returns the count written, or -1 if the effect has no scope. */
virtual int copyScope(float *out, int capacity) const { (void)out; (void)capacity; return -1; }
/** The read/play head within the scope window, 0 (oldest) to 1 (newest), or -1. */
virtual float playhead() const { return -1.f; }
/** The effect for ToolboxType name [type] ("DELAY", "FILTER", …), or nullptr
* for types without an audio processor (the MIDI effects) or not ported yet. */
static std::unique_ptr<Effect> create(const char *type, int sampleRate);
};
} // namespace sizzle
+145
View File
@@ -0,0 +1,145 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
// The sequencer and mixer engine: a port of audio/AudioEngine.kt (plus its
// ChannelArp, the MIDI LFO, the transposer, the arrangement playlist with loop
// regions, note-offs, mutes/solo, per-channel FX chains, the master limiter).
// Checked against whole songs rendered by the Kotlin engine (core/tests/engine_test).
//
// Not here: the audio output (the app calls fillBlock from its AVAudioEngine
// render callback), WAV writing for master recording (plug in a MasterSink),
// CoreMIDI (the engine fills an outgoing MIDI queue; the app drains pollMidiOut).
//
// Threads, as in the Kotlin: setProject / play / pause / stop / rebuild* run on
// the main thread, fillBlock on the audio thread (no allocation, no locks). The
// live note calls (liveNoteOn, auditionSlotOn, busNoteOn, panic, ...) touch the
// voices directly, as the Kotlin does: call them from the audio thread (e.g. drain
// a queue before fillBlock) or otherwise serialise them with it.
#include <cstdint>
#include <memory>
#include <string>
namespace sizzle::model {
struct Project;
}
namespace sizzle::sampler {
class SampleStore;
}
namespace sizzle::engine {
/** TransportState.kt: where playback is, for the playhead. */
struct TransportState {
bool isPlaying = false;
/** Absolute line index within the currently-playing pattern. */
int currentLine = 0;
/** Beat index within the arrangement. */
int currentBeat = 0;
};
/** Kotlin's process-wide voice state at the moment the engine is built: the Morph
* Pad's shared clock (FrasilClock.seconds) and the seed counters every new
* FrasilVoice / GrainCloud draws from. The defaults are a fresh process's. */
struct EngineGlobals {
double clockSeconds = 0.0;
uint32_t frasilSeeds = 0x2545F491u;
uint32_t grainSeeds = 0x1234567u;
};
/** Where a master recording goes (MasterRecorder.kt, minus the file): begin() when
* an armed take starts (false = can't record), write() per output frame on the
* audio thread (must not block), endCapture() after the FX tail. */
class MasterSink {
public:
virtual ~MasterSink() = default;
virtual bool isActive() const = 0;
virtual bool begin() = 0;
virtual void write(float left, float right) = 0;
virtual void endCapture() = 0;
};
class Engine {
public:
static constexpr int BLOCK_FRAMES = 192; // the Kotlin's block (the MIDI LFO steps by it)
static constexpr int POLYPHONY = 8;
static constexpr int LIVE_POLYPHONY = 8;
static constexpr int AUDITION_POLYPHONY = 8;
static constexpr int BUS_POLYPHONY = 8;
/** [store]: where Sampler / SF2 / Grain Cloud samples are looked up (may be null:
* no samples). Builds every voice in AudioEngine's order from [globals]. */
explicit Engine(int sampleRate = 48000, sampler::SampleStore *store = nullptr,
const EngineGlobals &globals = {});
~Engine();
Engine(const Engine &) = delete;
Engine &operator=(const Engine &) = delete;
int sampleRate() const;
// ---- song (main thread)
/** The song to play; it must outlive the engine or the next setProject. */
void setProject(model::Project *p);
/** Re-resolve each channel's FX slots into effect processors (routing changed). */
void rebuildFxChains();
/** Rebuild the arrangement playlist and reset the position. */
void rebuildArrangement();
/** Rebuild the playlist (loop region edits) without moving the position. */
void refreshLoopPlaylist();
// ---- transport (main thread)
void play(int startBeat = -1);
void pause();
/** Stop; if already stopped, rewind to the top. */
void stop();
/** Hard-silence every voice and cancel the arpeggiators. */
void panic();
TransportState transport() const;
bool isPlaying() const;
// ---- audio thread
/** Render [frames] interleaved stereo frames into [out] (frames * 2 floats). */
void fillBlock(float *out, int frames);
// ---- live notes (see the thread note above)
void liveNoteOn(int pitch, int velocity);
void liveNoteOff(int pitch);
void auditionSlotOn(int slotIndex, int midi);
void auditionSlotOff(int midi);
void busNoteOn(int midiChannel, int midi, int velocity);
void busNoteOff(int midiChannel, int midi);
/** For a MIDI trace: what busNoteOn would play (allocates; not for the audio thread). */
std::string describeBusTargets(int midiChannel, int midi) const;
// ---- mixer meters (any thread, display only)
float channelMeter(int ch) const;
bool channelClipped(int ch) const;
/** Effect visualisation (AudioEngine.effectScope / effectPlayhead), any thread:
* toolbox [slotIndex]'s live scope (oldest → newest, up to [capacity] samples)
* and read head (0..1) from the first channel chain that runs it, or -1 when it
* isn't a scope effect placed on a mixer channel (nothing to draw). Lock-free;
* chains swapped out meanwhile are kept alive until the read is done. */
int effectScope(int slotIndex, float *out, int capacity) const;
float effectPlayhead(int slotIndex) const;
// ---- outgoing MIDI: (status << 16) | (data1 << 8) | data2, or -1 when empty
void setMidiOutEnabled(bool on);
bool midiOutEnabled() const;
int pollMidiOut();
// ---- master recording
void setMasterSink(MasterSink *sink);
void setRecordingArm(bool armed, int tailBars);
void setRecordTailBars(int tailBars);
bool recordArmed() const;
void externalClockStart();
void externalClockStop();
class Impl;
private:
std::unique_ptr<Impl> impl;
};
} // namespace sizzle::engine
+50
View File
@@ -0,0 +1,50 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <memory>
#include "sizzle/Params.hpp"
namespace sizzle {
namespace sampler { class SampleStore; }
/**
* One playable instrument: a pool of voices for a ToolboxType, the way AudioEngine
* plays one mixer channel's instrument (8 voices, a free voice first, else the
* round-robin one; synth voices are cut when stolen, sample voices declick).
* Used by the AUv3 instruments and the in-app host until the full engine is ported.
*
* Threads: construct and call update()/noteOn()/noteOff()/render() from the audio
* thread only (the AU wrapper hands parameter changes over itself). No allocation
* after construction.
*/
class Instrument {
public:
virtual ~Instrument() = default;
/** New settings (and tempo): rebuild the patch, and let held notes follow it
* where the Kotlin engine does (synth voices take the new patch). */
virtual void update(const Params &p, float tempoBpm) = 0;
virtual void noteOn(int midi, int velocity) = 0;
/** Release the held note(s) at [midi]. */
virtual void noteOff(int midi) = 0;
/** Release everything (MIDI all-notes-off, transport stop). */
virtual void allNotesOff() = 0;
/** Hard stop, no release tails. */
virtual void kill() = 0;
/** Before each render block of [frames]: advances the Morph Pad's shared clock
* and lets the sample store reclaim memory. */
virtual void blockStart(int frames) = 0;
/** One mono output sample. */
virtual float render() = 0;
static constexpr int POLYPHONY = 8;
/** The instrument for ToolboxType [type] (NES_SYNTH, MORPH_PAD, WAVETABLE,
* GRAIN_CLOUD, SAMPLER, SOUNDFONT), or nullptr. [store] supplies samples for
* the Sampler, SF2/XI loader and Grain Cloud custom sources (may be null:
* those then stay silent); it must outlive the instrument. */
static std::unique_ptr<Instrument> create(const char *type, int sampleRate, sampler::SampleStore *store);
};
} // namespace sizzle
+194
View File
@@ -0,0 +1,194 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
// MIDI input pieces with no platform types, ported from the Android app:
// - MidiByteParser (input/MidiByteParser.kt): raw bytes -> whole messages, with
// running status, split messages, real-time bytes anywhere, SysEx skipped.
// - MidiSoundModule (playback/MidiSoundModule.kt): notes per source -> a NoteSink,
// All Notes Off / All Sound Off, release of a vanished source's held notes.
// Tested by core/tests/midi_test.cpp.
#pragma once
#include <cstdint>
#include <functional>
#include <map>
#include <mutex>
#include <set>
#include <utility>
namespace sizzle::midi {
/** One parser per stream (running status is per stream). Not thread-safe. */
class MidiByteParser {
public:
/** A complete channel message: status 0x80..0xEF and its data bytes (0 when absent). */
using Channel = std::function<void(int status, int d1, int d2)>;
/** A System Real-Time byte: clock 0xF8, Start 0xFA, Continue 0xFB, Stop 0xFC, ... */
using Realtime = std::function<void(int status)>;
MidiByteParser(Channel onChannel, Realtime onRealtime)
: onChannel(std::move(onChannel)), onRealtime(std::move(onRealtime)) {}
void feed(const uint8_t *data, size_t count) {
for (size_t i = 0; i < count; ++i) byte(data[i]);
}
private:
void byte(int b) {
if (b >= 0xF8) { onRealtime(b); return; } // never disturbs running status
if (b == 0xF0) { inSysex = true; running = 0; return; }
if (b == 0xF7) { inSysex = false; return; }
if (b >= 0xF1) { inSysex = false; running = 0; need = 0; return; } // system common
if (b >= 0x80) {
inSysex = false;
running = b; got = 0;
need = ((b & 0xF0) == 0xC0 || (b & 0xF0) == 0xD0) ? 1 : 2;
return;
}
if (inSysex || running == 0) return; // stray data byte
if (got == 0) d1 = b;
if (++got >= need) {
onChannel(running, d1, need == 2 ? b : 0);
got = 0; // running status: the next data byte starts a new message
}
}
Channel onChannel;
Realtime onRealtime;
int running = 0, need = 0, got = 0, d1 = 0;
bool inSysex = false;
};
/** Where the sound module plays notes (channel 1..16). */
class NoteSink {
public:
virtual ~NoteSink() = default;
virtual void busNoteOn(int channel, int note, int velocity) = 0;
virtual void busNoteOff(int channel, int note) = 0;
};
/**
* The headless multitimbral sound module: Note On/Off on channel N play/release the
* mixer tracks listening on N; CC 123 / 120 release that channel's held notes from
* every source; notes are tracked per source so a source that goes away has its
* notes released. [listener] mirrors every note played or released (for the UI).
* Thread-safe (one lock; each MIDI stream may deliver on its own thread).
*/
class MidiSoundModule {
public:
using Listener = std::function<void(bool on, int channel, int note, int velocity)>;
explicit MidiSoundModule(NoteSink &sink) : sink(sink) {}
Listener listener;
void sourceConnected(intptr_t source) { std::lock_guard<std::mutex> g(lock); held[source]; }
void sourceDisconnected(intptr_t source) {
std::lock_guard<std::mutex> g(lock);
auto it = held.find(source);
if (it == held.end()) return;
for (int k : it->second) release(k);
held.erase(it);
}
/** True when consumed (notes, all-notes-off); other messages are the caller's. */
bool onChannelMessage(intptr_t source, int status, int d1, int d2) {
const int channel = (status & 0x0F) + 1, note = d1 & 0x7F;
switch (status & 0xF0) {
case 0x90: if (d2 > 0) noteOn(source, channel, note, d2); else noteOff(source, channel, note); return true;
case 0x80: noteOff(source, channel, note); return true;
case 0xB0: if (d1 == 123 || d1 == 120) { channelOff(channel); return true; } return false;
default: return false;
}
}
/** Release everything any source holds (panic, shutdown). */
void releaseAll() {
std::lock_guard<std::mutex> g(lock);
for (auto &[src, keys] : held) { for (int k : keys) release(k); keys.clear(); }
}
/** Held (channel, note) pairs of [source], for tests. */
std::set<std::pair<int, int>> heldNotes(intptr_t source) {
std::lock_guard<std::mutex> g(lock);
std::set<std::pair<int, int>> out;
auto it = held.find(source);
if (it != held.end()) for (int k : it->second) out.insert({k / 128 + 1, k % 128});
return out;
}
int sourceCount() { std::lock_guard<std::mutex> g(lock); return (int)held.size(); }
private:
void noteOn(intptr_t source, int channel, int note, int velocity) {
std::lock_guard<std::mutex> g(lock);
held[source].insert(key(channel, note));
sink.busNoteOn(channel, note, velocity);
if (listener) listener(true, channel, note, velocity);
}
// Every Note Off reaches the engine, even for a note we don't think is held:
// a stuck voice is worse than a redundant release.
void noteOff(intptr_t source, int channel, int note) {
std::lock_guard<std::mutex> g(lock);
auto it = held.find(source);
if (it != held.end()) it->second.erase(key(channel, note));
sink.busNoteOff(channel, note);
if (listener) listener(false, channel, note, 0);
}
void channelOff(int channel) {
std::lock_guard<std::mutex> g(lock);
for (auto &[src, keys] : held) {
for (auto it = keys.begin(); it != keys.end();) {
if (*it / 128 + 1 == channel) { release(*it); it = keys.erase(it); } else ++it;
}
}
}
void release(int k) {
sink.busNoteOff(k / 128 + 1, k % 128);
if (listener) listener(false, k / 128 + 1, k % 128, 0);
}
static int key(int channel, int note) { return (channel - 1) * 128 + note; }
NoteSink &sink;
std::mutex lock;
std::map<intptr_t, std::set<int>> held;
};
/** MidiClock.kt's receive side: Start/Continue/Stop and a tempo from the pulse
* rate, averaged over a quarter note (24 pulses). [nowNs] is a monotonic clock. */
class ClockFollower {
public:
std::function<void(bool start)> onTransport; // Start/Continue = true, Stop = false
std::function<void(float bpm)> onTempo;
void realtime(int status, int64_t nowNs) {
if (status == 0xFA || status == 0xFB) { reset(); if (onTransport) onTransport(true); }
else if (status == 0xFC) { if (onTransport) onTransport(false); }
else if (status == 0xF8) pulse(nowNs);
}
private:
void reset() { lastNs = 0; accum = 0; count = 0; }
void pulse(int64_t now) {
if (lastNs != 0) {
accum += (double)(now - lastNs);
if (++count >= 24) {
const float bpm = (float)(60'000'000'000.0 / (accum / count * 24.0));
if (bpm >= 20.f && bpm <= 300.f && onTempo) onTempo(bpm);
accum = 0; count = 0;
}
}
lastNs = now;
}
int64_t lastNs = 0;
double accum = 0;
int count = 0;
};
} // namespace sizzle::midi
+169
View File
@@ -0,0 +1,169 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
// The song model: the C++ twin of the Android app's model/ package (Project,
// Pattern, Cell, Arrangement, LoopRegion, Mixer, MixerChannel, ToolboxSlot,
// TimeSignature, Scale, Pitch). Plain data with the same names, fields, defaults
// and constants, so the file formats (core/src/io) and the engine
// (core/src/engine) read like their Kotlin originals.
//
// Threads: like Android's, the model is edited by the UI and read by the audio
// thread. Toolbox values are text (sizzle::Params), as ToolboxSlot's map is.
#include <array>
#include <string>
#include <vector>
#include "sizzle/Params.hpp"
namespace sizzle::model {
struct Pitch {
static constexpr int LOWEST = 0, HIGHEST = 127, MIDDLE_C = 60;
};
struct TimeSignatureInfo {
const char *name; // enum name, as files store it ("FOUR_FOUR")
const char *label; // "4/4"
int linesPerBeat;
int beatsPerBar;
int lengthOptions[3];
int linesPerBar() const { return linesPerBeat * beatsPerBar; }
};
enum class TimeSignature { THREE_FOUR, FOUR_FOUR, FIVE_FOUR };
inline constexpr int TIME_SIGNATURE_COUNT = 3;
const TimeSignatureInfo &info(TimeSignature t);
struct ScaleInfo {
const char *name; // "MINOR"
const char *label; // "Natural Minor"
int intervals[12];
int count;
};
enum class Scale { CHROMATIC, MAJOR, MINOR, HARMONIC_MINOR, DORIAN, PHRYGIAN, MIXOLYDIAN,
PENTATONIC_MAJOR, PENTATONIC_MINOR, BLUES };
inline constexpr int SCALE_COUNT = 10;
const ScaleInfo &info(Scale s);
struct Cell {
static constexpr int EMPTY = -1, OFF = -2, MAX_VELOCITY = 0x7F, MAX_CHANNEL = 16;
int note = EMPTY;
int velocity = MAX_VELOCITY;
int channel = 1;
bool isEmpty() const { return note == EMPTY; }
bool isNoteOff() const { return note == OFF; }
bool isPlayable() const { return note >= Pitch::LOWEST && note <= Pitch::HIGHEST; }
void clear() { note = EMPTY; velocity = MAX_VELOCITY; }
};
struct Pattern {
static constexpr int TRACK_COUNT = 4;
int id = 0;
std::string name = "PTN";
int length = 16;
/** tracks[track][line]; cells start with channel 0, as Kotlin's do. */
std::array<std::vector<Cell>, TRACK_COUNT> tracks;
Pattern(int id_ = 0, std::string name_ = "PTN", int length_ = 16);
Cell &cell(int track, int line) { return tracks[track][line]; }
const Cell &cell(int track, int line) const { return tracks[track][line]; }
void resize(int newLength);
};
struct LoopRegion {
bool enabled = false;
int start = 0, end = 0, repeats = 2;
bool isValid() const { return enabled && end > start; }
};
struct Arrangement {
static constexpr int LANE_COUNT = 8, MAX_BARS = 256, MAX_BEATS = MAX_BARS * 5;
static constexpr int EMPTY = -1, NOTE_OFF = -2;
/** slots[lane][beat]: a pattern id, EMPTY or NOTE_OFF. */
std::array<std::vector<int>, LANE_COUNT> slots;
std::array<bool, LANE_COUNT> laneMuted{};
int lengthBars = MAX_BARS;
bool loopEnabled = false;
LoopRegion regionA, regionB;
Arrangement();
int canvasBeats(TimeSignature sig) const;
int patternAt(int lane, int beat) const;
bool hasBlockAt(int lane, int beat) const { return patternAt(lane, beat) >= 0; }
int lastFilledBeat() const;
void set(int lane, int beat, int patternId);
};
struct MixerChannel {
static constexpr int FX_SLOTS = 4;
int index = 0;
int instrumentSlot = -1;
std::array<int, FX_SLOTS> fxSlots{-1, -1, -1, -1};
int midiChannel = 1;
float volume = 0.8f;
bool mute = false, solo = false, limiter = false;
bool audible(bool anySolo) const { return !mute && (!anySolo || solo); }
};
struct Mixer {
static constexpr int CHANNEL_COUNT = Pattern::TRACK_COUNT, FX_SLOTS = MixerChannel::FX_SLOTS;
static constexpr int NO_DEVICE = -1;
static constexpr float DEFAULT_VOLUME = 0.8f;
std::array<MixerChannel, CHANNEL_COUNT> channels;
Mixer(); // channel i: index i, midiChannel 0 (as Kotlin's Mixer builds them)
bool anySolo() const;
};
/** One toolbox slot: a device type (ToolboxType name; empty = no device), its
* display name and its settings as text. */
struct ToolboxSlot {
int index = 0;
std::string type;
std::string name;
Params values;
/** Bumped on every settings write (Kotlin's `version`), so the engine can
* skip re-reading unchanged slots. */
uint32_t version = 0;
bool isEmpty() const { return type.empty(); }
/** ToolboxSlot.fill: the type's defaults (spec order), its display name. */
void fill(const std::string &newType);
void clearSlot();
float f(const char *key, float fallback = 0.f) const { return values.f(key, fallback); }
const char *s(const char *key, const char *fallback = "") const { return values.s(key, fallback); }
void set(const char *key, float v); // stored as Kotlin's Float.toString text (no allocation)
void set(const char *key, const char *v);
};
struct Project {
static constexpr int TOOLBOX_SLOTS = 16;
std::string name = "untitled";
float tempoBpm = 120.f;
TimeSignature timeSignature = TimeSignature::FOUR_FOUR;
Scale scale = Scale::CHROMATIC;
int rootNote = 0;
/** LANE_COUNT patterns, ids 0..7, named BLK1..BLK8, first length option. */
std::vector<Pattern> patterns;
Arrangement arrangement;
Mixer mixer;
std::array<ToolboxSlot, TOOLBOX_SLOTS> toolbox;
int activePatternId = 0;
Project();
Pattern *pattern(int id);
const Pattern *pattern(int id) const;
Pattern &activePattern();
};
/** Kotlin's Float.toString (JDK 17's algorithm), e.g. "120.0", "0.8", "1.0E-4":
* what Android writes into settings and files. */
std::string kotlinFloatToString(float v);
/** Buffer size for kotlinFloatToChars (at most 26 chars + NUL). */
inline constexpr int KOTLIN_FLOAT_CHARS = 32;
/** The same text written into [out] (KOTLIN_FLOAT_CHARS bytes), NUL-terminated;
* returns its length. No allocation: safe on the audio thread. */
int kotlinFloatToChars(float v, char *out);
} // namespace sizzle::model
+45
View File
@@ -0,0 +1,45 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <cstdlib>
#include <cstring>
#include "sizzle/Specs.hpp"
namespace sizzle {
/**
* A device's settings, the C++ twin of ToolboxSlot's string map: every value is
* kept as text so `f()` / `s()` read exactly what the Kotlin `slot.float()` /
* `slot.string()` would. Fixed capacity, no allocation: safe to read from
* `Effect::update` on the audio thread. Keys are stored by copy, so values can
* come from a file (tests), a preset, or AU parameters.
*/
class Params {
public:
static constexpr int kMax = 128;
static constexpr int kKeyLen = 32;
static constexpr int kValLen = 256; // sample ids and file paths
/** All of [spec]'s defaults, like ToolboxSlot.fill(). */
void fill(const DeviceSpec &spec);
void set(const char *key, const char *value);
void set(const char *key, float value);
/** Number as Kotlin's String.toFloat would parse it, else [fallback]. */
float f(const char *key, float fallback = 0.f) const;
/** The stored text (enum choice name), else [fallback]. */
const char *s(const char *key, const char *fallback = "") const;
bool has(const char *key) const { return find(key) >= 0; }
/** Stored entries in insertion order (for saving state). */
int size() const { return n_; }
const char *keyAt(int i) const { return keys_[i]; }
const char *valueAt(int i) const { return vals_[i]; }
private:
int find(const char *key) const;
char keys_[kMax][kKeyLen] = {};
char vals_[kMax][kValLen] = {};
int n_ = 0;
};
} // namespace sizzle
+45
View File
@@ -0,0 +1,45 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
// SampleStore.Sample (SampleStore.kt): decoded mono PCM at its own rate, shared by
// the Sampler / SoundFont voice (core/src/sampler) and the Grain Cloud's custom
// source (core/src/echofield).
#include <atomic>
#include <utility>
#include <vector>
namespace sizzle {
struct Sample {
std::vector<float> data;
int sampleRate = 0;
/** Sample-loop points in frames (from an SF2/XI file), or -1 when the source has
* none; the SoundFont voice uses them for sustain looping. */
int loopStart = -1;
int loopEnd = -1;
/** Players currently holding this sample across audio blocks (SampleVoice pins
* it from noteOn until it lets go). sampler::SampleStore frees a removed sample
* only once this is 0, which is what "a voice keeps its own reference" means in
* the Kotlin. Not copied: a copy is a new, unpinned sample. */
mutable std::atomic<int> users{0};
Sample() = default;
Sample(std::vector<float> d, int rate, int ls = -1, int le = -1)
: data(std::move(d)), sampleRate(rate), loopStart(ls), loopEnd(le) {}
Sample(const Sample &o)
: data(o.data), sampleRate(o.sampleRate), loopStart(o.loopStart), loopEnd(o.loopEnd) {}
Sample(Sample &&o) noexcept
: data(std::move(o.data)), sampleRate(o.sampleRate), loopStart(o.loopStart), loopEnd(o.loopEnd) {}
Sample &operator=(const Sample &o) {
data = o.data; sampleRate = o.sampleRate; loopStart = o.loopStart; loopEnd = o.loopEnd;
return *this;
}
Sample &operator=(Sample &&o) noexcept {
data = std::move(o.data); sampleRate = o.sampleRate; loopStart = o.loopStart; loopEnd = o.loopEnd;
return *this;
}
};
} // namespace sizzle
+43
View File
@@ -0,0 +1,43 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
// Plain descriptions of Sizzle's devices and their parameters. The tables
// themselves are generated from the Android app (DeviceSpecs.gen.hpp).
namespace sizzle {
enum class Kind { Instrument, Effect };
/** One parameter, as ToolboxType's ParamSpec: choices != nullptr marks an enum
* (nullptr-terminated list of names; the default is an index into it). */
struct ParamSpec {
const char *key;
const char *label;
float def, min, max;
bool isInt;
const char *const *choices;
bool isEnum() const { return choices != nullptr; }
int choiceCount() const { int n = 0; if (choices) while (choices[n]) ++n; return n; }
};
struct DeviceSpec {
const char *type; // ToolboxType name, e.g. "BITCRUSHER"
const char *displayName;
Kind kind;
const ParamSpec *params;
int paramCount;
};
/** A factory preset: the device it belongs to, its name, and the slot's full
* settings as nullptr-terminated key/value text pairs. */
struct FactoryPreset {
const char *type;
const char *name;
const char *const *values;
};
/** The device with ToolboxType name [type], or nullptr. */
const DeviceSpec *findDevice(const char *type);
} // namespace sizzle
+57
View File
@@ -0,0 +1,57 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
// The hook the reference tests use to play a note script through one instrument
// voice (see IosGoldenInstruments.kt and tests/golden_test.cpp). Each instrument
// port provides its maker (strong definition) in its own source file; the weak
// placeholders in src/TestVoices.cpp return nullptr for kinds not ported yet.
#include <memory>
#include "sizzle/Params.hpp"
namespace sizzle {
class TestVoice {
public:
virtual ~TestVoice() = default;
/** Called before each block of [frames] (AudioEngine advances shared clocks
* such as the Morph Pad's FrasilClock here). */
virtual void blockStart(int frames) { (void)frames; }
virtual void noteOn(int midi, int velocity) = 0;
virtual void noteOff(int midi) = 0;
virtual float render() = 0;
};
struct TestVoiceSetup {
const char *type; // ToolboxType name, e.g. "MORPH_PAD"
const Params *params; // the slot's values
int sampleRate;
float tempoBpm;
double clock0; // FrasilClock.seconds when the scenario started
// kind "SAMPLE": the test sample (mono), its rate and loop points (-1 = none)
const float *sample = nullptr;
int sampleLength = 0;
int sampleRate2 = 0;
int loopStart = -1, loopEnd = -1;
// Kotlin's global seed counters right before the scenario built its voices
// (FrasilVoice, GrainCloud): a SynthVoice's Morph Pad voice takes the next
// Frasil seed, then the FRASIL kind's voice, then the GrainCloud the next grain one.
uint32_t frasilSeeds = 0, grainSeeds = 0;
};
/** kind "SYNTH": SynthVoice with the engine's patch for [setup.type]. */
std::unique_ptr<TestVoice> makeSynthTestVoice(const TestVoiceSetup &setup);
/** kind "FRASIL": FrasilVoice alone (Morph Pad). */
std::unique_ptr<TestVoice> makeFrasilTestVoice(const TestVoiceSetup &setup);
/** kind "WAVE": WaveVoice alone (Wavetable). */
std::unique_ptr<TestVoice> makeWaveTestVoice(const TestVoiceSetup &setup);
/** kind "GRAIN": GrainCloud (Grain Cloud), notes owned by live input. */
std::unique_ptr<TestVoice> makeGrainTestVoice(const TestVoiceSetup &setup);
/** kind "SAMPLE": SampleVoice with the engine's voiceSample() settings for
* [setup.type] (SAMPLER: pads by note; SOUNDFONT: sfRoot, envelope, loop). */
std::unique_ptr<TestVoice> makeSampleTestVoice(const TestVoiceSetup &setup);
std::unique_ptr<TestVoice> makeTestVoice(const char *kind, const TestVoiceSetup &setup);
} // namespace sizzle