[feat]: Filter (#18)

closes #16

Reviewed-on: #18
This commit is contained in:
2023-09-10 00:56:47 +03:00
parent 868a59da0e
commit bb3ccc296a
22 changed files with 372 additions and 48 deletions

View File

@@ -2,6 +2,7 @@
#include "OscillatorType.h"
#include "raygui.h"
#include <vector>
#include "Filter.h"
struct OscillatorGuiState {
float volume;
@@ -18,7 +19,15 @@ struct ADSRGuiState {
float release;
};
struct FilterGuiState {
float freq;
float res; //todo: res
FilterType type;
bool is_dropdown_open;
};
struct SynthGuiState {
std::vector<OscillatorGuiState*> oscillators;
ADSRGuiState adsr;
FilterGuiState filter;
};