]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/audio/voices.h
72f139e9cd10f40e1a1886fa4e84e54e1093def1
[qmk_firmware.git] / quantum / audio / voices.h
1 #include <stdint.h>
2 #include <stdbool.h>
3 #include <avr/io.h>
4 #include <util/delay.h>
5 #include "luts.h"
6
7 #ifndef VOICES_H
8 #define VOICES_H
9
10 float voice_envelope(float frequency);
11
12 typedef enum {
13     default_voice,
14     something,
15     drums,
16     butts_fader,
17     octave_crunch,
18     duty_osc,
19     duty_octave_down,
20     delayed_vibrato,
21     // delayed_vibrato_octave,
22     // duty_fifth_down,
23     // duty_fourth_down,
24     // duty_third_down,
25     // duty_fifth_third_down,
26     number_of_voices // important that this is last
27 } voice_type;
28
29 void set_voice(voice_type v);
30 void voice_iterate(void);
31 void voice_deiterate(void);
32
33 #endif