Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2000 00:01:56 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        Danny <dannyh@idx.com.au>
Cc:        Elitetek <freebsd@tekrealm.net>, freebsd-questions@freebsd.org
Subject:   Re: how
Message-ID:  <20000929000156.D255@parish>
In-Reply-To: <20000928153621.A253@parish>; from marko@freebsd.org on Thu, Sep 28, 2000 at 03:36:21PM %2B0100
References:  <002101c0285e$67ce3ce0$da21bc40@tekrealm.net> <00092907502503.00344@freebsd.freebsd.org> <20000928153621.A253@parish>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 28, 2000 at 03:36:21PM +0100, Mark Ovens wrote:
> On Fri, Sep 29, 2000 at 07:49:27AM +1100, Danny wrote:
> > Here is a way to test your soundcard from the console
> > 
> > 1) Place a Music CD into your CDROM drive
> > 2) Login as root
> > 3) Type in cdcontrol -f /dev/acd0 
> > 4) Type play
> > 
> 
> [snip]
> 
> > > more mysound.wav > /dev/pcm or /dev/snd0
> 
> You were close:
> 
> 	cat mysound.au > /dev/audio
> 
> .au files are raw audio so need no decoding. Problem is, there are no .au
> files in the base system.

Following up on my own post....

After sending this I posted to -stable suggesting that a .au file is
included in the base system for just this purpose (it is a commonly
suggested test for he common questions about setting up sound). Soneone
replied that there is another file that can be used (although not using
cat(1)).

This is the reply:

	There may be no .au files in the base system, but there are some
	audio files and a utility to convert them. For basic sound
	testing, I use:

	 g711conv -a </usr/share/isdn/msg.al >/dev/audio

	this stuff has been in the base system for a long time now,
	though g711conv used to be called alaw2ulaw in a previous version.


> If you have python installed (maybe it was
> installed as a dependency) try /usr/local/lib/python1.5/test/audiotest.au
> or if you have Tkdesk installed look in /usr/local/lib/TkDesk/sounds/
> 
> HTH
> 
> > > 
> > > but i know it wasnt the more command that did it
> > > 
> > > can anyone shed some like on this?
> > > 
> > > 
> > > EliteTek
> > > 
> > > 
> > > 
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> -- 
> 		4.4 - The number of the Beastie
> ________________________________________________________________
> 51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
> 2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
> mailto:marko@freebsd.org                http://www.radan.com
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
		4.4 - The number of the Beastie
________________________________________________________________
51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:marko@freebsd.org                http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000929000156.D255>