From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <34582.69.115.255.175.1102495789.squirrel@www.infernopark.com> In-Reply-To: <34839e35005785f6e5e55e46b8ac3d84@orthanc.cc.titech.ac.jp> References: <34839e35005785f6e5e55e46b8ac3d84@orthanc.cc.titech.ac.jp> Date: Wed, 8 Dec 2004 02:49:49 -0600 Subject: Re: [9fans] /dev/audio test file From: vdharani@infernopark.com To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 1255a18e-eace-11e9-9e20-41e7f4b1d025 > Hi. I bought a USB audio. I think usbd and usbaudio is working > because cat /dev/audioctl works ;). > > % nashi@valinore usb/usbd > % nashi@valinore usb/usbaudio -v 100 > warning: Can't set play speed > % nashi@valinore cat /dev/audioctl > speed out 48000 48000 48000 > mute out 0 0 0 0 > volume out 100 -11776 7168 512 > channels out 2 2 2 > resolution out 16 16 16 > > Yet, I don't have any good test file to feed to /dev/audio. > Giving /mnt/cd/a000 didn't produce any sound on usb speakers. > > % cdfs > % cat /mnt/cd/a000 > /dev/audio > > Could somebody give me a tiny file to feed to /dev/audio so that > I can make sure that my speakers are configured correctly. > Or is there a way to convert a??? files to /dev/audio format? > one way to try it is to download plan 9 port of mad mp3 player and run it with an mp3 file. also, with madplay command you can convert an mp3 file to raw format which can be directly passed to /dev/audio. here is where you can find mad port: http://plan9.escet.urjc.es/plan9.html thanks dharani