gui.rst (2398B)
1 Training locally with the GUI 2 ============================= 3 4 After installing NAM locally, you can launch the GUI trainer from a terminal 5 with: 6 7 .. code-block:: console 8 9 $ nam 10 11 You'll see a GUI like this: 12 13 .. image:: media/gui/gui.png 14 :scale: 30 % 15 16 Start by pressing the "Download input file" button to be taken to download the 17 audio you'll reamp through your gear to make your model, 18 `input.wav <https://drive.google.com/file/d/1KbaS4oXXNEuh2aCPLwKrPdf5KFOjda8G/view?usp=sharing>`_. 19 Reamp this through the gear that you want to model and render the output as a 20 WAVE file. Be sure to match the sample rate (48k) and bit depth (24-bit) of the 21 input file. Also, be sure that your render matches the length of the input file. 22 An example can be found here: 23 `output.wav <https://drive.google.com/file/d/1NrpQLBbCDHyu0RPsne4YcjIpi5-rEP6w/view?usp=sharing>`_. 24 25 Return to the trainer and pick the input and output files as well as where you 26 want your model to be saved. 27 28 .. note:: To train a batch of models, pick all of their reamp (output) files. 29 30 Once you've selected these, then the "Train" button should become available: 31 32 .. image:: media/gui/ready-to-train.png 33 :scale: 30 % 34 35 Click "Train", and the program will check your files for any problems, then 36 start training. 37 38 Some recording setups will have round-trip latency that should be accounted for. 39 Some DAWs might attempt to compensate for this but can overcompensate. 40 The trainer will automatically attempt to line up the input and output audio. To 41 help with this, the input file has two impulses near its beginning that are used 42 to help with alignment. The trainer will attempt to identify the response to 43 these in the output. You'll see a plot showing where it thinks that the output 44 first reacted to the input (black dashed line) as well as the two responses 45 overlaid with each other. You should see that they overlap and that the black 46 line is just before the start of the response, like this: 47 48 .. image:: media/gui/impulse-responses.png 49 :scale: 50 % 50 51 Close this figure, and then you will see training proceed. At the end, you'll 52 see a plot that compares the model's prediction against your recording: 53 54 .. image:: media/gui/result.png 55 :scale: 30 % 56 57 Close that plot, and your model will be saved. To use it, point 58 `the plugin <https://github.com/sdatkinson/NeuralAmpModelerPlugin>`_ at the file 59 and you're good to go!