Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #389984 > unrolled thread

Analog Subtract Audio From White Noise

Started byMike Towner <mtowner@quintrex.com>
First post2015-12-18 17:38 +1100
Last post2015-12-19 07:44 +0000
Articles 20 on this page of 46 — 19 participants

Back to article view | Back to sci.electronics.design


Contents

  Analog Subtract Audio From White Noise Mike Towner <mtowner@quintrex.com> - 2015-12-18 17:38 +1100
    Re: Analog Subtract Audio From White Noise Les Cargill <lcargill99@comcast.com> - 2015-12-18 02:23 -0600
    Re: Analog Subtract Audio From White Noise Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-12-18 08:52 +0000
    Re: Analog Subtract Audio From White Noise Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-18 09:34 +0000
      Re: Analog Subtract Audio From White Noise upsidedown@downunder.com - 2015-12-18 12:58 +0200
        Re: Analog Subtract Audio From White Noise Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-18 11:07 +0000
    Re: Analog Subtract Audio From White Noise Mike Towner <mtowner@quintrex.com> - 2015-12-18 21:28 +1100
      Re: Analog Subtract Audio From White Noise Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-18 10:46 +0000
      Re: Analog Subtract Audio From White Noise Clifford Heath <no.spam@please.net> - 2015-12-18 22:16 +1100
        Re: Analog Subtract Audio From White Noise tabbypurr@gmail.com - 2015-12-18 03:28 -0800
          Re: Analog Subtract Audio From White Noise rickman <gnuarm@gmail.com> - 2015-12-18 13:47 -0500
            Re: Analog Subtract Audio From White Noise Mike Towner <mtowner@quintrex.com> - 2015-12-19 07:00 +1100
              Re: Analog Subtract Audio From White Noise George Herold <gherold@teachspin.com> - 2015-12-18 12:13 -0800
              Re: Analog Subtract Audio From White Noise jeroen Belleman <jeroen@nospam.please> - 2015-12-18 21:56 +0100
              Re: Analog Subtract Audio From White Noise dplatt@coop.radagast.org (Dave Platt) - 2015-12-18 16:20 -0800
                Re: Analog Subtract Audio From White Noise Mike Towner <mtowner@quintrex.com> - 2015-12-19 16:53 +1100
              Re: Analog Subtract Audio From White Noise Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-12-19 08:53 +0000
                Re: Analog Subtract Audio From White Noise rickman <gnuarm@gmail.com> - 2015-12-19 11:29 -0500
      Re: Analog Subtract Audio From White Noise Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-12-18 11:18 +0000
        Re: Analog Subtract Audio From White Noise Phil Allison <pallison49@gmail.com> - 2015-12-18 17:44 -0800
      Re: Analog Subtract Audio From White Noise Chris Jones <lugnut808@spam.yahoo.com> - 2015-12-18 23:16 +1100
      Re: Analog Subtract Audio From White Noise Rob <nomail@example.com> - 2015-12-18 12:28 +0000
        Re: Analog Subtract Audio From White Noise Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-12-18 12:39 +0000
          Re: Analog Subtract Audio From White Noise Rob <nomail@example.com> - 2015-12-18 13:01 +0000
            Re: Analog Subtract Audio From White Noise Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-12-18 13:08 +0000
              Re: Analog Subtract Audio From White Noise Rob <nomail@example.com> - 2015-12-18 15:36 +0000
                Re: Analog Subtract Audio From White Noise Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-12-18 15:57 +0000
                Re: Analog Subtract Audio From White Noise Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-18 16:10 +0000
                Re: Analog Subtract Audio From White Noise John Doe <always.look@message.header> - 2016-02-09 19:16 +0000
              Re: Analog Subtract Audio From White Noise Les Cargill <lcargill99@comcast.com> - 2015-12-18 12:22 -0600
              Re: Analog Subtract Audio From White Noise rickman <gnuarm@gmail.com> - 2015-12-18 13:57 -0500
            Re: Analog Subtract Audio From White Noise Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-18 13:23 +0000
          Re: Analog Subtract Audio From White Noise tabbypurr@gmail.com - 2015-12-18 17:17 -0800
      Re: Analog Subtract Audio From White Noise makolber@yahoo.com - 2015-12-18 07:56 -0800
      Re: Analog Subtract Audio From White Noise Les Cargill <lcargill99@comcast.com> - 2015-12-18 12:19 -0600
      Re: Analog Subtract Audio From White Noise Phil Allison <pallison49@gmail.com> - 2015-12-18 23:08 -0800
        Re: Analog Subtract Audio From White Noise Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-12-19 08:59 +0000
        Re: Analog Subtract Audio From White Noise rickman <gnuarm@gmail.com> - 2015-12-19 11:33 -0500
        Re: Analog Subtract Audio From White Noise Mike Towner <mtowner@quintrex.com> - 2015-12-20 07:37 +1100
          Re: Analog Subtract Audio From White Noise jeroen Belleman <jeroen@nospam.please> - 2015-12-19 23:23 +0100
          Re: Analog Subtract Audio From White Noise Phil Allison <pallison49@gmail.com> - 2015-12-19 16:03 -0800
          Re: Analog Subtract Audio From White Noise tabbypurr@gmail.com - 2016-02-10 22:58 -0800
    Re: Analog Subtract Audio From White Noise Jasen Betts <jasen@xnet.co.nz> - 2015-12-18 23:39 +0000
    Re: Analog Subtract Audio From White Noise Dimitrij Klingbeil <nospam@no-address.com> - 2015-12-19 01:13 +0100
      Re: Analog Subtract Audio From White Noise Dimitrij Klingbeil <nospam@no-address.com> - 2015-12-19 02:05 +0100
      Re: Analog Subtract Audio From White Noise Ralph Barone <address_is@invalid.invalid> - 2015-12-19 07:44 +0000

