Java Glossary : AU

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

You are here : home : Java Glossary : A words : AU.

AU
a format for sound files that Java and Unix systems use. Sometimes called Sun Audio Format. Applets play the files with Applet.getAudioClip and Applet.play methods. Applications use AudioPlayer.player.start( inputstream ). Download Java source to generate *.AU files in RAM mathematically. It also converts *.AU files encoded with 8-bit mu-law back into 16-bit linear samples for mathematical analysis. Java can only play 8 bit, mu-law-encoded, 8000 Hz, one-channel (mono), AU files. There are other AU variants it cannot handle yet. How do you play sounds one after the other? How do you know when one has finished. You can estimate the time a sample will take to play by the sample count (or more roughly by the simple length of the file.) An AudioPlayer implementation might:
  1. Enqueue AU files to be played.
  2. Play all the AU files given to it simultaneously.
  3. Fail, perhaps annoying the user with a dialog box, if you give it more than one at a time.
You have to code defensively.
wav for information on converting Microsoft format to AU files
AU files are very bulky. Often MP3 files are used to save transmission time. Click to test your browser's AU support. Voice You can also test to see if you browser supports *.au files at this amusing web page.
AIF ¤ JMF: Java Media Framework streaming video ¤ MP3 ¤ sound ¤ wav ¤ WMF


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 1788.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/au.html J:\mindprod\jgloss\au.html