aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/audio.h
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-04-17 02:52:38 -0500
committerIBNobody <ibnobody@gmail.com>2016-04-17 02:52:38 -0500
commit29e495be2a57d1eb41699909b204c12ac6bc4c0e (patch)
tree912f259fd1e7975798031119ef78407631e54f50 /quantum/audio.h
parent943b5b770955be937a89016680052be56d874c4a (diff)
downloadfirmware-29e495be2a57d1eb41699909b204c12ac6bc4c0e.tar.gz
firmware-29e495be2a57d1eb41699909b204c12ac6bc4c0e.tar.bz2
firmware-29e495be2a57d1eb41699909b204c12ac6bc4c0e.zip
Added trimble and tempo adjustments!
Diffstat (limited to 'quantum/audio.h')
-rw-r--r--quantum/audio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/quantum/audio.h b/quantum/audio.h
index 762c98064..8012aa6bf 100644
--- a/quantum/audio.h
+++ b/quantum/audio.h
@@ -24,8 +24,12 @@ void play_note(double freq, int vol);
void stop_note(double freq);
void stop_all_notes(void);
void init_notes(void);
-void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat, float n_rest);
+void play_notes(float (*np)[][2], uint8_t n_count, bool n_repeat, float n_rest);
+void set_timbre(float timbre);
+void set_tempo(float tempo);
+void increase_tempo(uint8_t tempo_change);
+void decrease_tempo(uint8_t tempo_change);
// These macros are used to allow play_notes to play an array of indeterminate
// length. This works around the limitation of C's sizeof operation on pointers.