Page 1 of 3  [1] 2 3  Next page →


#389984 — Analog Subtract Audio From White Noise

FromMike Towner <mtowner@quintrex.com>
Date2015-12-18 17:38 +1100
SubjectAnalog Subtract Audio From White Noise
Message-ID<s8a77bp5v4gnsutaivimfodu3he9botjq9@4ax.com>
What is the best approach using analog circuitry to subtract an audio
track from white noise?

In other words, I would like the white noise spectrum to be "missing"
in real time frequencies corresponding to the audio track.

Mike Towner

[toc] | [next] | [standalone]


#389987

FromLes Cargill <lcargill99@comcast.com>
Date2015-12-18 02:23 -0600
Message-ID<n50fbp$dls$1@dont-email.me>
In reply to#389984
Mike Towner wrote:
>
> What is the best approach using analog circuitry to subtract an audio
> track from white noise?
>
> In other words, I would like the white noise spectrum to be "missing"
> in real time frequencies corresponding to the audio track.
>
> Mike Towner
>

The simple answer is "you can't." Audio+noise represent a 
thermodynamically more entropic state than just audio.

It's gone.

The white noise spectrum is all frequencies so you
can't really filter it in analog.

Moving to software:

There exist single-ended noise reducers but they may
harm more than they help and I use an old one that is
out of production for the removal of narrowband noise.
SFAIK, Adobe Audition offers the same.

You can look into CEDAR but it is quite expensive.

-- 
Les Cargill

[toc] | [prev] | [next] | [standalone]


#389988

FromMartin Brown <|||newspam|||@nezumi.demon.co.uk>
Date2015-12-18 08:52 +0000
Message-ID<n50hfm$d5n$1@speranza.aioe.org>
In reply to#389984
On 18/12/2015 06:38, Mike Towner wrote:
>
> What is the best approach using analog circuitry to subtract an audio
> track from white noise?

You are basically stuck with tweaking a low pass filter and prayer.
>
> In other words, I would like the white noise spectrum to be "missing"
> in real time frequencies corresponding to the audio track.
>
> Mike Towner

You can do something if you have for example 10 independent wax 
cylinders of the same archaic performance but you have to do it all 
digitally and adjust for the horrible wow and flutter of old kit.

In analogue you are stuck with some variant of tone controls = the only 
thing you can do well in analogue is a notch reject mains hum.

-- 
Regards,
Martin Brown

[toc] | [prev] | [next] | [standalone]


#389989

FromJan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Date2015-12-18 09:34 +0000
Message-ID<n50k02$ak3$1@news.datemas.de>
In reply to#389984
On a sunny day (Fri, 18 Dec 2015 17:38:19 +1100) it happened Mike Towner
<mtowner@quintrex.com> wrote in <s8a77bp5v4gnsutaivimfodu3he9botjq9@4ax.com>:

>
>What is the best approach using analog circuitry to subtract an audio
>track from white noise?
>
>In other words, I would like the white noise spectrum to be "missing"
>in real time frequencies corresponding to the audio track.
>
>Mike Towner

It all depends, 'audio', the noise level, but some info:

