text: how to convert .wave faile to .au file using java sound in aim to get an au file smaller than wave file? when i convert wave to au by the audiosystem.write i got an au file but with same size of the wave file , and i am looking for a compressed file i dont know how to change the format in java.sound, i assume there must be a method to change the encoding type of the contained sound signal.  i've found that the .au format has many encoding options.  from ref 1: the supported format is described in the 4th word of the header. the options are:   1 = 8 bit isdn u-law 2 = 8 bit linear pcm 3 = 16 bit linear pcm 4 = 24 bit linear pcm 5 = 32 bit linear pcm 6 = 32 bit ieee floating point 7 = 64 bit iee floating point 23 = 4 bit ccitt g721 adpcm 24 = ccitt g722 adpcm 25 = ccitt g723 adpcm 26 = 5 bit ccitt g723 adpcm 27 = 8 bit isdn a-law  check to see if before you write the audiostream you have an option to change the encoding scheme.