
How to vibe code your very own instrument tuner app in 3 minutes
Join the vibe of coding with AI and Amazon Q CLI to build your own instrument tuner and learn how easy is to create a Python app with Fourier Transform.
Vinicius Senger
Amazon Employee
Published Apr 2, 2025
Fourier Transform algorithms show up all over the place: in image recognition, instrument tuners, signal processing in complex medical devices, machine learning algorithms, cryptography, and more. But how exactly do they work - and why are they so useful in so many contexts?
To learn about Fourier Transform in a practical and fun way, we will build an application that uses a Fast Fourier Transform (FFT) algorithm to detect musical notes using your computer microphone and show the frequency chart: all in a couple minutes vibe coding with Amazon Q CLI.
I started Amazon Q CLI in the termin typing q chat and then did the following prompt:
create a python program that calculates fourier transform using my laptop's mic as input to detect the notes A, B, C, D, E, F, G in the frequency to tune my guitar
Amazon Q CLI analyzed my Python environment and dependencies, and it clearly demonstrated how helpful the agent is—especially when dealing with issues related to Homebrew. In the video below, you can see how it performed and generated the Python code for us:
And here is the complete code result:
Amazon Q CLI is just the beginning of the disruptive transformation on how we operate computers and I feel lucky to be alive to see it happen... Let's surf this big wave with AI, coding and a lot good vibes: cheers!
@SiliconVini
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.