
// Create a SoftwareSerial object named "Soundgin"
SoftwareSerial soundgin = SoftwareSerial(rxPin, txPin);
is it normal to wire in just these two pins, and not do anything with the ground pin?
Yes. That's the point of using an optocoupler... to avoid ground loops.Also, is it ok for the MIDI jack to be wired up with nothing going to ground like it is?
Wire.begin();
soundgin.begin(9600); //Set Software Serial Baud Rate to 9600
Serial.begin(31250); //Set Hardware Serial Baud Rate to MIDI, or 31250

