commit ec542446484b8303a2d974fe9335cf00f71feef3
parent 4e05135224940d07dcec7124565304bcad34eb0e
Author: Keith Bloemer <32459398+keyth72@users.noreply.github.com>
Date: Fri, 25 Sep 2020 13:53:10 -0500
Update README.md
Diffstat:
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -34,6 +34,28 @@ https://github.com/keyth72/SmartGuitarPedal
Note: Make sure to build in Release mode unless actually debugging. Debug mode will not keep up with real time playing.
+## Using your own trained models
+The .json models are baked into the executable when you compile the SmartAmp. A separate model is used for clean and lead channels.
+To swap out the default models with your own, do the following steps:
+
+1. Open up the project in Projucer and add your json models as a Resource. Right click "Resources", add existing files, and make sure to check "Binary Resource".
+
+2. Open the Visual Studio solution (or other target IDE). You should see the new .json model files under "Resources" in the solution explorer.
+
+3. Open PluginProcessor.cpp and edit lines 208 or 219 (this determines which model is used on the Lead or Clean channel):
+
+ (208) WaveNetLoader loader2(BinaryData::bluej_fullD_p0153_json); -->
+ WaveNetLoader loader2(BinaryData::YOUR_NEW_LEAD_MODEL_json);
+
+ (219) WaveNetLoader loader2(BinaryData::bluej_clean_p0088_json); -->
+ WaveNetLoader loader2(BinaryData::YOUR_NEW_CLEAN_MODEL_json);
+
+Where "YOUR_NEW...MODEL" is filename of your json file. You can edit either one, or both, but keep in mind they are separately trained models.
+
+4. Build SmartAmp in Release mode.
+
+
+
This project builds off the work done here:
https://github.com/damskaggep/WaveNetVA