Skip to content

Repository files navigation

Abstract

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.

Technologies used

  • 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

Documentation

Access library documentation here

Setting up vcpkg

follow this guide to set up vcpkg for your build system

How to use

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 fxaudio

If you are running vcpkg in manifest mode run this command

vcpkg add port fxaudio

Link with project with CMake

If 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)

Example Code

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);
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages