NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/51784: "Synthesized" speaker hums


I've just finished a better implemetation of audiobell that should have little 
to no hum.  The probelm with the existing audiobell.c is that the maximum bell 
pitch is just 4 kHz with the patch it would be 22 kHz.

The resolution of the data used to generate the sine wave has been increased 
from 65 bytes to 2049 bytes, as the original 65 byte version genetated a 
rather square-ish sinewave at some frequencies and the hum would be a 

The hires version generates a better looking sine wave.

To use apply this patch:
and add the following to your kernel config:
options HIRES_BELL

Please let me know if this resolves the "hum".

Best regards,


On Mon, 22 May 2017 21:10:00 Paul Goyette wrote:
> The following reply was made to PR kern/51784; it has been noted by GNATS.
> From: Paul Goyette <>
> To:
> Cc:
> Subject: Re: kern/51784: "Synthesized" speaker hums
> Date: Mon, 22 May 2017 19:05:36 +0800 (+08)
>  FWIW, this is still an issue with 7.99.72

Home | Main Index | Thread Index | Old Index