In general low level 'white noise' is not annoying.

The white noise is especially noticeable in the higher frequency parts, where it has a lot of energy.

IF you know (use an audio spectrum analyzer) where the maximum frequencies in your audio end,
then you can low-pass directly above that to get rid of most of that perceived 'hiss'.

There are other ways too, using an expander - compander and playing with the thresholds.
For example in Linux the 'sox' program can do that.

IIRC there is specialized software available to remove noise, no need for hardware at all.

Turn trebble down.

[toc] | [prev] | [next] | [standalone]


#389993

Fromupsidedown@downunder.com
Date2015-12-18 12:58 +0200
Message-ID<i6p77b54m1cu7k4126l0sd2mecltbjt74k@4ax.com>
In reply to#389989
On Fri, 18 Dec 2015 09:34:58 GMT, Jan Panteltje
<pNaOnStPeAlMtje@yahoo.com> wrote:

>On a sunny day (Fri, 18 Dec 2015 17:38:19 +1100) it happened Mike Towner
><mtowner@quintrex.com> wrote in <s8a77bp5v4gnsutaivimfodu3he9botjq9@4ax.com>:
>
>>
>>What is the best approach using analog circuitry to subtract an audio
>>track from white noise?
>>
>>In other words, I would like the white noise spectrum to be "missing"
>>in real time frequencies corresponding to the audio track.
>>
>>Mike Towner
>
>It all depends, 'audio', the noise level, but some info:
>
>In general low level 'white noise' is not annoying.
>
>The white noise is especially noticeable in the higher frequency parts, where it has a lot of energy.
>
>IF you know (use an audio spectrum analyzer) where the maximum frequencies in your audio end,
>then you can low-pass directly above that to get rid of most of that perceived 'hiss'.

What does the spectrum of a guitar or piano look like ? I would expect
at any point of time there would be up to 6 or up to 10 tones active
and their harmonics actively simultaneously. Taking FFT of the signal,
setting those bins to zero that is not currently being played and then
taking inverse-FFT to restore the signal might help. 

Of course the attack and decay of a string might spread the tones so
much, making such approach impractical, but at least these days we
have the computing power to attempt such tricks.

[toc] | [prev] | [next] | [standalone]


#389995

FromJan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Date2015-12-18 11:07 +0000
Message-ID<n50pdp$mo0$1@news.datemas.de>
In reply to#389993
On a sunny day (Fri, 18 Dec 2015 12:58:38 +0200) it happened
upsidedown@downunder.com wrote in
<i6p77b54m1cu7k4126l0sd2mecltbjt74k@4ax.com>:

>On Fri, 18 Dec 2015 09:34:58 GMT, Jan Panteltje
><pNaOnStPeAlMtje@yahoo.com> wrote:
>
>>On a sunny day (Fri, 18 Dec 2015 17:38:19 +1100) it happened Mike Towner
>><mtowner@quintrex.com> wrote in <s8a77bp5v4gnsutaivimfodu3he9botjq9@4ax.com>:
>>
>>>
>>>What is the best approach using analog circuitry to subtract an audio
>>>track from white noise?
>>>
>>>In other words, I would like the white noise spectrum to be "missing"
>>>in real time frequencies corresponding to the audio track.
>>>
>>>Mike Towner
>>
>>It all depends, 'audio', the noise level, but some info:
>>
>>In general low level 'white noise' is not annoying.
>>
>>The white noise is especially noticeable in the higher frequency parts, where it has a lot of energy.
>>
>>IF you know (use an audio spectrum analyzer) where the maximum frequencies in your audio end,
>>then you can low-pass directly above that to get rid of most of that perceived 'hiss'.
>
>What does the spectrum of a guitar or piano look like ? I would expect
>at any point of time there would be up to 6 or up to 10 tones active
>and their harmonics actively simultaneously. Taking FFT of the signal,
>setting those bins to zero that is not currently being played and then
>taking inverse-FFT to restore the signal might help. 
>
>Of course the attack and decay of a string might spread the tones so
>much, making such approach impractical, but at least these days we
>have the computing power to attempt such tricks.

Oh yes, I was 'watching' some music (singer especially) with ffplay (Linux)
and got very interested in the frequency modulation of the voice,
amazing, I could not do it.
ffplay on audio files does sort display a frequency versus time + amplitude.

Yes I have done the forward followed by reverse FFT, but for video only.
In not-realtime you can do a lot of things, in realtime, the only case for doing things in hardware perhaps,
it is much more difficult I'd think.

