From eb61700912f1713ba27d34c23d7f07be66ee6513 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Wed, 20 Jan 2016 00:06:52 -0500 Subject: better integrations --- quantum/audio.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 quantum/audio.h (limited to 'quantum/audio.h') diff --git a/quantum/audio.h b/quantum/audio.h new file mode 100644 index 000000000..99203cea7 --- /dev/null +++ b/quantum/audio.h @@ -0,0 +1,11 @@ +#include +#include +#include +#include + +void play_sample(uint8_t * s, uint16_t l, bool r); +void play_note(double freq, int vol); +void stop_note(double freq); +void stop_all_notes(); +void init_notes(); +void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat); \ No newline at end of file -- cgit v1.2.3