summaryrefslogtreecommitdiffstats
path: root/quantum/audio/voices.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-22 00:14:25 +0200
committerJack Humbert <jack.humb@gmail.com>2016-04-22 00:14:25 +0200
commit9828aba2a12f03fccbc1095bc8e4918ae58fa31b (patch)
tree9990820fa4f42650599b40527c94fe3e6c3f6a2d /quantum/audio/voices.h
parenta8fd65d86f1bb43a845555ee2ac4b588798684ad (diff)
downloadqmk_firmware-9828aba2a12f03fccbc1095bc8e4918ae58fa31b.tar.gz
qmk_firmware-9828aba2a12f03fccbc1095bc8e4918ae58fa31b.tar.xz
adds multiple voices and the ability to iterate/deiterate between them
Diffstat (limited to 'quantum/audio/voices.h')
-rw-r--r--quantum/audio/voices.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/quantum/audio/voices.h b/quantum/audio/voices.h
index 317f5d98c..44c5066b5 100644
--- a/quantum/audio/voices.h
+++ b/quantum/audio/voices.h
@@ -13,9 +13,13 @@ float voice_envelope(float frequency);
typedef enum {
default_voice,
butts_fader,
- octave_crunch
+ octave_crunch,
+ duty_osc,
+ number_of_voices // important that this is last
} voice_type;
void set_voice(voice_type v);
+void voice_iterate();
+void voice_deiterate();
#endif \ No newline at end of file