[toc] | [prev] | [next] | [standalone]


#389991

FromMike Towner <mtowner@quintrex.com>
Date2015-12-18 21:28 +1100
Message-ID<oan77b12o3jso2j56ifrrgr7auiqiqntkf@4ax.com>
In reply to#389984
Perhaps I need to phrase the question in another way. It is really not
about sound processing specifically.

Let's say I have a repetive audio signal consisting of three sinewaves
mixed together.

Then I have white noise, which inherently also contains those same
three frequencies.

Is there any way I can make the disappearance of the three frequencies
within the white noise track the changing amplitude of the composite
audio signal?

Extrapolating this to something like music, it would be making the
frequencies within the audio track disappear from the white noise
spectrum in proportion to their amplitude at any given moment of play.

Mike Towner

[toc] | [prev] | [next] | [standalone]


#389992

FromJan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Date2015-12-18 10:46 +0000
Message-ID<n50o5r$k32$1@news.datemas.de>
In reply to#389991
On a sunny day (Fri, 18 Dec 2015 21:28:06 +1100) it happened Mike Towner
<mtowner@quintrex.com> wrote in <oan77b12o3jso2j56ifrrgr7auiqiqntkf@4ax.com>:

>
>Perhaps I need to phrase the question in another way. It is really not
>about sound processing specifically.
>
>Let's say I have a repetive audio signal consisting of three sinewaves
>mixed together.

Do you _know_  these 3 frequencies?
if so, are those amplitiude or frequency modulated and how fast?
This determines the sidebands, the 'range' of frequencies you want to keep (or reject).
 If all this is known make 1 or 2 or 3 bandpass filters.

Are those frequencies related to each other?

How much is the amplitude of the noise relative to the 'tones' you have?

If you know the repetion frequency then you can use that to detect too.

I think at this point you better tell us what you are doing even if it is top secret and destroys the earth.
Else it is just a guessing game.

[toc] | [prev] | [next] | [standalone]


#389996

FromClifford Heath <no.spam@please.net>
Date2015-12-18 22:16 +1100
Message-ID<mWRcy.1300$9A4.780@fx40.iad>
In reply to#389991
On 18/12/15 21:28, Mike Towner wrote:
>
> Perhaps I need to phrase the question in another way. It is really not
> about sound processing specifically.
>
> Let's say I have a repetive audio signal consisting of three sinewaves
> mixed together.
>
> Then I have white noise, which inherently also contains those same
> three frequencies.
>
> Is there any way I can make the disappearance of the three frequencies
> within the white noise track the changing amplitude of the composite
> audio signal?
>
> Extrapolating this to something like music, it would be making the
> frequencies within the audio track disappear from the white noise
> spectrum in proportion to their amplitude at any given moment of play.

Your rephrased question still seems bizarre and I have no idea what you 
want.

However, if you want a noise reduction filter, Audacity has one 
built-in. It relies on you sampling a section of your input that has no 
audio, which it uses to characterise the noise spectrum. It then uses 
that to build a filter that reduces apparent noise in the audio signal.

No, I don't understand how that an work either, but it does, and quite well.

Clifford Heath.

[toc] | [prev] | [next] | [standalone]


#389998

Fromtabbypurr@gmail.com
Date2015-12-18 03:28 -0800
Message-ID<58185b6a-8bde-4442-bdef-c5d50f38ca9d@googlegroups.com>
In reply to#389996
On Friday, 18 December 2015 11:16:40 UTC, Clifford Heath  wrote:
> On 18/12/15 21:28, Mike Towner wrote:
> >
> > Perhaps I need to phrase the question in another way. It is really not
> > about sound processing specifically.
> >
> > Let's say I have a repetive audio signal consisting of three sinewaves
> > mixed together.
> >
> > Then I have white noise, which inherently also contains those same
> > three frequencies.
> >
> > Is there any way I can make the disappearance of the three frequencies
> > within the white noise track the changing amplitude of the composite
> > audio signal?
> >
> > Extrapolating this to something like music, it would be making the
> > frequencies within the audio track disappear from the white noise
> > spectrum in proportion to their amplitude at any given moment of play.
> 
> Your rephrased question still seems bizarre and I have no idea what you 
> want.

+1

> However, if you want a noise reduction filter, Audacity has one 
> built-in. It relies on you sampling a section of your input that has no 
> audio, which it uses to characterise the noise spectrum. It then uses 
> that to build a filter that reduces apparent noise in the audio signal.
> 
> No, I don't understand how that an work either, but it does, and quite well.
> 
> Clifford Heath.

