From owner-freebsd-questions Wed Mar 6 0:31:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-169-107-10.dsl.lsan03.pacbell.net [64.169.107.10]) by hub.freebsd.org (Postfix) with ESMTP id 5D99237B402 for ; Wed, 6 Mar 2002 00:31:18 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CDDD066C32; Wed, 6 Mar 2002 00:31:17 -0800 (PST) Date: Wed, 6 Mar 2002 00:31:17 -0800 From: Kris Kennaway To: Peter Leftwich Cc: FreeBSD Questions Subject: Re: /dev/dsp is easter-eggy on FreeBSD 4.5 Message-ID: <20020306003117.B79086@xor.obsecurity.org> References: <20020306024452.R64988-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020306024452.R64988-100000@earl-grey.cloud9.net>; from Hostmaster@Video2Video.Com on Wed, Mar 06, 2002 at 02:50:53AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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