Using Audio Input/Output
HP-UX includes audio software comprising an audio editor, Audio Application
Program Interface (AAPI), and some sample programs. Audio output is
available either through an internal speaker in your Series 700i/50 or 700i/100
SPU module, or via an audio output jack on the SPU module panel. For
highest quality audio, an external headphone set or speaker is recommended.
(See \Setting Audio Volume" in Chapter 3 for setting volume for specic
output requirements).
Developing Audio Applications
4
The HP-UX audio software package contains client and server components,
which can run on separate systems. Audio data may reside on still a third
system.
The Audio Applications Programming Interface (AAPI) includes a library of
functions that can be called by an application program written in C language.
The functions interact with the audio server, enabling the application to record
and play audio data les and also convert audio data les from one format to
another.
The AAPI also includes audio widgets for play and record, and a toolkit of
functions that initialize, register, and unregister these widgets. The toolkit and
widgets enable application programs based on Motif or similar graphical user
interface toolkits to integrate audio capabilities.
Using the Audio Demonstration Program
The audio demonstration program is designed to demonstrate many of the
capabilities of the AAPI. It provides a Motif-like interface to play, record, and
edit functionality. A waveform is displayed to facilitate editing and traversal of
the audio selection.
4-16 Using the Command Line
DRAFT
2/5/97 11:31