multiband noise gate


NT

[toc] | [prev] | [next] | [standalone]


#390022

Fromrickman <gnuarm@gmail.com>
Date2015-12-18 13:47 -0500
Message-ID<n51k84$3l6$1@dont-email.me>
In reply to#389998
On 12/18/2015 6:28 AM, tabbypurr@gmail.com wrote:
> On Friday, 18 December 2015 11:16:40 UTC, Clifford Heath  wrote:
>> On 18/12/15 21:28, Mike Towner wrote:
>>>
>>> Perhaps I need to phrase the question in another way. It is really not
>>> about sound processing specifically.
>>>
>>> Let's say I have a repetive audio signal consisting of three sinewaves
>>> mixed together.
>>>
>>> Then I have white noise, which inherently also contains those same
>>> three frequencies.
>>>
>>> Is there any way I can make the disappearance of the three frequencies
>>> within the white noise track the changing amplitude of the composite
>>> audio signal?
>>>
>>> Extrapolating this to something like music, it would be making the
>>> frequencies within the audio track disappear from the white noise
>>> spectrum in proportion to their amplitude at any given moment of play.
>>
>> Your rephrased question still seems bizarre and I have no idea what you
>> want.
>
> +1
>
>> However, if you want a noise reduction filter, Audacity has one
>> built-in. It relies on you sampling a section of your input that has no
>> audio, which it uses to characterise the noise spectrum. It then uses
>> that to build a filter that reduces apparent noise in the audio signal.
>>
>> No, I don't understand how that an work either, but it does, and quite well.
>>
>> Clifford Heath.
>
> multiband noise gate

I don't think the noise is mixed with the signal. They are separate. So 
this is *not* a noise filtering issue.

He wants to filter the noise at the frequencies of the separate signal. 
  Not sure why this would be useful, but the remainder would be noise 
with gaps in the spectrum corresponding to the frequencies of the 
original signal without the noise.  He even wants the filter to set the 
degree of attenuation to correspond to the amplitude of the signal at 
that frequency.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#390032

FromMike Towner <mtowner@quintrex.com>
Date2015-12-19 07:00 +1100
Message-ID<8io87b98alp1m9utllkknk8fcbfspf8jr6@4ax.com>
In reply to#390022
On Fri, 18 Dec 2015 13:47:53 -0500, rickman <gnuarm@gmail.com> wrote:

>He wants to filter the noise at the frequencies of the separate signal. 
>  Not sure why this would be useful, but the remainder would be noise 
>with gaps in the spectrum corresponding to the frequencies of the 
>original signal without the noise.  He even wants the filter to set the 
>degree of attenuation to correspond to the amplitude of the signal at 
>that frequency.
>


Thanks. A few people, including yourself and Rob, have interpreted my
question correctly. 

My apologies for any lack of clarity. I want the composite frequencies
of the audio signal (voice, music, sound effects, etc.) substracted
from the white noise spectrum  in real time.

This is based upon the premise that the noise contains all frequencies
when sampled over close intervals. Thus it contains, in
undifferentiated form, all frequencies of the audio signal.

The object is to make the frequencies contained within the audio
signal disappear from the noise. This creates holes in the otherwise
"continuous" noise spectrum which are modulated by the audio signal.

It is the opposite of adding the track to the white noise.

How can this be done with either analog circuitry or perhaps
commercial music editing software?

Mike Towner

[toc] | [prev] | [next] | [standalone]


#390033

FromGeorge Herold <gherold@teachspin.com>
Date2015-12-18 12:13 -0800
Message-ID<960c8654-a2d5-4a1b-b73e-9fff287e40f4@googlegroups.com>
In reply to#390032
On Friday, December 18, 2015 at 3:01:08 PM UTC-5, Mike Towner wrote:
> On Fri, 18 Dec 2015 13:47:53 -0500, rickman <gnuarm@gmail.com> wrote:
> 
> >He wants to filter the noise at the frequencies of the separate signal. 
> >  Not sure why this would be useful, but the remainder would be noise 
> >with gaps in the spectrum corresponding to the frequencies of the 
> >original signal without the noise.  He even wants the filter to set the 
> >degree of attenuation to correspond to the amplitude of the signal at 
> >that frequency.
> >
> 
> 
> Thanks. A few people, including yourself and Rob, have interpreted my
> question correctly. 
> 
> My apologies for any lack of clarity. I want the composite frequencies
> of the audio signal (voice, music, sound effects, etc.) substracted
> from the white noise spectrum  in real time.
> 
> This is based upon the premise that the noise contains all frequencies
> when sampled over close intervals. Thus it contains, in
> undifferentiated form, all frequencies of the audio signal.
> 
> The object is to make the frequencies contained within the audio
> signal disappear from the noise. This creates holes in the otherwise
> "continuous" noise spectrum which are modulated by the audio signal.
> 
> It is the opposite of adding the track to the white noise.
> 
> How can this be done with either analog circuitry or perhaps
> commercial music editing software?
> 
> Mike Towner

