[feature]: ADSR (#15)

closes #14

Reviewed-on: #15
This commit is contained in:
2023-09-06 11:29:46 +03:00
parent 64fa6396bc
commit c50a8335d7
20 changed files with 444 additions and 140 deletions

View File

@@ -11,6 +11,14 @@ struct OscillatorGuiState {
Rectangle shape_dropdown_rect;
};
struct ADSRGuiState {
float attack;
float decay;
float sustain;
float release;
};
struct SynthGuiState {
std::vector<OscillatorGuiState*> oscillators;
ADSRGuiState adsr;
};