From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F1NGI-0006aB-Ri for qemu-devel@nongnu.org; Tue, 24 Jan 2006 07:27:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F1NDI-0004y1-Vf for qemu-devel@nongnu.org; Tue, 24 Jan 2006 07:24:02 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F1NCz-0004kc-LY for qemu-devel@nongnu.org; Tue, 24 Jan 2006 07:23:38 -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 1F1NHt-0006EY-PM for qemu-devel@nongnu.org; Tue, 24 Jan 2006 07:28:42 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by bozon2.softax.com.pl (Postfix) with ESMTP id 682AFDC09A for ; Tue, 24 Jan 2006 13:20:46 +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 24375-18 for ; Tue, 24 Jan 2006 13:20:44 +0100 (CET) Received: from [16.193.144.98] (unknown [16.193.144.98]) by bozon2.softax.com.pl (Postfix) with ESMTP id 84324DC06B for ; Tue, 24 Jan 2006 13:20:44 +0100 (CET) Message-ID: <43D61F14.8080209@softax.com.pl> Date: Tue, 24 Jan 2006 13:35:32 +0100 From: Sebastian Kaliszewski MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] PC speaker emulation (fixed point) References: <43C2CA44.9080504@bellard.org> <66187480-AA25-4749-B6E7-8630B804A6EA@gmx.de> <43D0D1A4.4090304@softax.com.pl> 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 Joachim Henke wrote: > I still prefer using a sine wave, it sounds more smooth and won't hurt > our ears (and speakers) too much. Well, it sounds rather dull, and even worse, on non hi-fi computer speakers (which is 90% of PC users use) low frequencies (<100Hz) are simply unhearable (since equipment is very poor at transmitting those frequencies). While harmonics rich square wave will be hearable, due to harmonics being hearable. > I don't think that people want to > play square waves, when they have their PC connected to their hifi > system Many people connected their Apples IIs, Commodores 64s & Ataris 800s to their Hi-Fi equipment, and those didn't break their ears nor equipment. > (c: The main purpose of the PC speaker is to generate tones and > many programmers used it to play melodies. Why shouldn't we take this > chance to make it sound as good as we can manage it? Exactly. No real musical instrument generates sine wawes. Moreover as various psyhoacustics reaserch shows, using pure sine waes changes our perception of chords & harmony. Then 95% of home sound equipment degrages and attenuates low frequencies below 40-50Hz. If Qemu is for emulation it should emulate things as close to reality as feasible. Why do more work & intentionally break the close emulation, while it's even easier to acheive? [snip] > However, this approach should still be sufficient for our purpose. Most > programs don't use too low frequencies, and if they do, people probably > won't notice. Many PC games used low frequencies to emit varius buzzes and stuff (like engine noise). With sine wave those will be completely broken. rgds -- Sebastian Kaliszewski