From owner-freebsd-questions@FreeBSD.ORG Sat Aug 13 16:41:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2D8F106564A for ; Sat, 13 Aug 2011 16:41:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id A468C8FC15 for ; Sat, 13 Aug 2011 16:41:56 +0000 (UTC) Received: from r56.edvax.de (port-92-195-15-138.dynamic.qsc.de [92.195.15.138]) by mx02.qsc.de (Postfix) with ESMTP id E81641E0E9; Sat, 13 Aug 2011 18:41:54 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id p7DGfscf002331; Sat, 13 Aug 2011 18:41:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 13 Aug 2011 18:41:54 +0200 From: Polytropon To: Gary Kline Message-Id: <20110813184154.2bdfa2f4.freebsd@edvax.de> In-Reply-To: <20110813161416.GA23265@thought.org> References: <20110812192745.GA15543@thought.org> <20110812213921.6cfdfa89.freebsd@edvax.de> <20110812230224.GA9253@thought.org> <20110813033418.1881a710.freebsd@edvax.de> <20110813161416.GA23265@thought.org> Organization: EDVAX X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: library with click built-in? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2011 16:41:57 -0000 On Sat, 13 Aug 2011 09:14:16 -0700, Gary Kline wrote: > yep; that's hy i wat to know how to use the gtk stuff! If I remember correctly, this is the "esound" component used by Gtk. I don't know if it has its own sound sub- system, and in how far it's even possible to generate tones from a description of frequency + duration. It requires a sound card that FreeBSD's drivers can properly access. My first own sound card, the Logitech SnoundMan 16, had an interesting feature: The PC speaker sound was put as an input channel for the sound card mixer. I have no idea how this worked, as the sound card was a typical 16 bit ISA expansion card, and there was no wired connection from the PC speaker to the sound card. However, when the speaker was removend and addressed - e. g. by ^G = BEL or a sound output command such as sound(1000); delay(500); nosound(); - the sound could be heared through the speakers (or amplifier) attached to the sound card. Maybe something similar is still possible today? In this case, addressing the PC speaker, even if it's just a little piezo speaker (or not present) would cause an input to the sound card? This would combine the easy method of generating simple sounds with the ability to use whatever one wants to connect to the sound card (builtin speakers, headphones, speakers or amplifier). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...