This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* https://onecompiler.com/cpp/3xhec63fj */ | |
#include <cstdint> | |
#include <cmath> | |
/* | |
Examples for converting between note numbers, frequencies, and Volts/octave. | |
If you're unfamiliar with MIDI note numbers, they are integers that | |
correspond to semitones (half steps). For example, MIDI note 12 is |