1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter 8. MIDI (MPU401-UART) Interface</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Writing an ALSA Driver"><link rel="up" href="index.html" title="Writing an ALSA Driver"><link rel="prev" href="api-ac97-multiple-codecs.html" title="Multiple Codecs"><link rel="next" href="midi-interface-constructor.html" title="Constructor"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 8. MIDI (MPU401-UART) Interface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="api-ac97-multiple-codecs.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="midi-interface-constructor.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="midi-interface"></a>Chapter 8. MIDI (MPU401-UART) Interface</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="section"><a href="midi-interface.html#midi-interface-general">General</a></span></dt><dt><span class="section"><a href="midi-interface-constructor.html">Constructor</a></span></dt><dt><span class="section"><a href="midi-interface-interrupt-handler.html">Interrupt Handler</a></span></dt></dl></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="midi-interface-general"></a>General</h2></div></div></div><p> 2 Many soundcards have built-in MIDI (MPU401-UART) 3 interfaces. When the soundcard supports the standard MPU401-UART 4 interface, most likely you can use the ALSA MPU401-UART API. The 5 MPU401-UART API is defined in 6 <code class="filename"><sound/mpu401.h></code>. 7 </p><p> 8 Some soundchips have a similar but slightly different 9 implementation of mpu401 stuff. For example, emu10k1 has its own 10 mpu401 routines. 11 </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="api-ac97-multiple-codecs.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="midi-interface-constructor.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Multiple Codecs </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Constructor</td></tr></table></div></body></html> 12