Zeyu Feng 201377605

Dependencies:   mbed

On Minerva

Interface/SoundData.h

Committer:
el19zf
Date:
2020-05-22
Revision:
22:cded0cd8e1c9
Parent:
19:5083339b55e8

File content as of revision 22:cded0cd8e1c9:

#ifndef SOUNDDATA_H
#define SOUNDDATA_H

/*const int sound_data_wel[5] = {
    *NOTE_C3,NOTE_C3,NOTE_C2,NOTE_C3,NOTE_C3,NOTE_C5,NOTE_C3,
    NOTE_C2,NOTE_C3,NOTE_C1,NOTE_C1,NOTE_C2,NOTE_C3,NOTE_C5,
    NOTE_C3,NOTE_C2,NOTE_C2,NOTE_C1,NOTE_C2,NOTE_C3,NOTE_C5,
    NOTE_C3,NOTE_C6,NOTE_C5,NOTE_C6,NOTE_C5,NOTE_C5,NOTE_C3,NOTE_C5
};*/

const int sound_data_menu[5] = {
    NOTE_A3,NOTE_B3,NOTE_C3,NOTE_D4,NOTE_E4
};

const int sound_dur_menu[5] = {
      10,     10,     10,     10,     10
};//0.1s 

const int sound_data_begin[3] = {
    1000,   1000,   1000
};

const int sound_dur_begin[3] = {
     2,     2,     2
};//0.5s

const int sound_data_col[2] = {
    600,   100
};

const int sound_dur_col[2] = {
     8,     8
};//0.125s

const int sound_data_vict[5] = {
    NOTE_F1,NOTE_F2,NOTE_F3,NOTE_F4,NOTE_F5
};

const int sound_dur_vict[5] = {
      8,      8,       8,      8,      8
};//0.125s

const int sound_data_over[5] = {
    NOTE_F5,NOTE_F4,NOTE_F3,NOTE_F2,NOTE_F1
};

const int sound_dur_over[5] = {
      8,      8,       8,      8,      8
};//0.125s

#endif