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.
Dependencies: mbed
SoundData.h
00001 #ifndef SOUNDDATA_H 00002 #define SOUNDDATA_H 00003 00004 /*const int sound_data_wel[5] = { 00005 *NOTE_C3,NOTE_C3,NOTE_C2,NOTE_C3,NOTE_C3,NOTE_C5,NOTE_C3, 00006 NOTE_C2,NOTE_C3,NOTE_C1,NOTE_C1,NOTE_C2,NOTE_C3,NOTE_C5, 00007 NOTE_C3,NOTE_C2,NOTE_C2,NOTE_C1,NOTE_C2,NOTE_C3,NOTE_C5, 00008 NOTE_C3,NOTE_C6,NOTE_C5,NOTE_C6,NOTE_C5,NOTE_C5,NOTE_C3,NOTE_C5 00009 };*/ 00010 00011 const int sound_data_menu[5] = { 00012 NOTE_A3,NOTE_B3,NOTE_C3,NOTE_D4,NOTE_E4 00013 }; 00014 00015 const int sound_dur_menu[5] = { 00016 10, 10, 10, 10, 10 00017 };//0.1s 00018 00019 const int sound_data_begin[3] = { 00020 1000, 1000, 1000 00021 }; 00022 00023 const int sound_dur_begin[3] = { 00024 2, 2, 2 00025 };//0.5s 00026 00027 const int sound_data_col[2] = { 00028 600, 100 00029 }; 00030 00031 const int sound_dur_col[2] = { 00032 8, 8 00033 };//0.125s 00034 00035 const int sound_data_vict[5] = { 00036 NOTE_F1,NOTE_F2,NOTE_F3,NOTE_F4,NOTE_F5 00037 }; 00038 00039 const int sound_dur_vict[5] = { 00040 8, 8, 8, 8, 8 00041 };//0.125s 00042 00043 const int sound_data_over[5] = { 00044 NOTE_F5,NOTE_F4,NOTE_F3,NOTE_F2,NOTE_F1 00045 }; 00046 00047 const int sound_dur_over[5] = { 00048 8, 8, 8, 8, 8 00049 };//0.125s 00050 00051 #endif 00052
Generated on Thu Jul 14 2022 12:45:25 by
1.7.2