Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 00:19:17 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        evgeniy@khramtsov.org, freebsd-multimedia@freebsd.org
Subject:   Re: Silent noise while running simple OSS program and moving mouse?
Message-ID:  <d9008a76-5377-0fcb-e94a-ef443bb8c451@selasky.org>
In-Reply-To: <b18ca6ae-4754-2d52-3a16-b8835471fa54@selasky.org>
References:  <YKGWO6L9NTikr1ZI@vax.khramtsov.org> <b18ca6ae-4754-2d52-3a16-b8835471fa54@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/17/21 12:17 AM, Hans Petter Selasky wrote:
> On 5/17/21 12:01 AM, Evgeniy Khramtsov via freebsd-multimedia wrote:
>> Hi.
>>
>> I wrote this simple OSS program that outputs sound from microphone back
>> to the speakers (the close() and stuff is omitted):
>> https://pastebin.com/raw/yX4gm5fL
>>
>> It works, though for some reason I get some silent noise while moving
>> mouse around. Any ideas what could be wrong? Thanks.
>>
> 
> Hi,
> 
> Are you using a professional balanced audio microphone? If no, then 
> information is leaking via ground on the mainboard :-(
> 
> Been there done that :-)
> 

Hi,

A possible solution:

Use qaudiosonar to find the frequency.

Start virtual_oss with EQ support to filter away the frequency.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9008a76-5377-0fcb-e94a-ef443bb8c451>