Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Music.h
- Revision:
- 0:430445550a2f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Music.h Sun Nov 27 10:36:47 2022 +0000 @@ -0,0 +1,23 @@ +#ifndef MUSIC_H +#define MUSIC_H + +#define JINGLE_BELLS_SIZE 49 +#define WISH_SIZE 52 +#define SILENT_NIGHT_SIZE 46 + +// Jingle Bells +extern float jingle_bells_tempo; +extern int jingle_bells_melody[JINGLE_BELLS_SIZE]; +extern float jingle_bells_note_durations[JINGLE_BELLS_SIZE]; + +// We wish you a merry Christmas +extern float wish_tempo; +extern int wish_melody[WISH_SIZE]; +extern float wish_note_durations[WISH_SIZE]; + +// Silent night +extern float silent_night_tempo; +extern int silent_night_melody[SILENT_NIGHT_SIZE]; +extern float silent_night_note_durations[SILENT_NIGHT_SIZE]; + +#endif \ No newline at end of file