Article 151060 of comp.os.vms: In article <96071111100190@iberia.cca.rockwell.com>, Michael Cook writes: > Is it (easily) possible to convert DECSound .AUD files to Sun .AU file > format? Some of my files can be re-recorded, but others can't. > > The basic problem I'm facing is that the version of Netscape that I'm > using doesn't have a sound player that recognizes .AUD formatted files. > > Is there a helper application (on Suns) for Netscape that will play > .AUD files? If so, I might not have to convert files, if I can install > the helper app. Here is my cookbook for converting .AUD (DEC audio) files into .AU (Sun audio) files. It's rather funny ... Assuming you want to convert TOTO.AUD file: $ COPY TOTO.AUD TOTO.RAW ! just to save your original file $ SET FILE /NOSEM TOTO.RAW ! DECsound file have semantic tags, you must ! remove them $ SET FILE /ATTRI=(RFM:STMLF,LRL:0) TOTO.RAW ! Convert file into Stream_lf Now, you need to erase the DIVA header located at the beginning of the file. I personally use Emacs to do the job manually. The last char of the header is an \000 . An automated tool will be a better way. The last step is made using SOX, an sound conversion utility: $ sox -t .raw -b "-U" -r 8000 toto.raw -t .au toto.au You can find SOX for VMS at my site ada.cenaath.cena.dgac.fr (and ftp2.cnam.fr) into [.DECWINDOWS] directory: Directory CENA10:[ANONYMOUS.DECWINDOWS] SOX.ZIP;1 1041 20-NOV-1995 11:18:01.26 Enjoy !! Patrick -- =============================================================================== pmoreau@cena.dgac.fr (CENA) ______ ___ _ (Patrick MOREAU) moreau_p@decus.decus.fr(DECUS) / / / / /| /| CENA/Athis-Mons FRANCE / /___/ / / | / | __ __ __ __ BP 205 / / / / |/ | | | |__| |__ |__| | | 94542 ORLY AEROGARE CEDEX / / :: / / | |__| | \ |__ | | |__| ===============================================================================