Hi,
First, Happy new year 2023 !
I am blocked with this zsh script.
It works if i write the path of the file json but not if i indicate the file name as an argument ($1)
#!/usr/bin/zsh
# on source nvm
. ~/.nvm/nvm.sh
# utiliser la version 16 de node car OSC est compatible avec cette version
nvm use 16.19.0
# on vérifie le fichier à charger
echo "Fichier à charger $1"
# on se dirige vers le bon répertoire
cd ~/audio/audio-code
# echo "Lancement d'Open Stage Control"
node ~/audio/openStageControl/app \
--send midi:APC \
--debug \
--port 8081 \
--midi sysex list APC:4,4 port01:1,1 \
--custom-module OSC-scripts/APCkey25/myCustomModule.js \
#--load OSC-scripts/APCkey25/apcKey25Interface.json \
--load $1
Any idea ?
cheers