AU : Java Glossary
home A words local find no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
Go to : punctuation 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 (all)
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 ). I have written a Java class called Sound to to generate *.AU files in RAM mathematically. You can Download it free.. 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.

To convert Microsoft Windows WAVfiles to AU format you need some sort of utility such as the shareware Goldwave.

AU files are very bulky. Often MP3 files are used to save transmission time.

Click to test your browser’s AU support click to listen. You can also test to see if you browser supports *.au files at this amusing web page.

AIF
Applets: using sound
Goldwave
JMF: Java Media Framework streaming video
MP3
sound
wav
WMF

CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.17] The information on this page is for non-military use only.
You are visitor number 10,806. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/jgloss/au.html J:\mindprod\jgloss\au.html