Skip to content

Repository files navigation

Gradient-based optimisation of modulation effects

Alistair Carson, Alec Wright and Stefan Bilbao

Acoustics and Audio Group
University of Edinburgh

Edinburgh, UK

Inference

Run inference using a provided pre-trained model:

python3 inference.py --model_path weights/BF-2-A/qa6tmyhk --in_audio your_file.wav

where --model_path can be replaced with another from the weights/ directory, and your_file.wav can be replaced to a file of your choice.

Dataset

The dataset is available here: https://zenodo.org/records/18186611. Download and extract the files into modulation_dataset directory, or update DATASET_PATH in config.py accordingly.

Train models

Train a model on a given configuration:

python3 main.py --config 0

where the config index can be chosen from the table below (see config.py).

Effect configurations

The tables below show the parameter configurations for the 3 effects pedals considered.

BF-2 Flanger
ConfigManualDepthRateFeedbackLabel
0010.50BF-2-A
1010.50.5-
2010.51BF-2-B
300.50.50-
400.50.50.5-
SV-1 Chorus
ConfigSpeedDepthWaveFilterLabel
100.50.501SV-1-A
110.50.50.51-
120.50.511SV-1-B
130.510.51-
140.5111SV-1-C
Smallstone Phaser
ConfigRateColorLabel
200.750-
210.50SS-A
220.250-
230.751SS-B
240.51-

Citation

Is using this work please use the following citation:

    @article{Carson2026modfx,
    title={Gradient-based optimization of modulation effects},
    author={Carson, Alistair and Wright, Alec and Bilbao, Stefan},
    year={2026},
    month=jul,
    journal={Journal of the Audio Engineering Society},
    volume={74},
    pages={533--543},
    }

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages