Skip to content

Instantly share code, notes, and snippets.

@zDEFz
Last active October 24, 2024 07:47
Show Gist options
  • Save zDEFz/dd54751c260bcf6c02bea1e54a301c6b to your computer and use it in GitHub Desktop.
Save zDEFz/dd54751c260bcf6c02bea1e54a301c6b to your computer and use it in GitHub Desktop.
RME ADI-2 Toggle PH/LINE
# Device IDs
# 0x71 ADI-2 DAC
# 0x72 ADI-2 Pro
# 0x73 ADI-2/4 Pro SE
SYSEX_HEADER="F0 00 20 0D"
# Change Device ID to yours
DEVICE_ID=71
SEND_PARAMS_TO_DEVICE=02
PARAMS="67 70 01"
RESERVED=F7
# amidi -l
# Dir Device Name
# IO hw:3,0,0 ADI-2 DAC (51080054) Port 1
# set midi port as written output from amidi -l
amidi -p hw:3,0,0 -S "${SYSEX_HEADER} ${DEVICE_ID} ${SEND_PARAMS_TO_DEVICE} ${PARAMS} ${RESERVED}"
#
# is
# amidi -p hw:3,0,0 -S "F0 00 20 0D 71 02 67 70 01 F7"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment