Is this PNP transistor in my MIDI IN correct?

Hi,

Thanks a lot for your answer.
About the resistor in line between transistor and opto-coupler: Is a value of 10k correct or do I need to pick another value?

I read about the PNP here: MIDI 3.3V circuit - #8 by mirasderbissalin

Grumpy_Mike:
I have been making MIDI interfaces for over 30 years. The TX side should actually pass through a PNP transistor in order to fully meet the specifications for the current drive because you don’t say what processor and what pins you are using. Some processors have a limit current capacity and your circuit as it is might exceed this. At best this circuit is a fudge.

Edit: I just realized that might be for MIDI OUT. So I could just remove the BC807 and 10k resistor? Should I leave the new resistor where it is or is the 280 one sufficient?

I selected a BC807 but I just picked it to have the symbol. Any smd based one will do.
Sorry about the bad resolution I will improve that for the next post. I may look like the arrow is in the wrong direction but that is indeed the resolution. It is facing downward on the original picture.