A2 [--------|*--------] +3 cents
Play a note. It tells you the name and how many cents you're off.
| piece | using |
|---|---|
| 🟦 language | C++20 |
| 🛠️ build | CMake 3.20+ |
| 🎙️ audio | miniaudio 0.11.25 |
| 🎵 pitch | YIN |
| ⚡ threads | SPSC ring buffer, std::atomic, no mutex on the audio path |
cmake -S . -B build
cmake --build build
ctest --test-dir build --output-on-failureRun build/fifths (Windows: build/Debug/fifths.exe). Play a note; quit with ctrl+c. Windows may ask for mic permission the first time.