AU : Java Glossary

go to home page A words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish 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) ©1996-2009 Roedy Green, Canadian Mind Products
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. AudioClip 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.

There are 27 different encodings supported in AU files. 8-bit PCM is one likely to be supported by javax.sound.sampled. Click to test your browser’s AU support click to listen.

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

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/au.html J:\mindprod\jgloss\au.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.101]
You are visitor number 14,288.