Skip to content

Instantly share code, notes, and snippets.

@knielsen
Created May 25, 2017 20:11
Show Gist options
  • Save knielsen/b6112660794069380d1000cbb83036b2 to your computer and use it in GitHub Desktop.
Save knielsen/b6112660794069380d1000cbb83036b2 to your computer and use it in GitHub Desktop.
27 -> F=440.0
255*((long)((float)t*F[midi_node])%2)
unsigned long old_t;
loop() {
local_t = t;
while (local_t == old_t) {
local_t = t;
}
leftAudio = local_t&local_t>>8;
old_t = local_t;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment