sint-gauntlet/state.h
2026-04-24 18:37:21 +02:00

30 lines
461 B
C

#pragma once
#include <stdint.h>
#include <stdbool.h>
#include "vco.h"
typedef struct {
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[16];
};
vco_mode_t vco_mode;
bool quant_enabled;
bool amen_enabled;
} state_t;
extern state_t state;