48
Table 10 Multimedia feature/class support for JSR 135
Note:
The multimedia engine only supports prefetching 1 sound at a time, but 2
exceptions exist where 2 sounds can be prefetched at once. These exceptions are listed
below:
1.
Motorola provides the ability to play MIDI and WAV files simultaneously, but the MIDI
track will be started first. The WAV file should have the following format: PCM 8,000
Khz; 8 Bit; Mono
2.
When midi, iMelody, mix, and basetracks are involved, two instances of midi,
iMelody, mix, or basetrack sessions can be prefetched at a time, although one of
these instances has to be stopped. This is a strict requirement as (for example) two
midi sounds cannot be played simultaneously.
Mobile Media Feature Sets
The table 11 lists the new packages, classes, fields and methods implemented for JSR 135. Appropriate
exception shall be generated if the called method is not supported by the implementation. If a method is
accessed without proper security permissions, security exception shall be thrown.
Packages
Classes
Methods
Comments &
Requirements
setTempo()
Sets the current
playback tempo. WILL
implement a tempo
range of 10 to 300 beats
per minute.
TempoControl
(Applicable to
MIDI/iMelody
audio formats.
Implementation
guidance -
SHOULD.)
getTempo()
Gets the current
playback tempo.
javax.microediti
on.media.control
PitchControl
(Applicable to
MIDI /iMelody
audio formats.
Implementation
guidance -
SHOULD)
getMaxPitch()
Gets the maximum
playback pitch raise
supported by the player.
SHOULD implement a
maximum playback
pitch raise of 12,000
milli-semitones.