GithubHelp home page GithubHelp logo

pthrr / adaa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jatinchowdhury18/adaa

0.0 0.0 0.0 16.37 MB

Experiments with Antiderivative Antialiasing

License: BSD 3-Clause "New" or "Revised" License

Shell 4.84% C++ 55.17% Python 37.94% CMake 2.06%

adaa's Introduction

Anti-derivative Antialiasing

Build Status License

This repository contains an in-progress exploration of anti-derivative antialiasing (ADAA), a method for reducing aliasing artifacts in nonlinear audio processing without the use of oversampling. The goal is to be able to compare the effectiveness and computational cost of using different ADAA algorithms, in a practical context.

Currently, this repo contains an audio plugin (VST3/AU) that implements 3 effects:

  • Hard clip waveshaper
  • tanh waveshaper
  • Nonlinear waveguide

Each nonlinearity is implemented 6 ways:

  • standard implementation
  • 1st-order ADAA
  • 2nd-order ADAA
  • Lookup-table
  • Lookup-table w/ 1st-order ADAA
  • Lookup-table w/ 2nd-order ADAA

Using these implementations, in conjunction with 2x, 4x, or 8x oversampling, you can choose the optimal algorithm for your use case, in terms of computational cost, sound quality, etc.

There are still a few bugs in this code, so please bear with me, as I continue working on this code. In the future, I would like to also include examples of nonlinear Wave Digital Filters using ADAA. Any and all contributions are welcome!

Installing

To install the plugin, download the correct zip file from the bin/ folder. After extracting the zipped files, you may either run the standalone executable directly, or copy the plugin binary into the correct directory for your plugin format.

Building

To build from scratch, you must have CMake installed.

# Clone the repository
$ git clone https://github.com/jatinchowdhury18/ADAA.git
$ cd ADAA

# initialize and set up submodules
$ git submodule update --init --recursive

# build with CMake
$ cmake -Bbuild
$ cmake --build build --config Release

Literature

License

Antiderivative Antialiasing is open source, and is licensed under the BSD 3-clause license. Enjoy!

adaa's People

Contributors

jatinchowdhury18 avatar kant avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.