summaryrefslogtreecommitdiffstats
path: root/quantum/audio.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-17 10:56:12 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-17 10:56:12 -0400
commit319fbe344b81081ced4c44792a7b868d5400edbb (patch)
treee3376fab9de0e2ffa107568151601156ea7ccc9d /quantum/audio.h
parenta67d425f4d5278595e7ab785a0f246b83fb1a09f (diff)
parent29e495be2a57d1eb41699909b204c12ac6bc4c0e (diff)
Merge branch 'personal_atomic_planck' of github.com:IBNobody/qmk_firmware
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 e1bc23ffed..3aba8370ac 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);
#define SCALE (int []){ 0 + (12*0), 2 + (12*0), 4 + (12*0), 5 + (12*0), 7 + (12*0), 9 + (12*0), 11 + (12*0), \
0 + (12*1), 2 + (12*1), 4 + (12*1), 5 + (12*1), 7 + (12*1), 9 + (12*1), 11 + (12*1), \