Actually, form what I've read, I don't think MIDI 2 requires any (or very many) changes to Portmidi as Portmidi wraps the various OS-level MIDI APIs and gives you raw bytes. The actual MIDI protocol interpretation is handled in the Pd core.

MIDI 2 is basically an extension of the MIDI 1 protocol and MIDI 2 messages can contained embedded MIDI 1 messages. There is an additional query communication where a device can ask about the capabilities of another device. Overall, it seems to be designed to work seamlessly with older MIDI 1 devices/software.

Short answer is: I don't think anyone is doing this, but it can probably been done by modifying MIDI handling in s_midi.c.

On Apr 6, 2020, at 12:00 PM, pd-list-request@lists.iem.at wrote:

Message: 1
Date: Mon, 6 Apr 2020 10:51:26 +0100
From: Mario Buoninfante <mario.buoninfante@gmail.com>
To: pd-list <pd-list@lists.iem.at>
Subject: [PD] MIDI 2.0
Message-ID:
<CAHs=M8TCE+Yom8WoXoCDR7jZi_pzFmM3t0dKDwRU0_6dwFaYSw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi all,

Is there any plan to support MIDI 2.0? I know this is more of a question
about PortMidi, but I was wondering if anybody knows anything about it.

Cheers,
Mario

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com