SM-26 synthesizer: initial implementation

This commit is contained in:
SM-26 2026-09-11 16:38:28 +02:00
commit 8734ac25f1
18 changed files with 2619 additions and 0 deletions

23
Source/Presets.h Normal file
View file

@ -0,0 +1,23 @@
#pragma once
#include "SynthParams.h"
namespace sm26 {
class PresetStore
{
public:
static const Preset* all();
static int count();
static const Preset* get(int index);
static int indexOf(const char* name);
static const Preset* findByIndex(int clampedIndex);
static String fullLabel(const Preset& p);
private:
static Preset* table();
};
} // namespace sm26