Initial commit: RMX-19 rack sound module (VST3/AU) with dot-matrix LCD UI

This commit is contained in:
Armin 2026-09-07 21:03:31 +02:00
commit c72c0216fd
16 changed files with 2170 additions and 0 deletions

26
Source/PresetBank.h Normal file
View file

@ -0,0 +1,26 @@
#pragma once
#include "Params.h"
#include <juce_audio_processors/juce_audio_processors.h>
#include <vector>
struct Patch
{
const char* name;
const char* category;
float v[prm::num];
};
class PresetBank
{
public:
PresetBank();
int size() const noexcept { return (int) patches.size(); }
const Patch& get (int i) const { return patches[(size_t) i]; }
int findByName (const juce::String&) const;
void writeTo (int i, juce::AudioProcessorValueTreeState&) const;
private:
std::vector<Patch> patches;
};