audio.5 (2010 09)

a
Audio(5) Audio(5)
OBSOLETED OBSOLETED
$HOME/.vueprofile
file. The SPEAKER variable can be external (headphones, Line Out) or internal
(built-in speaker).
To set the
SPEAKER variable for a POSIX or Korn shell, enter:
SPEAKER=internal
export speaker
To set the SPEAKER variable for a C shell, enter:
setenv SPEAKER internal
Audio File and Data Formats
Audio files supported contain uncompressed audio data in one of three file formats: generic,
RIFF/Waveform, or raw. Each file also needs the correct filename extension. For the three file formats,
the Audio Editor online help lists which data formats and filename extensions that apply.
The extension causes the appropriate icon to appear in the File Manager. To play audio files you can
drag and drop the file icons onto the Audio Editor or Control Panel or double-click the icon.
If you need to add an extension to a filename, (or convert the file format) the
/opt/audio/bin/convert
command is recommended. See convert (1). However, you can instead
rename the file to make it playable. Use this filename format:
filename
.rate .data_type
The rate and data_type variables accept values defined for the
-drate and -ddata options of
con-
vert. If needed, you can omit the rate variable. Use this filename format:
filename
.data_type
Audio Library
HP-UX includes an Audio Library that was used to build the audio tools. If you have ordered and
installed the User Environment Developer’s Kit , you can use the Audio Library to create other audio
applications.
The HP-UX Audio Library contains functions that C programs can use to manipulate audio. The func-
tions interact with the Audio Server, enabling the application to record and play audio data files and con-
vert audio data files from one format to another.
For more information about audio programming, refer to the manual Using the Audio Developer’s Kit .
AUTHOR
The Audio Library, Audio Editor, and Audio Control Panel were developed by HP.
SEE ALSO
attributes(1), convert(1), send_sound(1), asecure(1M), aserver(1M).
Using the Audio Developer’s Kit
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010