You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
313 B
C
11 lines
313 B
C
9 years ago
|
#include <stdint.h>
|
||
|
#include <stdbool.h>
|
||
|
#include <avr/io.h>
|
||
|
#include <util/delay.h>
|
||
|
|
||
9 years ago
|
void play_sample(uint8_t * s, uint16_t l, bool r);
|
||
9 years ago
|
void play_note(double freq, int vol);
|
||
|
void stop_note(double freq);
|
||
9 years ago
|
void stop_all_notes();
|
||
9 years ago
|
void init_notes();
|
||
9 years ago
|
void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat);
|