![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
keypad piano project
Dependencies: 4DGL-uLCD-SE SDFileSystem Speaker mbed wave_player
Fork of Beat_Demo_full_full by
Diff: wavfile.h
- Revision:
- 1:90c01826cdb8
diff -r 81b352a233ca -r 90c01826cdb8 wavfile.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wavfile.h Tue Dec 08 00:45:23 2015 +0000 @@ -0,0 +1,13 @@ +#ifndef WAVFILE_H +#define WAVFILE_H + +#include <stdio.h> +#include <inttypes.h> + +FILE * wavfile_open( const char *filename ); +void wavfile_write( FILE *file, short data[], int length ); +void wavfile_close( FILE * file ); + +#define WAVFILE_SAMPLES_PER_SECOND 4410//44100 + +#endif \ No newline at end of file