Correctly compute the array size regardless of the element type
[kugel-rb/myfork.git] / manual / plugins / midiplay.tex
blobeb35e8028f617944c117b875798a2a0387283deb
1 \subsection{Midiplay}
3 To get MIDI file playback, a patchset is required. This file contains the
4 instruments required to synthesize the music. A sample patchset is available
5 through the wiki at \wikilink{PluginMidiPlay}, and needs to be extracted
6 to the \fname{.rockbox} directory in the root of your player. There should
7 now be a \fname{/.rockbox/patchset/} directory, with the patchset directory
8 containing several \fname{.pat} files and two \fname {.cfg} files. Just
9 select a MIDI file with either the \fname{.mid} or \fname{.midi} extension
10 in the file browser to start playback.
11 % portalplayer targets
12 \opt{ipod,sansa,h10,h10_5gb,mrobe100}{
13 \note{Currently playing MIDI files is still in its early stages and you
14 might experience ``Buffer miss!'' with many files, except simple ones.}
17 \begin{table}
18 \begin{btnmap}{}{}
19 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD%
20 ,IAUDIO_X5_PAD,MROBE100_PAD}{\ButtonUp/ \ButtonDown}
21 \opt{IPOD_3G_PAD,IPOD_4G_PAD,SANSA_E200_PAD}{\ButtonScrollFwd/ \ButtonScrollBack}
22 \opt{IRIVER_H10_PAD}{\ButtonScrollUp/ \ButtonScrollDown}
23 \opt{SANSA_C200_PAD}{\ButtonVolUp/ \ButtonVolDown}
24 \opt{IRIVER_RC_H100_PAD}{&}
25 & Volume up/ Volume down\\
27 \ButtonRight/ \ButtonLeft
28 \opt{IRIVER_RC_H100_PAD}{&}
29 & Skip 3 seconds forward/ backward\\
31 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
32 \opt{IPOD_3G_PAD,IPOD_4G_PAD,GIGABEAT_S_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay}
33 \opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonUp}
34 \opt{GIGABEAT_PAD}{\ButtonA}
35 \opt{MROBE100_PAD}{\ButtonDisplay}
36 \opt{IRIVER_RC_H100_PAD}{&}
37 & Pause/Resume playback\\
39 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
40 \opt{IPOD_3G_PAD,IPOD_4G_PAD}{\ButtonSelect+\ButtonMenu}
41 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD,SANSA_E200_PAD,SANSA_C200_PAD,IAUDIO_X5_PAD%
42 ,IRIVER_H10_PAD,MROBE100_PAD}{\ButtonPower}
43 \opt{IRIVER_RC_H100_PAD}{&}
44 & Stop playback and quit\\
45 \end{btnmap}
46 \end{table}