I recorded a piece with my keyboard (a Yamaha YPG-535). When I play it back on the keyboard, it sounded great. I put it on a flash drive in MIDI format and plugged it into my computer (Windows 7). I played it in Windows Media Player and I noticed it was not playing the sustain pedal. I opened it in Musescore 1.2, and everything else was notated correctly.
Why was the sustain pedal not transferred to the MIDI file, and how should I fix this?