A real-time FFT spectrum analyser built with JUCE. It captures live audio input and displays a frequency spectrum using a fast Fourier transform.
- JUCE - clone or download it to your machine
- A C++ compiler for your platform:
- Windows: Visual Studio 2019 or 2022/2026
- macOS: Xcode
- Linux: GCC/Clang +
make
-
Clone this repository:
git clone <repo-url> cd SpectrumAnalyser -
Clone JUCE alongside this project (or anywhere on your machine):
git clone https://github.com/juce-framework/JUCE.git -
Open the Projucer (found in
JUCE/extras/Projucer) and openSpectrumAnalyser.jucerat the repo root. -
In the Projucer, set the Global Paths → JUCE modules path to point to your local
JUCE/modulesfolder, then re-save the project. This updates the build files with the correct paths.
Open the solution and run:
Builds\VisualStudio2026\SpectrumAnalyser.sln
Press F5 to build and run, or Ctrl+F5 to run without the debugger.
A Visual Studio 2019 solution is also available at
Builds\VisualStudio2019\SpectrumAnalyser.sln
Open:
Builds/MacOSX/SpectrumAnalyser.xcodeproj
Press ⌘R to build and run.
cd Builds/LinuxMakefile
make CONFIG=Release
./build/SpectrumAnalyserThe app reads from your system default audio input device. Before launching, go to your OS sound settings and set the microphone you want to use as the default input device.
Once running, grant any audio permission prompt and the spectrum display will update in real time.
