updated for latest version of libpd and btmidi