|
From: | Sebastian Kaliszewski |
Subject: | Re: [Qemu-devel] [PATCH] PC speaker emulation (fixed point) |
Date: | Tue, 24 Jan 2006 19:29:44 +0100 |
User-agent: | Mozilla Thunderbird 1.0.2 (X11/20050322) |
Joachim Henke wrote:
Ok, these are really strong arguments. Thanks a lot for your interesting statements! I'll do some testing on square waves and will post an updated patch, as I am also not totally satisfied with the current sound myself.
One little suggestion...Real PC-speaker is rather poor source of sound, and I also noticed, that sound cards which took PC-speaker sound for themselves (some SB-clones did route PC-speaker sound into thier own output) liked to low-pass filter the resulting audio. So to make things as real as feasible, use your wave table to store something like square wave with rounded corners -- maybe sth like pow(sin(x), 0.2) (i.e. sinus rooted to 5th degree) will sound pleasant enough.
rgds -- Sebastian Kaliszewski
[Prev in Thread] | Current Thread | [Next in Thread] |