Added array to state
This commit is contained in:
parent
3ce93a08bf
commit
db4a1312a9
25
state.h
25
state.h
@ -5,18 +5,23 @@
|
||||
#include "vco.h"
|
||||
|
||||
typedef struct {
|
||||
float clock_bpm;
|
||||
float vco_freq;
|
||||
union {
|
||||
struct {
|
||||
float clock_bpm;
|
||||
float vco_freq;
|
||||
float vco_volume;
|
||||
float filter_freq;
|
||||
float filter_resonance;
|
||||
float env1_attack;
|
||||
float env1_release;
|
||||
float env2_attack;
|
||||
float env2_release;
|
||||
float reverb_amount;
|
||||
};
|
||||
float array[10];
|
||||
};
|
||||
vco_mode_t vco_mode;
|
||||
float vco_volume;
|
||||
bool quant_enabled;
|
||||
float filter_freq;
|
||||
float filter_resonance;
|
||||
float env1_attack;
|
||||
float env1_release;
|
||||
float env2_attack;
|
||||
float env2_release;
|
||||
float reverb_amount;
|
||||
bool amen_enabled;
|
||||
} state_t;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user