OK this finally makes some sense.  You've got one big problem Mike, and 
that is that the noise has all the frequencies, but at some unknown phase.  
(And the phase changes with time... it's noise after all.)  So you can't subtract 
some fraction of the sine wave and get a hole.  

The best way to make a hole in a noise spectrum is to either notch filter a white 
noise source, or create your own pseudo-random noise source with DDS and leave out
the frequencies you don't want.  

George H.   

[toc] | [prev] | [next] | [standalone]


#390038

Fromjeroen Belleman <jeroen@nospam.please>
Date2015-12-18 21:56 +0100
Message-ID<n51rud$qis$1@speranza.aioe.org>
In reply to#390032
On 18/12/15 21:00, Mike Towner wrote:
> On Fri, 18 Dec 2015 13:47:53 -0500, rickman <gnuarm@gmail.com> wrote:
>
>> He wants to filter the noise at the frequencies of the separate signal.
>>   Not sure why this would be useful, but the remainder would be noise
>> with gaps in the spectrum corresponding to the frequencies of the
>> original signal without the noise.  He even wants the filter to set the
>> degree of attenuation to correspond to the amplitude of the signal at
>> that frequency.
>>
>
>
> Thanks. A few people, including yourself and Rob, have interpreted my
> question correctly.
>
> My apologies for any lack of clarity. I want the composite frequencies
> of the audio signal (voice, music, sound effects, etc.) substracted
> from the white noise spectrum  in real time.
>
> This is based upon the premise that the noise contains all frequencies
> when sampled over close intervals. Thus it contains, in
> undifferentiated form, all frequencies of the audio signal.
>
> The object is to make the frequencies contained within the audio
> signal disappear from the noise. This creates holes in the otherwise
> "continuous" noise spectrum which are modulated by the audio signal.
>
> It is the opposite of adding the track to the white noise.
>
> How can this be done with either analog circuitry or perhaps
> commercial music editing software?
>
> Mike Towner
>

Still, this whole thing is typical: Someone asks for a circuit doing
something based on a preconceived and probably misguided idea. The crux
of the matter is really: What are you trying to do? Is it some sound
effect? What would you expect to hear then? Is it something else?

Can you just take a step back and explain what purpose such treatment
is supposed to accomplish?

Jeroen Belleman

[toc] | [prev] | [next] | [standalone]


#390050

Fromdplatt@coop.radagast.org (Dave Platt)
Date2015-12-18 16:20 -0800
Message-ID<rekekc-b64.ln1@coop.radagast.org>
In reply to#390032
In article <8io87b98alp1m9utllkknk8fcbfspf8jr6@4ax.com>,
Mike Towner  <mtowner@quintrex.com> wrote:

>The object is to make the frequencies contained within the audio
>signal disappear from the noise. This creates holes in the otherwise
>"continuous" noise spectrum which are modulated by the audio signal.
>
>It is the opposite of adding the track to the white noise.
>
>How can this be done with either analog circuitry or perhaps
>commercial music editing software?

Well, this is sorta like a multiband noise gate, run backwards in a
way.

1) Do an FFT of the noise signal to determine the power and phase of
   the noise in each band.

2) Do a second FFT (same bucket sizes and frequencies) of the desired
   audio signal.

(3) Modify (reduce) the power present in each bucket of the noise
    signal's FFT, based on the amount of power present in the
    corresponding bucket of the audio signal's FFT.  You could do
    anything from "force the noise bucket to zero whenever the audio
    bucket exceeds a specific threshold", to "attenuate the noise
    bucket by M dB, for each N dB of power in the corresponding
    audio-signal bucket", or whatever you like,

(4) Run an inverse FFT on the noise signal's spectrum to generate the
    filtered noise.

