FINAL TRIM SIZE : 7.0 in x 8.5 in
4
Using Audio Input/Output
HP-UX includes audio softw
are comprising an audio editor, Audio Application
Program Interface (AAPI), and some sample programs. Audio output is
available either through an in
ternal sp eaker in your Series 700i/50 or 700i/100
SPU mo dule, or via an audio output jac
k on the SPU mo dule panel. F
or
highest quality audio, an external headphone set or sp eak
er is recommended.
(See \Setting Audio Volume" in Chapter 3 for setting v
olume for sp ecic
output requirements).
Developing Audio Applications
The HP-UX audio software package contains client and server comp onents,
which can run on separate systems. Audio data ma
y reside on still a third
system.
The Audio Applications Programming Interface (AAPI) includes a library of
functions that can b e 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 pla
y and record, and a to olkit of
functions that initialize, register, and unregister these widgets. The toolkit and
widgets enable application programs based on Motif or similar graphical user
interface to olkits to integrate audio capabilities.
Using the Audio Demonstration Program
The audio demonstration program is designed to demonstrate man
y of the
capabilities of the AAPI. It provides a Motif-like interface to play, record, and
edit functionality.Awaveform is displayed to facilitate editing and traversal of
the audio selection.
4-16 Using the Command Line DRAFT
2/5/97 11:31