There’s a good chance your current MIDI interface will work, as long as the software accesses it via either a serial.device or camd.device. But you’ll need to check if the OS4 machine has a serial port. You’ll probably also need an adapter from 9-pin to 25-pin serial.