We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e60678 + 2d15db3 commit 0af3cbaCopy full SHA for 0af3cba
libraries/AnalogWave/examples/DACEqualTemperedScale/DACEqualTemperedScale.ino
@@ -8,7 +8,7 @@
8
a formula for converting MIDI note numbers (0-127) to pitches. This sketch
9
reduces that to the notes 21 - 108, which are the 88 keys found on a piano:
10
11
- frequency = 440 * ((noteNumber - 69) / 12.0)^2
+ frequency = 440 * 2^((noteNumber - 69) / 12.0)
12
13
You can see this applied in the code below.
14
0 commit comments