[Audio examples](https://mchijmma.github.io/modeling-nonlinear/) for the [paper](https://ieeexplore.ieee.org/document/8683529):

[Martínez Ramírez M. A.](http://m-marco.com) and [Reiss J. D.](http://www.eecs.qmul.ac.uk/~josh/), “Modeling nonlinear audio effects with end-to-end deep neural networks” in the IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), Brighton, UK, May 2019.

[View the source code:](https://github.com/mchijmma/DL-AFx/tree/master/src) CAFx -> Models.py

&nbsp;
## distortion example

<audio id="audio_play">
    <source src="audio/distortion/distortion.mp3" type="audio/mp3" />
</audio>

<img src="https://cdn.shopify.com/s/files/1/1661/9429/files/backstage_jimi_effects_s638x0_q80_noupscale_grande.jpg?v=1523612606" onClick="document.getElementById('audio_play').play(); return false;" />




  
&nbsp;
## distortion
&nbsp;
### 1st-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/distortion/1st-setting/1-distortion_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/distortion/1st-setting/2-distortion_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/distortion/1st-setting/3-distortion_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 2nd-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/distortion/2nd-setting/bass_1-distortion_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/distortion/2nd-setting/guitar_1-distortion_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/distortion/2nd-setting/bass_2-distortion_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/distortion/2nd-setting/guitar_2-distortion_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/distortion/2nd-setting/bass_3-distortion_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/distortion/2nd-setting/guitar_3-distortion_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 3rd-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/distortion/3rd-setting/bass_1-distortion_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/distortion/3rd-setting/guitar_1-distortion_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/distortion/3rd-setting/bass_2-distortion_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/distortion/3rd-setting/guitar_2-distortion_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/distortion/3rd-setting/bass_3-distortion_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/distortion/3rd-setting/guitar_3-distortion_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
## overdrive
&nbsp;
### 1st-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/overdrive/1st-setting/1-overdrive_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/overdrive/1st-setting/2-overdrive_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/overdrive/1st-setting/3-overdrive_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 2nd-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/overdrive/2nd-setting/1-overdrive_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/overdrive/2nd-setting/2-overdrive_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/overdrive/2nd-setting/3-overdrive_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 3rd-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/overdrive/3rd-setting/1-overdrive_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/overdrive/3rd-setting/2-overdrive_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/overdrive/3rd-setting/3-overdrive_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
## EQ
&nbsp;
### 1st-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/eq/1st-setting/bass_1-eq_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/eq/1st-setting/guitar_1-eq_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/eq/1st-setting/bass_2-eq_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/eq/1st-setting/guitar_2-eq_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/eq/1st-setting/bass_3-eq_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/eq/1st-setting/guitar_3-eq_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 2nd-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/eq/2nd-setting/bass_1-eq_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/eq/2nd-setting/guitar_1-eq_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/eq/2nd-setting/bass_2-eq_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/eq/2nd-setting/guitar_2-eq_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/eq/2nd-setting/bass_3-eq_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/eq/2nd-setting/guitar_3-eq_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
## FxChain
&nbsp;
### 1st-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/fxchain/1st-setting/bass_1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/1st-setting/guitar_1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/fxchain/1st-setting/bass_2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/1st-setting/guitar_2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/fxchain/1st-setting/bass_3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/1st-setting/guitar_3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 1st-setting-NSynth-dataset
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/fxchain/1st-setting/bass_NSynth1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/1st-setting/guitar_NSynth1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/fxchain/1st-setting/bass_NSynth2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/1st-setting/guitar_NSynth2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/fxchain/1st-setting/bass_NSynth3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/1st-setting/guitar_NSynth3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 2nd-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/bass_1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/guitar_1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/bass_2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/guitar_2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/bass_3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/guitar_3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 2nd-setting-NSynth-dataset
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/bass_NSynth1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/guitar_NSynth1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/bass_NSynth2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/guitar_NSynth2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/bass_NSynth3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/2nd-setting/guitar_NSynth3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 3rd-setting
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/bass_1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/guitar_1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/bass_2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/guitar_2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/bass_3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/guitar_3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### 3rd-setting-NSynth-dataset
<div id="contentBox" style="margin:0px auto; width:150%">
<div id="column1" style="float:left; margin:0; width:36.5%;">
- input <br />
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/bass_NSynth1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/guitar_NSynth1_fxchain_INPUT.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column2" style="float:left; margin:0;width:36.5%;">
- target <br />
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/bass_NSynth2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/guitar_NSynth2_fxchain_TARGET.mp3" type="audio/mp3" />
</audio>
</div>

<div id="column3" style="float:left; margin:0;width:27%">
- output <br />
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/bass_NSynth3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
<audio controls="controls">
<source src="audio/fxchain/3rd-setting/guitar_NSynth3_fxchain_OUTPUT.mp3" type="audio/mp3" />
</audio>
</div>
</div>

&nbsp;
### Citation
>@inproceedings{martinez2019modeling,<br />
>   title={Modeling nonlinear audio effects with end-to-end deep neural networks},<br />
>   author={Mart\'{i}nez Ram\'{i}rez, Marco A and Reiss, Joshua D},<br />
>   booktitle={IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP)},<br />
>   month = {May},<br />
>   year = {2019},<br />
>   location = {Brighton, UK}<br />
>}<br />

