feat(params): add parameters, macros, RAVE controls and resources

This commit is contained in:
2026-09-08 14:55:22 +02:00
parent a9abca9e15
commit 0a94208d0f
12 changed files with 1198 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#pragma once
#include <JuceHeader.h>
#include "../Params.h"
#include "../ModulationMatrix.h"
namespace serum
{
// ===========================================================================
// A factory preset: a name plus a sparse map of parameter values, modulation
// connections and macro assignments. Unset parameters keep their defaults.
// ===========================================================================
struct FactoryPreset
{
juce::String name;
std::vector<std::pair<const char*, float>> params;
std::vector<ModConnection> mods;
struct MacroAssign
{
int macro = 0;
ModTarget target = ModTarget::None;
float depth = 0.0f;
};
std::vector<MacroAssign> macroAssigns;
};
// All 16 factory presets, in program order.
const std::vector<FactoryPreset>& getFactoryPresets();
} // namespace serum