From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RZLye-0000HR-CT for garchives@archives.gentoo.org; Sat, 10 Dec 2011 12:24:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B7E321C154; Sat, 10 Dec 2011 12:24:19 +0000 (UTC) Received: from internet.com.uy (correo.tecnet.com.uy [200.40.123.42]) by pigeon.gentoo.org (Postfix) with ESMTP id 4EBDA21C031 for ; Sat, 10 Dec 2011 12:23:12 +0000 (UTC) Received: from acme7.acmenet (r186-52-54-103.dialup.adsl.anteldata.net.uy [186.52.54.103]) (authenticated bits=0) by correo.tecnet.com.uy (8.14.4/8.14.4/host-001) with ESMTP id pBACN3fW004339 for ; Sat, 10 Dec 2011 10:23:08 -0200 X-TN_STAT: 25 Date: Sat, 10 Dec 2011 10:23:04 -0200 From: luis jure To: gentoo-user Subject: Re: [gentoo-user] [OT]: Denoising software ? Message-ID: <20111210102304.37da1bef@acme7.acmenet> In-Reply-To: References: <20111209184623.GB3257@solfire> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.8; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (correo.tecnet.com.uy [200.40.123.43]); Sat, 10 Dec 2011 10:23:08 -0200 (UYST) X-Archives-Salt: 42ffa367-a8e4-4a27-a060-2232356e398c X-Archives-Hash: 6b0a07edd954de828973d91655a7fc4b on 2011-12-09 at 13:55 Michael Mol wrote: >I couldn't tell you if it's necessarily "good", but Audacity has a >noise filter. that's exactly what i was about to reply. and if you want to try a CLI tool, sox provides a similar utility. noiseprof [profile-file] Calculate a profile of the audio for use in noise reduction. See the description of the noisered effect for details. noisered [profile-file [amount]] Reduce noise in the audio signal by profiling and filtering. This effect is moderately effective at removing consistent background noise such as hiss or hum. To use it, first run SoX with the noise=E2=80=90 prof effect on a section of audio that ideally would = contain silence but in fact contains noise - such sections are typically found at the beginning or the end of a recording. noiseprof will write out a noise profile to profile-file, or to stdout if no profile-file or if `-' is given. E.g. sox speech.wav -n trim 0 1.5 noiseprof speech.noise-profile To actually remove the noise, run SoX again, this time with the noisered effect; noisered will reduce noise according to a noise profile (which was generated by noiseprof), from profile-file, or from stdin if no profile-file or if `-' is given. E.g. sox speech.wav cleaned.wav noisered speech.noise-profile 0.3 How much noise should be removed is specified by amount-a number between 0 and 1 with a default of 0.5. Higher numbers will remove more noise but present a greater likelihood of removing wanted components of the audio signal. Before replacing an original recording with a noise-reduced version, experiment with different amount values to find the optimal one for your audio; use headphones to check that you are happy with the results, paying particular attention to quieter sections of the audio. On most systems, the two stages - profiling and reduction - can be combined using a pipe, e.g. sox noisy.wav -n trim 0 1 noiseprof | play noisy.wav noisered never compared the results, if you do, i for one would be very interested in your experience.=20 IMO, it's much better to remove noise by small amounts in successive passes (taking a new profile each time, of course), than trying to remove too much noise in one pass. let us know how it went! lj