From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <65d199b21ba9fa66d2c581808d399a48@juice.thebigchoice.com> From: matt@proweb.co.uk Date: Mon, 21 Jun 2004 12:07:33 +0100 To: 9fans@cse.psu.edu Subject: Re: [9fans] how to listen to .wav files? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: a878bae4-eacd-11e9-9e20-41e7f4b1d025 As Russ said, .wav is just an extension, it doesn't in any way determine the binary contents .wav (and .avi) are RIFF files, the header of which will tell you the *real* content type of the file (and I don't even think they *have* to be RIFF files, the first few bytes tag it as a RIFF file, I imagine Microsoft's Windows applications would be able to discern other types of media. So, if your files are not the required 16 bit little-endian two's complement integer required for /dev/audio then you'll need to change them In my estimate your best bet for portability would be converting them to mp3 format (and you can choose lossless encoding if that is important to you) and then you are free to use them on any platform. My decoder of choice is Nemo's port of MAD http://plan9.escet.urjc.es/usr/nemo/export/mad.tgz It even works on the bitsy! Matt