aboutsummaryrefslogtreecommitdiff
path: root/quantum/audio/voices.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/audio/voices.h')
-rw-r--r--quantum/audio/voices.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/quantum/audio/voices.h b/quantum/audio/voices.h
index 1cf33095a..0c45b0720 100644
--- a/quantum/audio/voices.h
+++ b/quantum/audio/voices.h
@@ -16,19 +16,19 @@
16#include <stdint.h> 16#include <stdint.h>
17#include <stdbool.h> 17#include <stdbool.h>
18#if defined(__AVR__) 18#if defined(__AVR__)
19 #include <avr/io.h> 19# include <avr/io.h>
20#endif 20#endif
21#include "wait.h" 21#include "wait.h"
22#include "luts.h" 22#include "luts.h"
23 23
24#ifndef VOICES_H 24#ifndef VOICES_H
25#define VOICES_H 25# define VOICES_H
26 26
27float voice_envelope(float frequency); 27float voice_envelope(float frequency);
28 28
29typedef enum { 29typedef enum {
30 default_voice, 30 default_voice,
31 #ifdef AUDIO_VOICES 31# ifdef AUDIO_VOICES
32 something, 32 something,
33 drums, 33 drums,
34 butts_fader, 34 butts_fader,
@@ -36,13 +36,13 @@ typedef enum {
36 duty_osc, 36 duty_osc,
37 duty_octave_down, 37 duty_octave_down,
38 delayed_vibrato, 38 delayed_vibrato,
39 // delayed_vibrato_octave, 39// delayed_vibrato_octave,
40 // duty_fifth_down, 40// duty_fifth_down,
41 // duty_fourth_down, 41// duty_fourth_down,
42 // duty_third_down, 42// duty_third_down,
43 // duty_fifth_third_down, 43// duty_fifth_third_down,
44 #endif 44# endif
45 number_of_voices // important that this is last 45 number_of_voices // important that this is last
46} voice_type; 46} voice_type;
47 47
48void set_voice(voice_type v); 48void set_voice(voice_type v);