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 1OlRRP-00052W-Mq for garchives@archives.gentoo.org; Tue, 17 Aug 2010 19:03:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D51FDE0900 for ; Tue, 17 Aug 2010 19:03:18 +0000 (UTC) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 7D2DAE08B1 for ; Tue, 17 Aug 2010 18:13:06 +0000 (UTC) Received: by pwi5 with SMTP id 5so2309671pwi.40 for ; Tue, 17 Aug 2010 11:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=zoYlTPAJWDEq7N6fMdlK8XhCY1WocH2waPJabsDwKMg=; b=RqXHyEZ39JlBPm2WP0UPmPVV8PaxFesP0NQeP+Chf0SeZVd1u5/YQ9mP0bfFU3ye2m rFuZ8hxIJ9ZxVzrlSf3Z5GKixf5wiTPeUsJ3GStqCxEkUWQcHGGQDcrnM+xDHX7gcPn4 vTiJq92m1awOD+Zcdhp36XZF1AqgelopZNGYA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=kX90w6Jmud9k6dm0ETRKfiTzE9gzOkSdb4pNoq7keX4/k2YRXxdPAg7z3ewj1jzpkM QrI0QjtSJuhr5mlF37y3YkaaQ6kGTSDT1nDjsxj+TNx8ah+YQfvPUYZv0PPYqV0+Rdz8 ihIw6QHUYkijv1jjG35n/8PlqEro3CFsMFgTs= Received: by 10.114.109.8 with SMTP id h8mr8271488wac.208.1282068785931; Tue, 17 Aug 2010 11:13:05 -0700 (PDT) Received: from [192.168.0.12] ([209.20.133.224]) by mx.google.com with ESMTPS id d38sm14787635wam.20.2010.08.17.11.13.04 (version=SSLv3 cipher=RC4-MD5); Tue, 17 Aug 2010 11:13:05 -0700 (PDT) Message-ID: <4C6AD12F.4020007@gmail.com> Date: Tue, 17 Aug 2010 11:13:03 -0700 From: Bill Longman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100727 Thunderbird/3.1.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Typewriter sound References: <20100817172005.GA5110@solfire> <1282067763.451766.3.camel@paska> In-Reply-To: <1282067763.451766.3.camel@paska> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: f1aff82c-7fb2-43e4-ab5a-1abf2854b290 X-Archives-Hash: b7a9ef3c1d828404e134dbd00540d949 On 08/17/2010 10:56 AM, Albert Hopkins wrote: > 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. Or you could set your X keyclick using xset.