/audio-slicer-cpp

Primary LanguageC++MIT LicenseMIT

Audio Slicer

C++ implementation of OpenVPI Audio Slicer. Most of the algorithms are adapted from there.

Build from source

C++ compiler with C++17 support is required.

Vcpkg

This project uses vcpkg to manage dependencies. Run the following command to install dependencies:

vcpkg install libsndfile argparse qt5-base

To build with CMake, you need to set CMAKE_TOOLCHAIN_FILE variable:

-DCMAKE_TOOLCHAIN_FILE=${VCPKG_PATH}/scripts/buildsystems/vcpkg.cmake

Please change ${VCPKG_PATH} to the location of vcpkg installation. CMake will find all the packages needed.

Note: If you already have Qt installed on your system, you can specify its location by setting CMAKE_PREFIX_PATH to your Qt installation instead of building it again using vcpkg.

-DCMAKE_PREFIX_PATH=${PATH_TO_YOUR_QT}/lib/cmake/Qt5

Build options

You can set AUDIO_SLICER_CLI and AUDIO_SLICER_GUI options to choose which versions (CLI / GUI) to build.

-DAUDIO_SLICER_CLI=ON -DAUDIO_SLICER_GUI=ON

For macOS build, you can turn on BUILD_MACOSX_BUNDLE option to build macOS app bundles.

Open-source softwares used