Last active
June 10, 2020 23:36
-
-
Save selfup/3197dbaf76115be7fb6c86d497184f1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################## | |
# THIS ONLY WORKS ON LINUX | |
########################## | |
# $ amidi -l | |
# Dir Device Name | |
# IO hw:1,0,0 Elektron Digitone MIDI 1 | |
set -e | |
if [[ ! $1 -eq '' ]] | |
then | |
SYS_FIRMWARE_FILE=$1 | |
fi | |
if [[ $SYX_FIRMWARE_FILE -eq '' ]] | |
then | |
echo 'no file provided!' | |
exit 1 | |
fi | |
amidi -p hw:1,0,0 -s $SYX_FIRMWARE_FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment