This project is an OpenGL based audio visualiser written in C++. The solution was originally created with Visual Studio and relies on a few NuGet packages for its third‑party libraries.
-
Install Visual Studio Build Tools 2022 with the "Desktop development with C++" workload.
-
Open a Developer Command Prompt and run the provided build script:
powershell -ExecutionPolicy Bypass -File build.ps1
The script downloads
nuget.exe
if necessary, restores the NuGet packages and builds the solution in a Debug/x64 configuration. After it completes you can runx64/Debug/AudioVisualiser.exe
.
-
Install Visual Studio Build Tools 2022 and select the "Desktop development with C++" workload. This provides the
msbuild
tool and the MSVC compiler used by the project. -
Open a Developer Command Prompt (or ensure
msbuild
andnuget
are on yourPATH
). -
Clone this repository and open the folder in VSCode.
-
Restore the NuGet packages (or simply run
build.ps1
from a command prompt):nuget restore AudioVisualiser.sln
Alternatively you can run
msbuild AudioVisualiser.sln /t:Restore
. -
Press Ctrl+Shift+B to build the project. The provided tasks use
msbuild
to compile a Debug/x64 configuration. -
Start debugging (or press F5) to launch the program. The debugger configuration in
.vscode/launch.json
runs the generated executable fromx64/Debug/AudioVisualiser.exe
.
After these steps the audio visualiser window should appear and react to
music/Rolemusic_-_pl4y1ng.mp3
which is included in the repository.