Sun Microsystems J2ME manual Player commands

Models: J2ME

1 134
Download 134 pages 62.02 Kb
Page 101
Image 101

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/

0

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

Unmute

 

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

 

Pauses the audio play in five seconds when set during

seconds

 

playback.

Rate

4 and

Alters the rate of speed of playback.

 

6

 

Tempo

 

Increases or decreases the tempo of the tone sequence or MIDI

 

 

file.

Pitch

Up

Lowers or raises the notes in a MIDI file.

 

and

 

 

down

Start/Stop

 

Records the audio playback. A file is created containing the

Recording

 

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

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

 

9

 

Play/Stop

2 and

Starts or stops the media.

Select

Appendix A Application Demonstrations 89

Page 101
Image 101
Sun Microsystems J2ME manual Player commands