In order for the effect to be really audible you may want to zero or
attenuate the noise power not just in the "matching" buckets, but also
in the buckets surrounding them... maybe as much as a third-octave
worth.

[toc] | [prev] | [next] | [standalone]


#390078

FromMike Towner <mtowner@quintrex.com>
Date2015-12-19 16:53 +1100
Message-ID<tvr97b1v2k7g2c2ok73dtlb3382atd6kpe@4ax.com>
In reply to#390050
On Fri, 18 Dec 2015 16:20:11 -0800, dplatt@coop.radagast.org (Dave
Platt) wrote:


>Well, this is sorta like a multiband noise gate, run backwards in a
>way.
>
>1) Do an FFT of the noise signal to determine the power and phase of
>   the noise in each band.
>
>2) Do a second FFT (same bucket sizes and frequencies) of the desired
>   audio signal.
>
>(3) Modify (reduce) the power present in each bucket of the noise
>    signal's FFT, based on the amount of power present in the
>    corresponding bucket of the audio signal's FFT.  You could do
>    anything from "force the noise bucket to zero whenever the audio
>    bucket exceeds a specific threshold", to "attenuate the noise
>    bucket by M dB, for each N dB of power in the corresponding
>    audio-signal bucket", or whatever you like,
>
>(4) Run an inverse FFT on the noise signal's spectrum to generate the
>    filtered noise.
>
>In order for the effect to be really audible you may want to zero or
>attenuate the noise power not just in the "matching" buckets, but also
>in the buckets surrounding them... maybe as much as a third-octave
>worth.
>

Thanks to the inupt so far I am beginning to understand the nature of
the problem.

The description above seems like the most viable approach. 

Can anyone recommend a software package that can do this? 

Preferrably one that has these functions built-in rather than needing
to be coded.

Many thanks,

Mike Towner

[toc] | [prev] | [next] | [standalone]


#390092

FromMartin Brown <|||newspam|||@nezumi.demon.co.uk>
Date2015-12-19 08:53 +0000
Message-ID<n535uj$hs3$1@speranza.aioe.org>
In reply to#390032
On 18/12/2015 20:00, Mike Towner wrote:
> On Fri, 18 Dec 2015 13:47:53 -0500, rickman <gnuarm@gmail.com> wrote:
>
>> He wants to filter the noise at the frequencies of the separate signal.
>>   Not sure why this would be useful, but the remainder would be noise
>> with gaps in the spectrum corresponding to the frequencies of the
>> original signal without the noise.  He even wants the filter to set the
>> degree of attenuation to correspond to the amplitude of the signal at
>> that frequency.
>
> Thanks. A few people, including yourself and Rob, have interpreted my
> question correctly.

The problem is with the question and the premise that doing this would 
be useful. It isn't and if you want to see why mock up a pseudorandom 
noise generator that omits a few spot frequencies in software.

Or feed a white noise generator into a notch reject filter.

> My apologies for any lack of clarity. I want the composite frequencies
> of the audio signal (voice, music, sound effects, etc.) substracted
> from the white noise spectrum  in real time.
>
> This is based upon the premise that the noise contains all frequencies
> when sampled over close intervals. Thus it contains, in
> undifferentiated form, all frequencies of the audio signal.

But at a random and shifting phase.

> The object is to make the frequencies contained within the audio
> signal disappear from the noise. This creates holes in the otherwise
> "continuous" noise spectrum which are modulated by the audio signal.
>
> It is the opposite of adding the track to the white noise.

No it isn't. If were that simple you could just subtract the track from 
the white noise. White noise is by its nature noisy.
>
> How can this be done with either analog circuitry or perhaps
> commercial music editing software?

The short answer is that it can't mainly because doing this would have 
no useful purpose. White noise with a few spot frequencies missing 
sounds well pretty much like any other white noise. You could implement 
a tracking series of notch reject filters but why would you bother?

Even lopping great chunks out or biassing it to pink noise with a low 
pass filter it will still just sound like noise.

What are you trying to achieve?

-- 
Regards,
Martin Brown

[toc] | [prev] | [next] | [standalone]


#390131

