Skip to content

Commit 1dac00f

Browse files
committedFeb 12, 2025
Install GPL3'd NAM Models collection from github.
1 parent 4f7aef2 commit 1dac00f

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed
 

‎scripts/recipes/install_nam_models.sh

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
cd "$ZYNTHIAN_MY_DATA_DIR/files/Neural Models"
4+
git clone https://github.com/pelennor2170/NAM_models
5+
6+
AUTHORS=( "George B" "Helga B" "Jason Z" "Keith B" "Luis R" "Mikhail K" "Peter N" "Phillipe P" "Roman A" "Sascha S" "Tim R" "Tom C" "Tudor N")
7+
for auth in "${AUTHORS[@]}"; do
8+
mkdir "$auth"
9+
mv "NAM_models/$auth"* "$auth/"
10+
cp "NAM_models/COPYING" "$auth/"
11+
done
12+
13+
rm -rf "NAM_models"

‎scripts/setup_plugins_rbpi.sh

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ $ZYNTHIAN_RECIPE_DIR/install_qmidiarp_prebuilt.sh
132132
$ZYNTHIAN_RECIPE_DIR/install_dsp56300_prebuilt.sh
133133
$ZYNTHIAN_RECIPE_DIR/install_nam_prebuilt.sh
134134
$ZYNTHIAN_RECIPE_DIR/install_ratatouille_prebuilt.sh
135+
$ZYNTHIAN_RECIPE_DIR/install_nam_models.sh
135136
$ZYNTHIAN_RECIPE_DIR/install_surge_xt_prebuilt.sh
136137
mkdir "/root/.Surge XT"
137138

‎scripts/update_zynthian_recipes.sh

+6
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,12 @@ if [[ "$current_patchlevel" < "$patchlevel" ]]; then
605605
$ZYNTHIAN_RECIPE_DIR/install_ratatouille_prebuilt.sh
606606
fi
607607

608+
patchlevel="20250212.2"
609+
if [[ "$current_patchlevel" < "$patchlevel" ]]; then
610+
echo "Applying patch $patchlevel ..."
611+
$ZYNTHIAN_RECIPE_DIR/install_name_models.sh
612+
fi
613+
608614
# -----------------------------------------------------------------------------
609615
# End of patches section
610616
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)
Please sign in to comment.