mirror of
https://codeberg.org/armin/sm-26.git
synced 2026-10-12 01:11:53 +02:00
SM-26 synthesizer: initial implementation
This commit is contained in:
commit
8734ac25f1
18 changed files with 2619 additions and 0 deletions
23
Source/Presets.h
Normal file
23
Source/Presets.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue