smf2rmid and rmid2smf are two command line utilities that let you convert between SMF (Standard MIDI File) and RMID (RIFF MIDI) format. An RMID file is merely a wrapper around a Standard MIDI File; the original file is unmodified.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.