horizont/Source/Presets.h

54 lines
1.9 KiB
C
Raw Permalink Normal View History

2026-08-10 12:55:02 +02:00
#pragma once
#include <vector>
struct Preset
{
const char* name;
struct ParamValue
{
const char* id;
float value;
};
std::vector<ParamValue> values;
};
inline const std::vector<Preset>& getPresets()
{
static const std::vector<Preset> presets =
{
{ "Studio Plate",
{ { "lowCut", 30.0f }, { "highCut", 16000.0f }, { "decay", 2.5f },
{ "size", 0.75f }, { "diffusion", 0.70f }, { "brightness", 0.80f },
{ "feedback", 0.25f }, { "pitch", 0.0f }, { "dryWet", 0.40f } } },
{ "Warm Hall",
{ { "lowCut", 60.0f }, { "highCut", 8000.0f }, { "decay", 4.5f },
{ "size", 1.25f }, { "diffusion", 0.60f }, { "brightness", 0.45f },
{ "feedback", 0.50f }, { "pitch", 0.0f }, { "dryWet", 0.45f } } },
{ "Big Cathedral",
{ { "lowCut", 40.0f }, { "highCut", 12000.0f }, { "decay", 8.5f },
{ "size", 1.9f }, { "diffusion", 0.75f }, { "brightness", 0.60f },
{ "feedback", 0.70f }, { "pitch", 0.0f }, { "dryWet", 0.55f } } },
{ "Shimmer Space",
{ { "lowCut", 45.0f }, { "highCut", 15000.0f }, { "decay", 6.0f },
{ "size", 1.5f }, { "diffusion", 0.65f }, { "brightness", 0.70f },
{ "feedback", 0.90f }, { "pitch", 7.0f }, { "dryWet", 0.60f } } },
{ "Dark Pulse",
{ { "lowCut", 80.0f }, { "highCut", 7000.0f }, { "decay", 3.0f },
{ "size", 0.9f }, { "diffusion", 0.50f }, { "brightness", 0.35f },
{ "feedback", 0.85f }, { "pitch", -5.0f }, { "dryWet", 0.50f } } },
{ "Tight Room",
{ { "lowCut", 90.0f }, { "highCut", 16000.0f }, { "decay", 0.6f },
{ "size", 0.5f }, { "diffusion", 0.55f }, { "brightness", 0.85f },
{ "feedback", 0.20f }, { "pitch", 0.0f }, { "dryWet", 0.30f } } }
};
return presets;
}