Probably a pin conflict, but, who knows? You did not provide a link to the MIDI library that you are trying to use, nor did you provide a link to the Controller library.
This code is worked.As you told I have changed 12 and 11 pin
What is the reason for this.
As I nkow RX and TX used by MIDI library.But, it didnt use SPI.
Is there any relationship between SPI and Serial communication via RX and TX?
Nandika:
Is there any relationship between SPI and Serial communication via RX and TX?
I don't think so. Just SPI uses pins 11 and 12, and they were connected to your LCD - if you're not using SPI you should probably remove the include SPI.h line.