diff options
Diffstat (limited to 'quantum/audio.h')
| -rw-r--r-- | quantum/audio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/audio.h b/quantum/audio.h index 58270015d..65a6f9434 100644 --- a/quantum/audio.h +++ b/quantum/audio.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #include <stdbool.h> | 2 | #include <stdbool.h> |
| 3 | #include <avr/io.h> | 3 | #include <avr/io.h> |
| 4 | #include <util/delay.h> | 4 | #include <util/delay.h> |
| 5 | #include "musical_notes.h" | ||
| 5 | 6 | ||
| 6 | typedef union { | 7 | typedef union { |
| 7 | uint8_t raw; | 8 | uint8_t raw; |
| @@ -20,4 +21,4 @@ void play_note(double freq, int vol); | |||
| 20 | void stop_note(double freq); | 21 | void stop_note(double freq); |
| 21 | void stop_all_notes(); | 22 | void stop_all_notes(); |
| 22 | void init_notes(); | 23 | void init_notes(); |
| 23 | void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat); | 24 | void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat, float n_rest); |
