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.
Music.h
- Committer:
- dpavetic
- Date:
- 2022-11-27
- Revision:
- 0:430445550a2f
File content as of revision 0:430445550a2f:
#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