Fromrickman <gnuarm@gmail.com>
Date2015-12-19 11:29 -0500
Message-ID<n540ge$lqt$2@dont-email.me>
In reply to#390092
On 12/19/2015 3:53 AM, Martin Brown wrote:
> On 18/12/2015 20:00, Mike Towner wrote:
>> On Fri, 18 Dec 2015 13:47:53 -0500, rickman <gnuarm@gmail.com> wrote:
>>
>>> He wants to filter the noise at the frequencies of the separate signal.
>>>   Not sure why this would be useful, but the remainder would be noise
>>> with gaps in the spectrum corresponding to the frequencies of the
>>> original signal without the noise.  He even wants the filter to set the
>>> degree of attenuation to correspond to the amplitude of the signal at
>>> that frequency.
>>
>> Thanks. A few people, including yourself and Rob, have interpreted my
>> question correctly.
>
> The problem is with the question and the premise that doing this would
> be useful. It isn't and if you want to see why mock up a pseudorandom
> noise generator that omits a few spot frequencies in software.
>
> Or feed a white noise generator into a notch reject filter.
>
>> My apologies for any lack of clarity. I want the composite frequencies
>> of the audio signal (voice, music, sound effects, etc.) substracted
>> from the white noise spectrum  in real time.
>>
>> This is based upon the premise that the noise contains all frequencies
>> when sampled over close intervals. Thus it contains, in
>> undifferentiated form, all frequencies of the audio signal.
>
> But at a random and shifting phase.
>
>> The object is to make the frequencies contained within the audio
>> signal disappear from the noise. This creates holes in the otherwise
>> "continuous" noise spectrum which are modulated by the audio signal.
>>
>> It is the opposite of adding the track to the white noise.
>
> No it isn't. If were that simple you could just subtract the track from
> the white noise. White noise is by its nature noisy.
>>
>> How can this be done with either analog circuitry or perhaps
>> commercial music editing software?
>
> The short answer is that it can't mainly because doing this would have
> no useful purpose. White noise with a few spot frequencies missing
> sounds well pretty much like any other white noise. You could implement
> a tracking series of notch reject filters but why would you bother?
>
> Even lopping great chunks out or biassing it to pink noise with a low
> pass filter it will still just sound like noise.
>
> What are you trying to achieve?

Aren't we a bundle of joy today?

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#389997

FromMartin Brown <|||newspam|||@nezumi.demon.co.uk>
Date2015-12-18 11:18 +0000
Message-ID<n50q2f$3eq$2@speranza.aioe.org>
In reply to#389991
On 18/12/2015 10:28, Mike Towner wrote:
>
> Perhaps I need to phrase the question in another way. It is really not
> about sound processing specifically.
>
> Let's say I have a repetive audio signal consisting of three sinewaves
> mixed together.
>
> Then I have white noise, which inherently also contains those same
> three frequencies.
>
> Is there any way I can make the disappearance of the three frequencies
> within the white noise track the changing amplitude of the composite
> audio signal?

Bayesian statistics or Kalman filtering are the keywords that will get 
you something along those lines but your question is still ill posed.
>
> Extrapolating this to something like music, it would be making the
> frequencies within the audio track disappear from the white noise
> spectrum in proportion to their amplitude at any given moment of play.

You can notch out any number of fixed frequencies. This sort of trick 
was done to prevent room resonance PA howl round although these days 
they tend to do it digitally by just shifting the frequency up or down a 
bit so that the resonance doesn't build up and feedback.

-- 
Regards,
Martin Brown

[toc] | [prev] | [next] | [standalone]


#390058

FromPhil Allison <pallison49@gmail.com>
Date2015-12-18 17:44 -0800
Message-ID<6028ec15-e514-462e-86d9-cf951dbdc623@googlegroups.com>
In reply to#389997
Martin Brown wrote:

>  
> You can notch out any number of fixed frequencies. This sort of trick 
> was done to prevent room resonance PA howl round although these days 
> they tend to do it digitally by just shifting the frequency up or down a 
> bit so that the resonance doesn't build up and feedback.
> 

** Audio frequency shifting is better and more cheaply done with analogue circuitry.
 
A pair of multistage phase shift networks, a couple of multiplier ICs and a LF sine wave oscillator are the ingredients. I designed a high quality one for PA system use using TL074s and AD633s. The design was published and a kit of components inc PCB sold for about A$50.

DSP versions may exist, but I have never successfully tracked a REAL one down. 

Such frequency shifters are a controversial devices, those who have never actually used one are often highly sceptical or even hostile to the very idea while those who have used one are normally very enthusiastic about the results.

There was quite a bun fight here on this newsgroup about 10 years back concerning the audibility of small frequency shifts, like +5Hz, on music programme. 

So I posted a couple of music files ( shifted v unshifted) that cleared the matter up are far as rational folk were concerned. 


....  Phil 

 

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | sci.electronics.design


csiph-web