Skip to content

Instantly share code, notes, and snippets.

@jpcima
Created July 5, 2018 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpcima/62b163200b7c7f0987313413c48390f2 to your computer and use it in GitHub Desktop.
Save jpcima/62b163200b7c7f0987313413c48390f2 to your computer and use it in GitHub Desktop.
struct Operator
{
uint8_t AR = 0;
uint8_t DR = 0;
uint8_t SR = 0;
uint8_t RR = 0;
uint8_t SL = 0;
uint8_t TL = 0;
uint8_t KS = 0;
uint8_t ML = 0;
uint8_t DT = 0;
uint8_t AMS = 0;
};
struct Program
{
bool is_blank = true;
uint8_t ALG = 0;
uint8_t FB = 0;
uint8_t LFO = 0;
Operator op1;
Operator op2;
Operator op3;
Operator op4;
uint8_t key = 0;
uint16_t panpot = 0;
uint8_t assign = 0;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment