Midiplay; Mpeg Player - Toshiba Gigabeat F Series User Manual

Digital audio players
Table of Contents

Advertisement

Chapter 10. Plugins
more information on programming in Lua, please see
and http://www.lua.org/pil/.
There are a few exceptions/additions to the Lua support in Rockbox:
No floating point support. The number type in Lua is usually float, however in the
Rockbox implementation it is integer.
Non-supported libraries. The coroutine, debug and math libraries are not supported.
Partially-supported libraries. The os and package libraries are only partially supported.
Additional libraries. The bitlib library is integrated to support bitwise operators. See
http://luaforge.net/projects/bitlib
Documentation of the API is still a work in progress, and the API itself is not finalised.
For the latest information, see ZPluginLua.
Note: Please note that if a script does not provide a way to exit, then the only way to
exit will be to reset the player.

10.3.7. 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
ZPluginMidiPlay, and needs to be extracted to the .rockbox directory in the root of
your player. There should now be a /.rockbox/patchset/ directory, with the patchset
directory containing several .pat files and two .cfg files. Just select a MIDI file with
either the .mid or .midi extension in the file browser to start playback.
Key
Up/ Down
Right/ Left
A
Power

10.3.8. MPEG Player

The Mpeg Player is a video player plugin capable of playing back MPEG-1 and MPEG-2
video streams with MPEG audio multiplexed into .mpg files.
To play a video file, you just select it in the Rockbox File Browser. If your file does
not have the .mpg extension but is encoded in the supported format, you will need to
use the Open With... context menu option and choose mpegplayer.
The Rockbox manual
and http://lua-users.org/wiki/BitwiseOperators.
Remote Key
http://www.lua.org/manual/5.1/
Action
Volume up/ Volume down
Skip 3 seconds forward/ backward
Pause/Resume playback
Stop playback and quit
Toshiba Gigabeat F and X Series
133
b

Advertisement

Table of Contents
loading

Table of Contents