Audacity

Audacity

Audacity is the world's most popular audio editing and recording app. It is widely used in Windows. Now, support has been added for building on ARM64. Audacity uses Conan build system to link against its dependencies. Various packages like RapidJSON, wxWidgets, opus file had to be updated inorder for Audacity to be built natively on Windows on Arm64. Audacity builds need MSYS2. Currently. MSYS2 is a work in progress and therefore the environment variable needs to be set birder for MSYS2 (emulated) shell to be used instead.

Requirements:

  • A development machine running Windows ARM64 (Surface, Thinkpad, Project Volterra, Windows VM on Apple M2):

  • Setup necessary build tools. Follow the steps from wenv

  • Download Audacity source from https://github.com/audacity/audacity

Steps

Clone

git clone https://github.com/audacity/audacity cd audacity # current master is under a major refactoring, so we build stable branch instead. # https://github.com/audacity/audacity?tab=readme-ov-file#this-repository-is-currently-undergoing-major-structural-change git checkout Audacity-3.7.2

Build

# Open MSYS2 bash shell cmd.exe /c C:/wenv/arm64/activate.bat bash # from this shell python -m pip install conan conan profile detect cat > global.conf << EOF tools.microsoft.bash:path=c:/wenv/msys2/msys64/usr/bin/bash.exe tools.microsoft.bash:subsystem=msys2 EOF conan config install global.conf rm global.conf # now perform the build mkdir build cd build cmake -A arm64 -S ../ -B . cmake --build . --config Release

Continuous Integration

Audacity team uses GitHub action exclusively to build regular binaries for all targets. Audacity3 now enabled for Windows on Arm64 CI builds from Audacity 3.7.5 release.

 

Binary Availability

Windows on Arm64 binaries are now available from the Audacity 3.7.5 release.
https://github.com/audacity/audacity/releases/tag/Audacity-3.7.5