|
C4EV3
|
Macros | |
| #define | TONE_C2 65 |
| #define | TONE_CS2 69 |
| #define | TONE_D2 73 |
| #define | TONE_DS2 78 |
| #define | TONE_E2 82 |
| #define | TONE_F2 87 |
| #define | TONE_FS2 92 |
| #define | TONE_G2 98 |
| #define | TONE_GS2 104 |
| #define | TONE_A2 110 |
| #define | TONE_AS2 117 |
| #define | TONE_B2 123 |
| #define | TONE_C3 131 |
| #define | TONE_CS3 139 |
| #define | TONE_D3 147 |
| #define | TONE_DS3 156 |
| #define | TONE_E3 165 |
| #define | TONE_F3 175 |
| #define | TONE_FS3 185 |
| #define | TONE_G3 196 |
| #define | TONE_GS3 208 |
| #define | TONE_A3 220 |
| #define | TONE_AS3 233 |
| #define | TONE_B3 247 |
| #define | TONE_C4 262 |
| #define | TONE_CS4 277 |
| #define | TONE_D4 294 |
| #define | TONE_DS4 311 |
| #define | TONE_E4 330 |
| #define | TONE_F4 349 |
| #define | TONE_FS4 370 |
| #define | TONE_G4 392 |
| #define | TONE_GS4 415 |
| #define | TONE_A4 440 |
| #define | TONE_AS4 466 |
| #define | TONE_B4 494 |
| #define | TONE_C5 523 |
| #define | TONE_CS5 554 |
| #define | TONE_D5 587 |
| #define | TONE_DS5 622 |
| #define | TONE_E5 659 |
| #define | TONE_F5 698 |
| #define | TONE_FS5 740 |
| #define | TONE_G5 784 |
| #define | TONE_GS5 831 |
| #define | TONE_A5 880 |
| #define | TONE_AS5 932 |
| #define | TONE_B5 988 |
| #define | TONE_C6 1047 |
| #define | TONE_CS6 1109 |
| #define | TONE_D6 1175 |
| #define | TONE_DS6 1245 |
| #define | TONE_E6 1319 |
| #define | TONE_F6 1397 |
| #define | TONE_FS6 1480 |
| #define | TONE_G6 1568 |
| #define | TONE_GS6 1661 |
| #define | TONE_A6 1760 |
| #define | TONE_AS6 1865 |
| #define | TONE_B6 1976 |
| #define | TONE_C7 2093 |
| #define | TONE_CS7 2217 |
| #define | TONE_D7 2349 |
| #define | TONE_DS7 2489 |
| #define | TONE_E7 2637 |
| #define | TONE_F7 2794 |
| #define | TONE_FS7 2960 |
| #define | TONE_G7 3136 |
| #define | TONE_GS7 3322 |
| #define | TONE_A7 3520 |
| #define | TONE_AS7 3729 |
| #define | TONE_B7 3951 |
| #define | NOTE_WHOLE 1000 |
| #define | NOTE_HALF (NOTE_WHOLE/2) |
| #define | NOTE_QUARTER (NOTE_WHOLE/4) |
| #define | NOTE_EIGHT (NOTE_WHOLE/8) |
| #define | NOTE_SIXTEEN (NOTE_WHOLE/16) |
Constants for use in the PlayTone() API function.
| #define NOTE_EIGHT (NOTE_WHOLE/8) |
The duration of an eighth note (ms)
| #define NOTE_HALF (NOTE_WHOLE/2) |
The duration of a half note (ms)
| #define NOTE_QUARTER (NOTE_WHOLE/4) |
The duration of a quarter note (ms)
| #define NOTE_SIXTEEN (NOTE_WHOLE/16) |
The duration of an sixteenth note (ms)
| #define NOTE_WHOLE 1000 |
The duration of a whole note (ms)
| #define TONE_A2 110 |
Second octave A
| #define TONE_A3 220 |
Third octave A
| #define TONE_A4 440 |
Fourth octave A
| #define TONE_A5 880 |
Fifth octave A
| #define TONE_A6 1760 |
Sixth octave A
| #define TONE_A7 3520 |
Seventh octave A
| #define TONE_AS2 117 |
Second octave A sharp
| #define TONE_AS3 233 |
Third octave A sharp
| #define TONE_AS4 466 |
Fourth octave A sharp
| #define TONE_AS5 932 |
Fifth octave A sharp
| #define TONE_AS6 1865 |
Sixth octave A sharp
| #define TONE_AS7 3729 |
Seventh octave A sharp
| #define TONE_B2 123 |
Second octave B
| #define TONE_B3 247 |
Third octave B
| #define TONE_B4 494 |
Fourth octave B
| #define TONE_B5 988 |
Fifth octave B
| #define TONE_B6 1976 |
Sixth octave B
| #define TONE_B7 3951 |
Seventh octave B
| #define TONE_C2 65 |
Second octave C
| #define TONE_C3 131 |
Third octave C
| #define TONE_C4 262 |
Fourth octave C
| #define TONE_C5 523 |
Fifth octave C
| #define TONE_C6 1047 |
Sixth octave C
| #define TONE_C7 2093 |
Seventh octave C
| #define TONE_CS2 69 |
Second octave C sharp
| #define TONE_CS3 139 |
Third octave C sharp
| #define TONE_CS4 277 |
Fourth octave C sharp
| #define TONE_CS5 554 |
Fifth octave C sharp
| #define TONE_CS6 1109 |
Sixth octave C sharp
| #define TONE_CS7 2217 |
Seventh octave C sharp
| #define TONE_D2 73 |
Second octave D
| #define TONE_D3 147 |
Third octave D
| #define TONE_D4 294 |
Fourth octave D
| #define TONE_D5 587 |
Fifth octave D
| #define TONE_D6 1175 |
Sixth octave D
| #define TONE_D7 2349 |
Seventh octave D
| #define TONE_DS2 78 |
Second octave D sharp
| #define TONE_DS3 156 |
Third octave D sharp
| #define TONE_DS4 311 |
Fourth octave D sharp
| #define TONE_DS5 622 |
Fifth octave D sharp
| #define TONE_DS6 1245 |
Sixth octave D sharp
| #define TONE_DS7 2489 |
Seventh octave D sharp
| #define TONE_E2 82 |
Second octave E
| #define TONE_E3 165 |
Third octave E
| #define TONE_E4 330 |
Fourth octave E
| #define TONE_E5 659 |
Fifth octave E
| #define TONE_E6 1319 |
Sixth octave E
| #define TONE_E7 2637 |
Seventh octave E
| #define TONE_F2 87 |
Second octave F
| #define TONE_F3 175 |
Third octave F
| #define TONE_F4 349 |
Fourth octave F
| #define TONE_F5 698 |
Fifth octave F
| #define TONE_F6 1397 |
Sixth octave F
| #define TONE_F7 2794 |
Seventh octave F
| #define TONE_FS2 92 |
Second octave F sharp
| #define TONE_FS3 185 |
Third octave F sharp
| #define TONE_FS4 370 |
Fourth octave F sharp
| #define TONE_FS5 740 |
Fifth octave F sharp
| #define TONE_FS6 1480 |
Sixth octave F sharp
| #define TONE_FS7 2960 |
Seventh octave F sharp
| #define TONE_G2 98 |
Second octave G
| #define TONE_G3 196 |
Third octave G
| #define TONE_G4 392 |
Fourth octave G
| #define TONE_G5 784 |
Fifth octave G
| #define TONE_G6 1568 |
Sixth octave G
| #define TONE_G7 3136 |
Seventh octave G
| #define TONE_GS2 104 |
Second octave G sharp
| #define TONE_GS3 208 |
Third octave G sharp
| #define TONE_GS4 415 |
Fourth octave G sharp
| #define TONE_GS5 831 |
Fifth octave G sharp
| #define TONE_GS6 1661 |
Sixth octave G sharp
| #define TONE_GS7 3322 |
Seventh octave G sharp
1.8.6