Giter VIP home page Giter VIP logo

mod_extraction's Introduction

Modulation Extraction for LFO-driven Audio Effects

Christopher Mitcheltree, Christian J. Steinmetz, Marco Comunità, and Joshua D. Reiss

arXiv Listening Samples Plugins Video License


Instructions for Reproducibility

  1. Clone this repository and open its directory.
  2. Install the requirements using
    conda env create --file=conda_env_cpu.yml or
    conda env create --file=conda_env.yml
    for GPU acceleration.
    requirements_pipchill.txt and requirements_all.txt are also provided as references, but are not needed when using the conda_env.yml files.
  3. The source code can be explored in the mod_extraction/ directory.
  4. All models from the paper can be found in the models/ directory.
  5. Create an out directory (mkdir out).
  6. Create a data directory (mkdir data).
  7. Download the IDMT-SMT-Guitar and EGFx datasets and place their root directories in the data directory.
  8. Rename the root directories of the datasets to idmt_4, egfx_clean_44100, egfx_phaser_44100, egfx_flanger_44100, and egfx_chorus_44100.
  9. Use the methods in scripts/split_datasets.py to split each dataset into train, validation, and test sets.
  10. (Optional) Download and install the free Melda Phaser and Melda Flanger plugins.
  11. (Optional) Open and modify the ableton/melda_data_generation.als project file in Ableton to export the train, val, and test datasets for the unseen digital effects evaluation task. Input the data/idmt_4/ directory from step 8 when Ableton asks for the location of the missing audio files.
  12. All models can be evaluated by modifying scripts/validate.py and the corresponding configs/eval_ ... .yml config file and then running python scripts/validate.py.
    Make sure your PYTHONPATH has been set correctly by running a command like export PYTHONPATH=$PYTHONPATH:BASE_DIR/mod_extraction/.
  13. (Optional) All models can be trained by modifying scripts/train.py and the corresponding configs/train_ ... .yml config file and then running python scripts/train.py.
  14. (Optional) Neutone files for running the effect models as a VST can be exported by modifying and running the scripts/export_neutone_models.py file.
  15. The source code is currently not documented, but don't hesitate to open an issue if you have any questions or comments.

Citation

Accepted to the 26th International Conference on Digital Audio Effects (DAFx23), Copenhagen, Denmark, 4 - 7 September 2023.

@inproceedings{mitcheltree2023modulation,
    title={Modulation Extraction for LFO-driven Audio Effects},
    author={Christopher Mitcheltree and Christian J. Steinmetz and Marco Comunità and Joshua D. Reiss},
    booktitle={International Conference on Digital Audio Effects (DAFx)},
    year={2023}
}

Abstract

Low frequency oscillator (LFO) driven audio effects such as phaser, flanger, and chorus, modify an input signal using time-varying filters and delays, resulting in characteristic sweeping or widening effects. It has been shown that these effects can be modeled using neural networks when conditioned with the ground truth LFO signal. However, in most cases, the LFO signal is not accessible and measurement from the audio signal is nontrivial, hindering the modeling process. To address this, we propose a framework capable of extracting arbitrary LFO signals from processed audio across multiple digital audio effects, parameter settings, and instrument configurations. Since our system imposes no restrictions on the LFO signal shape, we demonstrate its ability to extract quasiperiodic, combined, and distorted modulation signals that are relevant to effect modeling. Furthermore, we show how coupling the extraction model with a simple processing network enables training of end-to-end black-box models of unseen analog or digital LFO-driven audio effects using only dry and wet audio pairs, overcoming the need to access the audio effect or internal LFO signal. We make our code available and provide the trained audio effect models in a real-time VST plugin.

image


Send feedback and questions to Christopher Mitcheltree.
Scroll to top.

mod_extraction's People

Contributors

christhetree avatar

Stargazers

Behzad Haki avatar Yann Bourdin avatar  avatar Ignacio Falk avatar Štěpán Miklánek avatar  avatar Cumhur Erkut avatar IndieMusicianCoder avatar Paulo Chiliguano avatar francesco papaleo avatar audiocode avatar meng avatar ✝o✝ avatar Alec Wright avatar David Marx avatar DS.Xu avatar danigb avatar Sandalots avatar 爱可可-爱生活 avatar long_time_no_see avatar Tiago Freitas avatar Amit Bendor avatar  avatar aaronchen avatar  avatar David Südholt avatar Chin-Yun Yu avatar Yuan-Man avatar Hao Hao Tan avatar Christian J. Steinmetz avatar

Watchers

 avatar Christian J. Steinmetz avatar  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.