Audio noise filter ?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Audio noise filter ?

Nicolas Hennion
Is there a plugin to filter the noise of an audio stream ? I want to encode a voice (from a microphone) without the noise environment.

Nicolas
----
L'imagination est plus importante que la connaissance.
-+- Albert Einstein -+-
----

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Audio noise filter ?

Edward Hervey
Administrator
On Mon, 2010-04-26 at 10:28 +0200, Nicolas Hennion wrote:
> Is there a plugin to filter the noise of an audio stream ? I want to
> encode a voice (from a microphone) without the noise environment.

  We don't have a native one in gstreamer. Maybe there is a ladspa
filter you could use through gst-ladspa.

  The problem with a one-pass filter though is that you have to guess
yourself what the proper settings are.

  If someone's up to it, a great filter to wrap (or rewrite?) into a
gstreamer element would be audacity's noise filter which comes in two
parts:
  * A noise profiler : you select a portion of audio which has almost
only noise (i.e. when someone isn't speaking for example)
  * The actual noise remover, which uses the settings from the noise
profiler.

   Edward

>
> Nicolas
> ----
> L'imagination est plus importante que la connaissance.
> -+- Albert Einstein -+-
> ----
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Audio noise filter ?

Stefan Sauer
Edward Hervey wrote:

> On Mon, 2010-04-26 at 10:28 +0200, Nicolas Hennion wrote:
>  
>> Is there a plugin to filter the noise of an audio stream ? I want to
>> encode a voice (from a microphone) without the noise environment.
>>    
>
>   We don't have a native one in gstreamer. Maybe there is a ladspa
> filter you could use through gst-ladspa.
>
>   The problem with a one-pass filter though is that you have to guess
> yourself what the proper settings are.
>
>   If someone's up to it, a great filter to wrap (or rewrite?) into a
> gstreamer element would be audacity's noise filter which comes in two
> parts:
>   * A noise profiler : you select a portion of audio which has almost
> only noise (i.e. when someone isn't speaking for example)
>   * The actual noise remover, which uses the settings from the noise
> profiler.
>
>    Edward
>  
One approach that worked well for me back at the time when I hack on
SoundFX/Amiga was a multiband noisegate. A Noisegate just watches the
amplitude and sets the output to silence when the signal falls below a
threashold. Opening and closing the gate is usualy done with a small
fade. Now if this is done on several frequency bands, it works quite
nicely even for non speech signals.

Stefan

>  
>> Nicolas
>> ----
>> L'imagination est plus importante que la connaissance.
>> -+- Albert Einstein -+-
>> ----
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>    
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Audio noise filter ?

Marco Ballesio
In reply to this post by Edward Hervey
Hi,

On Mon, Apr 26, 2010 at 11:57 AM, Edward Hervey <[hidden email]> wrote:
On Mon, 2010-04-26 at 10:28 +0200, Nicolas Hennion wrote:
> Is there a plugin to filter the noise of an audio stream ? I want to
> encode a voice (from a microphone) without the noise environment.

 We don't have a native one in gstreamer. Maybe there is a ladspa
filter you could use through gst-ladspa.

 The problem with a one-pass filter though is that you have to guess
yourself what the proper settings are.

 If someone's up to it, a great filter to wrap (or rewrite?) into a
gstreamer element would be audacity's noise filter which comes in two
parts:
 * A noise profiler : you select a portion of audio which has almost
only noise (i.e. when someone isn't speaking for example)

In theory it should be easy to automate the process by using a VAD algorithm as for itu-t rec. g729 section B.3 (I'm working on an implementation based on the reference code, not yet at a presentable stage so far).
 
 * The actual noise remover, which uses the settings from the noise
profiler.

It's possible to apply an high-pass-filter after the estimates given from the VAD detector of above. Do we already have such an element? I just wish a day was 48 hours long to finish all of this..

Regards
 

  Edward

>
> Nicolas
> ----
> L'imagination est plus importante que la connaissance.
> -+- Albert Einstein -+-
> ----
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel