Re: [Qemu-devel] [PATCH] PC speaker emulation (square wave)

2006-01-29 Thread Joachim Henke
The fact, that we can only reproduce frequencies up to half of sampling frequency, has already been dealt with since the first patch I posted (2006-01-18). I chose to use a sample rate of 32000 Hz, which should be sufficient for our purpose. So we can handle PIT count values down to 75. P

Re: [Qemu-devel] [PATCH] PC speaker emulation (square wave)

2006-01-26 Thread Sebastian Kaliszewski
Joachim Henke wrote: Ok, I simplified my patch to generate just plain square waves. Indeed, its sound is much closer to a real PC speaker now. Does "cut off frequency" mean, that we have silence above that specific frequency? No. Typical cutoff freq is where components of the signal are at

Re: [Qemu-devel] [PATCH] PC speaker emulation (square wave)

2006-01-25 Thread Jamie Lokier
Joachim Henke wrote: > Ok, I simplified my patch to generate just plain square waves. > Indeed, its sound is much closer to a real PC speaker now. > > Does "cut off frequency" mean, that we have silence above that > specific frequency? I changed my patch to go this way. Before, it > always p

[Qemu-devel] [PATCH] PC speaker emulation (square wave)

2006-01-25 Thread Joachim Henke
Ok, I simplified my patch to generate just plain square waves. Indeed, its sound is much closer to a real PC speaker now. Does "cut off frequency" mean, that we have silence above that specific frequency? I changed my patch to go this way. Before, it always played the highest possible frequ