#pragma once

// Note durations in milliseconds

#define _N01 1600 
#define _N02 800  
#define _N04 400  
#define _N08 200  
#define _N16 100  

// Tone frequencies

#define _C3  130
#define _Db3 138
#define _D3  146
#define _Eb3 155
#define _E3  164
#define _F3  174
#define _Gb3 185
#define _G3  196
#define _Ab3 207
#define _A3  220
#define _Bb3 233
#define _B3  246

#define _C4  261
#define _Db4 277
#define _D4  293
#define _Eb4 311
#define _E4  329
#define _F4  349
#define _Gb4 369
#define _G4  392
#define _Ab4 415
#define _A4  440
#define _Bb4 466
#define _B4  493

#define _C5  523
#define _Db5 544
#define _D5  587
#define _Eb5 622
#define _E5  659
#define _F5  698
#define _Gb5 739
#define _G5  783
#define _Ab5 830
#define _A5  880
#define _Bb5 932
#define _B5  987

#define _C6  1046
#define _Db6 1108
#define _D6  1174
#define _Eb6 1244
#define _E6  1318
#define _F6  1396
#define _Gb6 1479
#define _G6  1567
#define _Ab6 1661
#define _A6  1760
#define _Bb6 1864
#define _B6  1975

#define _C7  2093
#define _Db7 2217
#define _D7  2349
#define _Eb7 2489
#define _E7  2637
#define _F7  2794
#define _Gb7 2960
#define _G7  3136
#define _Ab7 3322
#define _A7  3520
#define _Bb7 3729
#define _B7  3951

