User Tools


Musical Note PWM Table

The table below shows the pwm commands to play a range of musical notes on the Wahoo speaker. See Peripherals, Speaker.

C3 is the lowest note that can be played. Notes above G6 cannot be played accurately.

Note Freq command
C3 130.81
pwm 13 501 501
C#3/Db3 138.59
pwm 13 473 473
D3 146.83
pwm 13 446 446
D#3/Eb3 155.56
pwm 13 421 421
E3 164.81
pwm 13 398 398
F3 174.61
pwm 13 375 375
F#3/Gb3 185.00
pwm 13 354 354
G3 196.00
pwm 13 334 334
G#3/Ab3 207.65
pwm 13 316 316
A3 220.00
pwm 13 298 298
A#3/Bb3 233.08
pwm 13 281 281
B3 246.94
pwm 13 265 265
C4 261.63
pwm 13 250 250
C#4/Db4 277.18
pwm 13 236 236
D4 293.66
pwm 13 223 223
D#4/Eb4 311.13
pwm 13 211 211
E4 329.63
pwm 13 199 199
F4 349.23
pwm 13 188 188
F#4/Gb4 369.99
pwm 13 177 177
G4 392.00
pwm 13 167 167
G#4/Ab4 415.30
pwm 13 158 158
A4 440.00
pwm 13 149 149
A#4/Bb4 466.16
pwm 13 141 141
B4 493.88
pwm 13 133 133
C5 523.25
pwm 13 125 125
C#5/Db5 554.37
pwm 13 118 118
D5 587.33
pwm 13 112 112
D#5/Eb5 622.25
pwm 13 105 105
E5 659.25
pwm 13  99  99
F5 698.46
pwm 13  94  94
F#5/Gb5 739.99
pwm 13  89  89
G5 783.99
pwm 13  84  84
G#5/Ab5 830.61
pwm 13  79  79
A5 880.00
pwm 13  74  74
A#5/Bb5 932.33
pwm 13  70  70
B5 987.77
pwm 13  66  66
C6 1046.50
pwm 13  63  63
C#6/Db6 1108.73
pwm 13  59  59
D6 1174.66
pwm 13  56  56
D#6/Eb6 1244.51
pwm 13  53  53
E6 1318.51
pwm 13  50  50
F6 1396.91
pwm 13  47  47
F#6/Gb6 1479.98
pwm 13  44  44
G6 1567.98
pwm 13  42  42