If your keyboard will record an audio (WAV) file, that's what you should do. Then convert to an MP3 and transfer to your iPhone.
If the keyboard won't record an audio file, I think the only option you have is to record it using the phone's microphone.
Fred