Okay. This is the first time, I've heard anyone ask about this, for m2p files.
If this concerns audio samples, I know that Lmms, uses ogg. and wav. files for samples.
Maybe, convert the m2p file, into either an ogg. or a wav. file, then import it into Lmms.
I hope I understand your question correctly though.
And also, welcome to the forums Fozzybear.