Date: Wed, 6 Mar 2002 00:31:17 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD Questions <FreeBSD-Questions@FreeBSD.Org> Subject: Re: /dev/dsp is easter-eggy on FreeBSD 4.5 Message-ID: <20020306003117.B79086@xor.obsecurity.org> In-Reply-To: <20020306024452.R64988-100000@earl-grey.cloud9.net>; from Hostmaster@Video2Video.Com on Wed, Mar 06, 2002 at 02:50:53AM -0500 References: <20020306024452.R64988-100000@earl-grey.cloud9.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 06, 2002 at 02:50:53AM -0500, Peter Leftwich wrote: > Somehow, "wavplay *.wav" started actually working (but I can't adjust the > volume through software). By the same token, wavrec seems to work but I > don't yet know how to specify what input the sound driver should use for > recording. I got curious and did "man pcm" to see if any relevant answers > were in there, and saw something called /dev/dsp at the end of the man > page. I got even more curious and ran "cat /dev/dsp" and got a streaming > infinite string of hearts and happy-faces :) You're reading from the microphone device on your soundcard, and it's presumably spitting out mostly 1, 2, and 3 values, which correspond to black smiley face, white smiley face and heart in the default console font. You can also produce these at the login prompt on a vty by entering ASCII characters 1, 2, 3 (a.k.a ^A, ^B, ^C)..the other "unprintable" (control) ASCII characters also have some amusing symbols in this font. Kris --DBIVS5p969aUjpLe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8hdPVWry0BWjoQKURAnnAAJ0SBDxiGn9o0uIaTAT2CclPEogyuACeIQRF yFc8UY5coCHucSBgJxVQHS0= =krBl -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe-- 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?20020306003117.B79086>