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