Professional Documents
Culture Documents
Index, 10
iii
Introducing the BREW SDK
Utilities Guide
This guide provides an overview of the utilities included with the Binary Runtime Environment
for Wireless ™ (BREW ™) Software Development Kit (BREW SDK™). This guide includes the
following sections:
Using the PureVoice Converter Describes how to use this utility to convert pulse code modulation
(PCM) waveform (WAV) files to PureVoice QCP files (and vice
versa) that can be played on the BREW Emulator, subsequently
referred to as the Emulator, and on BREW-enabled devices that
support PureVoice.
BREW documentation
This guide is part of an information set that includes the following documents:
BREW SDK User’s Guide Introduces the components of the BREW SDK and their
relationship to one another. The document also contains
general instructions for developing BREW applications and for
using the Emulator.
BREW API Reference Provides information about BREW functions and data
structures needed to develop applications for BREW-enabled
mobile platforms.
BREW Device Configurator Guide Describes how to use the BREW Device Configurator to
create effective wireless devices for emulation by the Emulator.
BREW Resource Editor Guide Describes how to use the BREW Resource Editor to create the
text strings, images, and dialogs used by BREW applications.
BREW MIF Editor Guide Describes how to use the BREW MIF Editor to create and
modify Module Information Files (MIF)—a special type of
BREW resource file that contains information about the
classes and applets supported by particular BREW modules.
4
Introducing the BREW SDK Utilities Guide
BREW SDK Utilities Guide Describes how to use the utilities, such as the PureVoice
Converter, included with the BREW SDK.
BREW Compressed Image Describes how to use the BREW Compressed Image
Authoring Guide Authoring Tool to create files for displaying and animating
images in your applications.
5
Using the PureVoice Converter
BREW supports PureVoice files, with the .qcp extension, encoded in IS-733 (13 kilobits per
second, variable rate) format. The ISoundPlayer interface can play QCP files, in addition to
MIDI and MP3 formats. For more information on the QCP format support by ISoundPlayer, see
the BREW API Reference.
The Emulator also supports the playback of QCP files. The MIDI sample application, included
in the BREW SDK, plays QCP files, in addition to MIDI and MP3 files. You can use the
PureVoice Converter, shipped with the BREW SDK, to convert WAV files to QCP files (and vice
versa). The QCP files can be tested on the Emulator, and you can play them on BREW-
enabled handsets using the BREW APIs.
The PureVoice Converter converts PCM (mono, 8 Kilohertz, 16 bit) WAV files to PureVoice
QCP files (and vice versa) using different encoding modes (variable rate, full fixed, half max
variable, and half fixed). If you intend to convert a WAV file that is not already in the mono,
8 kilohertz, 16 bit format, you must first convert it to that format. See Converting WAV files to
mono, 8 kilohertz, 16 bit format on page 7 for instructions.
NOTE: BREW supports only IS-733 (13 kilobits per second, variable rate) encoding only.
6
Using the PureVoice Converter
2. Access the directory where the WAV or QCP file to be converted resides.
NOTE: The <BREW\Bin\DataFiles> directory contains several WAV and QCP files
with which you can experiment.
Where
- 1: full fixed
- 3: half fixed
The converted file is stored in the same directory as the original file.
Before you can use the PureVoice Converter to convert WAV files to the QCP format, you must
first convert them to mono, 8 kilohertz, 16 bit format using the Windows Sound Recorder
application.
7
Using the PureVoice Converter
2. Choose File > Open, navigate to the directory where you store your WAV files, and
open the WAV file you want to convert.
The Properties dialog box for the selected sound file opens.
4. Check the Audio Format field. If the audio format is anything besides PCM 8 KHz,
16 Bit, Mono, click Convert Now.
8
Using the PureVoice Converter
The Save As window closes and BREW QCP is added to the list of sounds
available in the Sound Selection dialog box.
7. Click OK.
The file is now ready to be converted to QCP format with the PureVoice Converter.
9
Index
C
Converting sound files, 6
F
Features, requesting new, 5
P
PureVoice technology, 6
PVConv utility, using, 6
R
Requesting new BREW features, 5
S
Sound Recorder, 7
W
WAV files, converting, 7
Web site, BREW, 5
10