Sun Microsystems J2ME User Manual

Page 101

Advertising
background image

Appendix A

Application Demonstrations

89

Video Capture Simulation

simulates viewing input video such as might be

possible on a device equipped with a camera.

[enter URL]

allows you to play back media files from arbitrary HTTP servers.

Type a valid URL at the insertion point and click OK to play a file. If you want
to open an HTTP directory from which to select media, be sure to add a slash to
the end of the URL.

In addition, Simple Player parses ring tones in Ringing Tones text transfer
language (RTTTL). See

http://www.convertyourtone.com/rtttl.html

for

information on RTTTL.

A key feature of Simple Player is a common set of commands that control media
playback. The commands are available from the Simple Player menu, and some
have associated keypad buttons. The following table describes these commands.

TABLE 10

Simple Player

commands

Command

Key

Description

Mute/
Unmute

0

Turns off sound but the file continues to play. This command
toggles to Unmute.

Volume

* and
#

Increases or decreases loudness.

META Data

Displays information provided by the media file such as
copyright information, title, and track list.

Stop in 5
seconds

Pauses the audio play in five seconds when set during
playback.

Rate

4 and
6

Alters the rate of speed of playback.

Tempo

Increases or decreases the tempo of the tone sequence or MIDI
file.

Pitch

Up
and
down

Lowers or raises the notes in a MIDI file.

Start/Stop
Recording

Records the audio playback. A file is created containing the
recorded audio in the directory in which the emulator is
running. If you do not specify a filename, a file called
recording.wav is created. This command toggles to Stop
Recording.

Step Frame

7 and
9

Jumps forward or backward one frame at a time in a video file.

Play/Stop

2 and
Select

Starts or stops the media.

Advertising