You'll need to use a softsynth, e.g., fluidsynth, timidity, and be aware that, depending on the desktop distro that you use, you may encounter races with other apps attempting to access the device.