From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EzwHL-0003k5-8c for qemu-devel@nongnu.org; Fri, 20 Jan 2006 08:26:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ezw7w-0001Z5-1J for qemu-devel@nongnu.org; Fri, 20 Jan 2006 08:17:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ezuo5-0003y6-2z for qemu-devel@nongnu.org; Fri, 20 Jan 2006 06:51:53 -0500 Received: from [62.89.75.144] (helo=bozon2.softax.com.pl) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EzusH-0002jb-I6 for qemu-devel@nongnu.org; Fri, 20 Jan 2006 06:56:13 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by bozon2.softax.com.pl (Postfix) with ESMTP id A999CDC057 for ; Fri, 20 Jan 2006 12:49:14 +0100 (CET) Received: from bozon2.softax.pl ([127.0.0.1]) by localhost (bozon2.softax.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29964-07 for ; Fri, 20 Jan 2006 12:49:13 +0100 (CET) Received: from [16.193.144.98] (unknown [16.193.144.98]) by bozon2.softax.com.pl (Postfix) with ESMTP id 0B427DC055 for ; Fri, 20 Jan 2006 12:49:12 +0100 (CET) Message-ID: <43D0D1A4.4090304@softax.com.pl> Date: Fri, 20 Jan 2006 13:03:48 +0100 From: Sebastian Kaliszewski MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] PC speaker emulation (fixed) References: <43C2CA44.9080504@bellard.org> <66187480-AA25-4749-B6E7-8630B804A6EA@gmx.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org malc wrote: > I'd like to not one thing, namely, you are using FPU to generate the > samples. This is something Fabrice expressed dissatisfaction with. In > the case of speaker it might be feasible to switch to fixed-point > calculation. One more note about that. PC-speaker generates just plain square wave not sine wave, so this would be more realistic. Then fixed point calculation (16 bit integer part and 16 bit fractional) is easy without all those sin calculation. rgds Sebastian Kaliszewski