summaryrefslogtreecommitdiffstats
path: root/quantum/audio/voices.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-21 00:37:45 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-21 00:37:45 -0400
commit73228f5e5d1d4cd31a46e5e93aa893a8f727e3b9 (patch)
treea2c07de2c28427d8114ebcdaa2df36cea4d1800b /quantum/audio/voices.h
parent2e60054951ce08e973c735991bd95390c6aa3842 (diff)
restructures audio, begins voicing
Diffstat (limited to 'quantum/audio/voices.h')
-rw-r--r--quantum/audio/voices.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/quantum/audio/voices.h b/quantum/audio/voices.h
new file mode 100644
index 0000000000..32135dac7f
--- /dev/null
+++ b/quantum/audio/voices.h
@@ -0,0 +1,21 @@
+#include <stdint.h>
+#include <stdbool.h>
+#include <avr/io.h>
+#include <util/delay.h>
+#include "musical_notes.h"
+#include "song_list.h"
+
+#ifndef VOICES_H
+#define VOICES_H
+
+float voice_envelope(float frequency);
+
+typedef enum {
+ default_voice,
+ butts_fader,
+ octave_crunch
+} voice_type;
+
+void set_voice(voice_type v);
+
+#endif \ No newline at end of file