HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man5/!!!intro.5
________________________________________________________________
___ ___
a
Audio(5) Audio(5)
the SPEAKER variable for all applications started by HP VUE by modifying the $HOME/.vueprofile
file. The SPEAKER variable can be external (headphones, Line Out) or internal (built-inspeaker).
To set the SPEAKER variable for a Bourne 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 functions
interact with the Audio Server, enabling the application to record and play audio data files and convert
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
asecure(1M), aserver(1M), attributes(1), convert(1), send_sound(1).
Using the Audio Developer’s Kit
HP-UX Release 11i: December 2000 2 Section 525
___
___