Skip to content

Instantly share code, notes, and snippets.

@exocode
Created June 10, 2026 18:38
Show Gist options
  • Select an option

  • Save exocode/253ff5bb0c1386cf4eae808da8fd5e84 to your computer and use it in GitHub Desktop.

Select an option

Save exocode/253ff5bb0c1386cf4eae808da8fd5e84 to your computer and use it in GitHub Desktop.
RTP Midi on Raspberry Pi + Newest Linux + Companion
dpkg --print-architecture
uname -m
cat /etc/os-release
dpkg -l | grep -i rtpmidi
apt-cache policy libfmt9
sudo apt update
sudo apt install -y curl jq avahi-daemon alsa-utils
sudo apt purge -y rtpmidid
sudo apt autoremove -y
URL=$(curl -s https://api.github.com/repos/davidmoreno/rtpmidid/releases/latest \
| jq -r '.assets[].browser_download_url' \
| grep 'arm64.*\.deb' \
| head -n 1)
echo "$URL"
curl -L "$URL" -o /tmp/rtpmidid.deb
sudo apt install -y /tmp/rtpmidid.deb
which rtpmidid
dpkg -l | grep -i rtpmidi
systemctl status rtpmidid --no-pager
aconnect -l
# OPTIONAL
sudo reboot
# after that
systemctl status rtpmidid --no-pager
# Then in Companion add the "generic-MIDI" connector, and select rtpminid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment