Writing a Guitar Tuner "App" in ~150 lines of C++ using SDL2
Автор: ThePsychotenuse
Загружено: 2023-07-16
Просмотров: 4621
In this video I write a C++ program that records microphone audio using the SDL (Simple Directmedia Layer) library, performs an FFT (Fast Fourier Transform) on it, and finally "plots" an octave-wrapped spectral histogram by printing characters to the console. The program also prints a string of note names at the top of the screen, so it can be used as a guitar tuner by aligning spectral peaks with note names.
My first attempt at a "Live Coding" style video... man, this is HARD.
I edited out a very large number of 'uuumm's and 'so basically...'s, but that only goes so far in making me appear coherent :P
BTW I know I say 'array' weird.
Also, sorry about the audio quality. OBS or Windows did some weird auto gain thing, I think :/
Simplified code from this video: https://drive.google.com/file/d/1wplw...
The full program: https://github.com/RandomVertebrate/c...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: