Scattering with Random Paths as Loss for Differentiable Digital Signal Processing
- Clone this repository and open its directory.
-
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
andrequirements_all.txt
are also provided as references, but are not needed when using theconda_env.yml
files. - The source code can be explored in the
experiments/
directory. - All models from the paper can be found in the
models/
directory. - Create an out directory (
mkdir out
). - Create a data directory (
mkdir data
). -
All models can be evaluated by modifying
scripts/validate.py
and the correspondingconfigs/eval_ ... .yml
config file and then runningpython scripts/validate.py
.
Make sure your PYTHONPATH has been set correctly by running a command likeexport PYTHONPATH=$PYTHONPATH:BASE_DIR/scrapl_ddsp/
. -
(Optional) All models can be trained by modifying
scripts/train.py
and the correspondingconfigs/train_ ... .yml
config file and then runningpython scripts/train.py
. -
(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. - The source code is currently not documented, but don't hesitate to open an issue if you have any questions or comments.