diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-04-16 21:31:40 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-16 21:31:40 -0400 |
| commit | 41cc35425ab32c9a9492006da8b667d01d32dfa6 (patch) | |
| tree | 23813e84df2687694ba82adf416f59a9e52e89b9 /quantum/audio.h | |
| parent | 8f4ce501eb41cdd195d61e05c7e9dbe54545e6b9 (diff) | |
| download | qmk_firmware-41cc35425ab32c9a9492006da8b667d01d32dfa6.tar.gz qmk_firmware-41cc35425ab32c9a9492006da8b667d01d32dfa6.zip | |
rests between notes as an argument
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); |
