Skip to content

Instantly share code, notes, and snippets.

@selfup
Last active June 10, 2020 23:36
Show Gist options
  • Save selfup/3197dbaf76115be7fb6c86d497184f1f to your computer and use it in GitHub Desktop.
Save selfup/3197dbaf76115be7fb6c86d497184f1f to your computer and use it in GitHub Desktop.
##########################
# 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