MIDI/USB NOTE ON/OFF TO 62 OUTPUTS MAPPING


This unit responds to the default range of 62 MIDI notes from 36(C2) to 97(C#7). However any consecutive 62 note MIDI range can be pre-programmed into the unit on request. The 62 outputs, on the Arduino Mega, start at Digital Pin D8 and continue consecutively to pin D69. (Note that Analog In Pins A0 to A15 are configured as digital outputs D54 to D69, respectively.)

 DIGITAL

OUTPUT

 ARDUINO

PIN

 MIDI

 NUMBER 

 PITCH

NOTE

1 8 36 C2
2 9 37 C#2
3 10 38 D2
4 11 39 D#2
5 12 40 E2
6 13 41 F2
7 14 42 F#2
8 15 43 G2
9 16 44 G#2
10 17 45 A2
11 18 46 A#2
12 19 47 B2
13 20 48 C3
14 21 49 C#3
15 22 50 D3
16 23 51 D#3
17 24 52 E3
18 25 53 F3
19 26 54 F#3
20 27 55 G3
21 28 56 G#3
22 29 57 A3
23 30 58 A#3
24 31 59 B3
25 32 60 C4
26 33 61 C#4
27 34 62 D4
28 35 63 D#4
29 36 64 E4
30 37 65 F4
31 38 66 F#4
32 39 67 G4
33 40 68 G#4
34 41 69 A4
35 42 70 A#4
36 43 71 B4
37 44 72 C5
38 45 73 C#5
39 46 74 D5
40 47 75 D#5
41 48 76 E5
42 49 77 F5
43 50 78 F#5
44 51 79 G5
45 52 80 G#5
46 53 81 A5
47 54(A0) 82 A#5
48 55(A1) 83 B5
49 56(A2) 84 C6
50 57(A3) 85 C#6
51 58(A4) 86 D6
52 59(A5) 87 D#6
53 60(A6) 88 E6
54 61(A7) 89 F6
55 62(A8) 90 F#6
56 63(A9) 91 G6
57 64(A10) 92 G#6
58 65(A11) 93 A6
59 66(A12) 94 A#6
60 67(A13) 95 B6
61 68(A14) 96 C7
62 69(A15) 97 C#7