midi to cv project minor problem

Thank you Mike, would you tell me how do you calculate and evaluate optocouplers for midi speed.
I didn't work with them before.

And also, thanks for the jet fast answers. All the best.