skylark-qmk/quantum/beeps.h
2016-01-13 00:25:31 -05:00

15 lines
No EOL
336 B
C

#include <stdint.h>
#include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h>
bool playing_notes;
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);