From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OlQXb-0000Gr-Gt for garchives@archives.gentoo.org; Tue, 17 Aug 2010 18:05:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C94ADE0B45 for ; Tue, 17 Aug 2010 18:05:38 +0000 (UTC) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by pigeon.gentoo.org (Postfix) with ESMTP id ADDD8E07C8 for ; Tue, 17 Aug 2010 17:56:05 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 757FEA9 for ; Tue, 17 Aug 2010 13:56:05 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 17 Aug 2010 13:56:05 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:content-transfer-encoding; s=smtpout; bh=UKB2f6GxD1RVGSI3CA6veuMNqSs=; b=oBjAG2u8MACnybEHdpYe2es7JjTRuX3bDEm1kRpl3tACuWpayVk6tupRr/1TX311SJ4TCI9ZIDyU54d4Ge/IBLdFw9mW8JY+q4A2iXgKcUyjqGA7QKNPMY/e11UAt7eKDJ83WBJSy946FbpPOOMoRuXx2SgBU5KewOVpROk1SAw= X-Sasl-enc: yY/ZcaLzlUGxLAeQY+P77ODDa5K/1ZZxTxRtFKDx1rLA 1282067765 Received: from [192.168.0.38] (65.23.112.45.nw.nuvox.net [65.23.112.45]) by www.fastmail.fm (Postfix) with ESMTPSA id 133DD5E0C93 for ; Tue, 17 Aug 2010 13:56:04 -0400 (EDT) Subject: Re: [gentoo-user] Typewriter sound From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <20100817172005.GA5110@solfire> References: <20100817172005.GA5110@solfire> Content-Type: text/plain; charset="UTF-8" Date: Tue, 17 Aug 2010 13:56:03 -0400 Message-ID: <1282067763.451766.3.camel@paska> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: f0002325-fb8b-4fad-9adc-cf2c1a853084 X-Archives-Hash: b533a3303dc28aba392d619d2f970ac0 On Tue, 2010-08-17 at 19:20 +0200, meino.cramer@gmx.de wrote: > Hi, > > on YouTube there was a Blender-2.5 tutorial with audio. > There was an interesting detail: While there were spoken > instructions one can hear one typing on its keyboard. > Each hit on one of the keys made the sound of an old > typewriter (no, it was not the sound of the legendary > "IBM Model M" keyboard ;) ). > > How can I achieve this? > What software can I use to make this geeky feature to > come true. > Unfortunately I have no idea, how to name this kind > of what(?) ... > > Thank you very much for any hint in advance! > Best regards, > mcc There probably a number of ways to do this. A cheap and easy way would be to use xev to monitor a window and then pipe the stderr to a a program that waits for a keypress event and then plays an apropriate. A less cheap way would be to have our program do what xev does instead of using a pipe.