This project is an open-source C++ library enabling developers to transform audio effortlessly without DSP expertise. I mainly did this project to get a better understanding of digital signal processing and I have always been a sound nerd. This library provides methods for offline audio processing. Methods have been optimized for speed and quality.
- CMake build system
- Uses Microsoft's vcpkg as a package manager.
- Unit testing with Google Tests (gtests)
- CI/CD with Github worfklows for cross-platform builds
Access library documentation here
follow this guide to set up vcpkg for your build system
This library is a port on vcpkg. Using this library just requires adding the port.
If you are running vcpkg in classic mode run this command
vcpkg install fxaudioIf you are running vcpkg in manifest mode run this command
vcpkg add port fxaudioIf you are using CMake as your build system add this code to your CMakeLists.txt
find_package(FXAUDIO CONFIG REQUIRED)
target_link_libraries(myproject PRIVATE FXAUDIO::fxaudio)This is a small example of how to use some the classes and methods provided.
#include<fxaudio.h>
int main() {
FileHandler fh = FileHandler();
AudioFile af = fh.open("../mysndfile.wav");
AFX afx = AFX();
af.samples = afx.pitchShift(af.samples, 5);
fh.write(af);
}