aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/audio/audio.h
diff options
context:
space:
mode:
authorStephan Bösebeck <stephan.boesebeck@holidayinsider.com>2016-05-04 08:03:25 +0200
committerStephan Bösebeck <stephan.boesebeck@holidayinsider.com>2016-05-04 08:03:25 +0200
commit660511f05007b7299a8ceceba02d92ab33574ce1 (patch)
treea36d0f69f87f0045f5a3c015ddd632cba3c0e37c /quantum/audio/audio.h
parent507db3ab13b7d058e683a6729f81ee214c1a4f17 (diff)
parent31a697bc054c97c5ef168c5fd4633bb247cc5d7b (diff)
downloadfirmware-660511f05007b7299a8ceceba02d92ab33574ce1.tar.gz
firmware-660511f05007b7299a8ceceba02d92ab33574ce1.tar.bz2
firmware-660511f05007b7299a8ceceba02d92ab33574ce1.zip
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/audio/audio.h')
-rw-r--r--quantum/audio/audio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/quantum/audio/audio.h b/quantum/audio/audio.h
index 89769507e..3d706587a 100644
--- a/quantum/audio/audio.h
+++ b/quantum/audio/audio.h
@@ -56,7 +56,7 @@ void increase_polyphony_rate(float change);
void decrease_polyphony_rate(float change);
void set_timbre(float timbre);
-void set_tempo(float tempo);
+void set_tempo(uint8_t tempo);
void increase_tempo(uint8_t tempo_change);
void decrease_tempo(uint8_t tempo_change);
@@ -83,7 +83,11 @@ void play_notes(float (*np)[][2], uint16_t n_count, bool n_repeat, float n_rest)
#define NOTE_ARRAY_SIZE(x) ((int16_t)(sizeof(x) / (sizeof(x[0]))))
#define PLAY_NOTE_ARRAY(note_array, note_repeat, note_rest_style) play_notes(&note_array, NOTE_ARRAY_SIZE((note_array)), (note_repeat), (note_rest_style));
+
+bool is_playing_notes(void);
void play_goodbye_tone(void);
void play_startup_tone(void);
+
+
#endif \ No newline at end of file