Help with midi serial port communication code!

nothing to see here

SoftwareSerial Serial1(2, 1); // RX, TX

You can NOT use one of the hardware serial pins for software serial while also using it for hardware serial.