Virtual MIDI soundcard

modulename: snd-seq-virmidi.ko

and/or

snd-virmidi.ko

configname: CONFIG_SND_VIRMIDI

Linux Kernel Configuration
└─>Device Drivers
└─>Sound
└─>Advanced Linux Sound Architecture
└─>Generic devices
└─>Virtual MIDI soundcard
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
Say Y here to include the virtual MIDI driver. This driver
allows to connect applications using raw MIDI devices to
sequencer clients.

If you don't know what MIDI is, say N here.

To compile this driver as a module, choose M here: the module
will be called snd-virmidi.

source code: