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.ps1The script downloads
nuget.exeif 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
msbuildtool and the MSVC compiler used by the project. -
Open a Developer Command Prompt (or ensure
msbuildandnugetare on yourPATH). -
Clone this repository and open the folder in VSCode.
-
Restore the NuGet packages (or simply run
build.ps1from a command prompt):nuget restore AudioVisualiser.slnAlternatively you can run
msbuild AudioVisualiser.sln /t:Restore. -
Press Ctrl+Shift+B to build the project. The provided tasks use
msbuildto compile a Debug/x64 configuration. -
Start debugging (or press F5) to launch the program. The debugger configuration in
.vscode/launch.jsonruns 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.