# Appendix B. AHX Encoder

#### (1) Brief Description

AHX Encoder is a tool for creating AHX files. This tool can create AHX files

using raw audio files(WAV/AIFF).

#### (2) System Requirements

This tool runs on the Windows 98/NT4.0 or later operating systems.

#### (3) Usage

Run this program on a command line. Command format is given below:

####

#### (4) Example

Input sound file | : "voice.wav"
Output file | : "voice.ahx"
Bit Allocation Pattern file | : "ahxbap48.bap"

      ahxencd voice.wav voice.ahx -bap=ahxbap48.bap

#### (5) Bit Allocation Pattern File

A bit allocation pattern file is a text file consisted of 32 numeric value. A single numeric value with a carriage return should be written on each line.
Also refer to the following samples for more details:
ahxbap22.bap | : for 22.05kHz
ahxbap24.bap | : for 24kHz
ahxbap44.bap | : for 44.1kHz
ahxbap48.bap | : for 48kHz
[Remarks] AHX Encoder for Linux console(ahxencd) is also available. The usage is the same as DOS console version.

Copyright (c) 2001-2007 CRI Middleware Co., Ltd.