\subsection{Midiplay}

To get MIDI file playback, a patchset is required. This file contains the
instruments required to synthesize the music. A sample patchset is available
through the wiki at \wikilink{PluginMidiPlay}, and needs to be extracted
to the \fname{.rockbox} directory in the root of your player. There should
now be a \fname{/.rockbox/patchset/} directory, with the patchset directory
containing several \fname{.pat} files and two \fname {.cfg} files. Just
select a MIDI file with either the \fname{.mid} or \fname{.midi} extension
in the file browser to start playback.
% portalplayer targets
\opt{ipod,sansa,iriverh10,iriverh10_5gb,mrobe100}{
\note{Currently playing MIDI files is still in its early stages and you
might experience ``Buffer miss!'' with many files, except simple ones.}
}

\begin{btnmap}
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD%
        ,IAUDIO_X5_PAD,MROBE100_PAD,PBELL_VIBE500_PAD}{\ButtonUp/ \ButtonDown}
    \opt{IPOD_3G_PAD,IPOD_4G_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonScrollFwd/ \ButtonScrollBack}
    \opt{IRIVER_H10_PAD}{\ButtonScrollUp/ \ButtonScrollDown}
    \opt{SANSA_C200_PAD}{\ButtonVolUp/ \ButtonVolDown}
    \opt{COWON_D2_PAD}{\TouchTopMiddle{} / \TouchBottomMiddle}
       \opt{HAVEREMOTEKEYMAP}{& }
    & Volume up/ Volume down\\
    %
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD%
        ,IAUDIO_X5_PAD,MROBE100_PAD,IPOD_3G_PAD,IPOD_4G_PAD,SANSA_E200_PAD%
        ,SANSA_FUZE_PAD,IRIVER_H10_PAD,SANSA_C200_PAD,PBELL_VIBE500_PAD}
        {\ButtonRight/ \ButtonLeft}
    \opt{COWON_D2_PAD}{\TouchMidRight{} / \TouchMidLeft}
       \opt{HAVEREMOTEKEYMAP}{& }
    & Skip 3 seconds forward/ backward\\
    %
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
    \opt{IPOD_3G_PAD,IPOD_4G_PAD,GIGABEAT_S_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD,PBELL_VIBE500_PAD}
        {\ButtonPlay}
    \opt{SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD}{\ButtonUp}
    \opt{GIGABEAT_PAD}{\ButtonA}
    \opt{MROBE100_PAD}{\ButtonDisplay}
    \opt{COWON_D2_PAD}{\TouchCenter}
       \opt{HAVEREMOTEKEYMAP}{& }
    & Pause/Resume playback\\
    %
    \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
    \opt{IPOD_3G_PAD,IPOD_4G_PAD}{\ButtonSelect+\ButtonMenu}
    \opt{GIGABEAT_PAD,GIGABEAT_S_PAD,SANSA_E200_PAD,SANSA_C200_PAD,IAUDIO_X5_PAD%
        ,IRIVER_H10_PAD,MROBE100_PAD,COWON_D2_PAD}{\ButtonPower}
    \opt{SANSA_FUZE_PAD}{Long \ButtonHome}
    \opt{PBELL_VIBE500_PAD}{\ButtonRec}
       \opt{HAVEREMOTEKEYMAP}{& }
    & Stop playback and quit\\
\end{btnmap}
