From owner-freebsd-questions@freebsd.org Thu Jan 4 18:43:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C081EEAD715 for ; Thu, 4 Jan 2018 18:43:23 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 842F77923D for ; Thu, 4 Jan 2018 18:43:23 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id z130so3185908ioe.13 for ; Thu, 04 Jan 2018 10:43:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zEmaNBazw6exzhomeKXInzWqmvuZU/K75srUiE7sc/Q=; b=eXISXgQ53+cOBs7bJb/dNXZ80vmQqR6paobBsVmyXHH9hsly+iyzD2jQIJqSgBjtpc DmJulh+bdDT42xAj2B7pwriVMEhvegC8EZFon3cWAwgihIAU/aIrF6dSd6pGyfBpwl1L tOAO7wo8H1HpTsIUh+aC/B3RYeDDWa/bLzcpEu4o8IPEY7jc3ElBpk/xIUmy2AWqL3zq ZRBLpUEcMwGQVIoBI3NQw3FK2a4dw+A1+3CX/8zlMLybJfq/+ijEwsHukeoP0WUA+NE9 n/uKDFt9KUuPwKo/WXTF1Ip3S9CbJQuu82oZ79D8QP7MNQg7Z0i3kGTT8yFVjLW3vVo3 QjfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zEmaNBazw6exzhomeKXInzWqmvuZU/K75srUiE7sc/Q=; b=KSREER/ZQjgCAewhApwp3AzPWJltfvEDbgH680pU/H/Fi9T6xMc2wG1ALkyyb+dTjC oD0YOX2cvSbUjU9NABv+CZR2urkW1mgxUJq3OJy1WSn0WUp78E7j64Ui8oCGGA1Hja6S H5elp1us2g4l7KpqKExcsz1QqRQd8bBfWTV9HMmf2zhKeFkEN2kBVx8TkoRWAhs84bE4 ldcspYdytKpnq8ncdwa6xUHn5L9TLyK9AODSUTRLvKtaK7PTry1BamWtoeL0ljT0tkB3 3f4u2NDbVYIda5R/fEZ6Rl4GrsXxMb1K6SD40Keh+037XdIoHZSCXXlAQh/GJX52RXXf 1ziA== X-Gm-Message-State: AKwxytekxy8vsUfnhC9wqQeU8Ek6+4E242USFbdigjbE63STs7p2lvRm rcbIWHU+AffbgjOJdGqF8Y+VtV5YUBBOvNTII3U= X-Google-Smtp-Source: ACJfBot7euC9PU9KbSwfNH5ujdAqOiv0ZWG3SkkZc92kD84HsNijJYMsRw8BecxzGNXPviUGArKvPPQQ6X/cljUZS28= X-Received: by 10.107.16.79 with SMTP id y76mr563952ioi.213.1515091402800; Thu, 04 Jan 2018 10:43:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.203 with HTTP; Thu, 4 Jan 2018 10:43:22 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Fri, 5 Jan 2018 02:43:22 +0800 Message-ID: Subject: Re: Static noise with microphone To: Per Gunnarsson Cc: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 18:43:23 -0000 On Fri, Jan 5, 2018 at 2:35 AM, Per Gunnarsson via freebsd-questions < freebsd-questions@freebsd.org> wrote: > Hello! > > I have attached a microphone (a Mico from Trust) to the mic in on my > computer, and it produces some static noise. It's not connected to the USB > port. > > Is this just hardware related or is there anything I can change in the > software to get rid of it? > > You can hear the noise here: > > http://mustafejen.se:8000/stream.ogg > > I found this in my dmesg: > > hdac0: mem 0xfe080000-0xfe083fff at > device 0.1 on pci3 > hdac1: mem 0xfe500000-0xfe503fff at device > 9.2 on pci0 > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 5 on hdaa0 > hdacc1: at cad 0 on hdac1 > hdaa1: at nid 1 on hdacc1 > pcm1: at nid 20,27 and 24,26 on hdaa1 > pcm2: at nid 21 and 25 on hdaa1 > > [per@konjak ~]$ mixer > Mixer vol is currently set to 85:85 > Mixer pcm is currently set to 100:100 > Mixer speaker is currently set to 74:74 > Mixer line is currently set to 1:1 > Mixer mic is currently set to 90:90 > Mixer mix is currently set to 74:74 > Mixer rec is currently set to 85:85 > Mixer igain is currently set to 100:100 > Mixer ogain is currently set to 100:100 > Recording source: mic > > Regards, > > Per Gunnarsson > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > > This could be any number of issues. 1) How's the ambient noise in your recording environment? 2) Could be electronic noise from computer components [Is it a laptop or desktop] 3) The mic could have a very low noise floor, are u doing any filtering? 4) Have you tried any other mic to see if it's the same? another thing, looking at your hdaa settings did you configure ur pin into associations and groups? That pinout looks a bit random. Check [man snd_hda]