HydrogenAudio

Hosted Forums => foobar2000 => Uploads - (fb2k) => Topic started by: lvqcl on 2009-06-28 18:05:30

Title: DSP plugin that adds white noise or DC offset
Post by: lvqcl on 2009-06-28 18:05:30
foo_dsp_noise 0.0.4:

This plugin just adds TPDF white noise or constant DC offset.

It should be last in your DSP chain.

[attachment=5209:foo_dsp_noise.zip]
Title: DSP plugin that adds white noise or DC offset
Post by: Chris Norman on 2009-06-30 22:14:40
Sorry to ask but, but why would you want to do that, adding white noise?


Title: DSP plugin that adds white noise or DC offset
Post by: GeSomeone on 2009-07-01 13:50:08
I have 2 questions,
- couldn't you use foobar dither instead? (well I know it can only be used at 16 bit output)
- What kind of DAC's would not like (digital) silence?
Title: DSP plugin that adds white noise or DC offset
Post by: Yirkha on 2009-07-01 14:51:53
See this topic (http://www.hydrogenaudio.org/forums/index.php?showtopic=72996), maybe.
Title: DSP plugin that adds white noise or DC offset
Post by: lvqcl on 2009-07-01 15:51:27
Sorry to ask but, but why would you want to do that, adding white noise?

I have 2 questions,
- couldn't you use foobar dither instead? (well I know it can only be used at 16 bit output)
- What kind of DAC's would not like (digital) silence?

Sorry for (possible) confusion. Yes, Yirkha pointed to the thread where you can see some grounds for this plugin.
And, there was an earlier thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=72193) with the same problem.
One possible explanation is that only foobar output is truly all zeros when the signal is silent, but I have no way of proving that right now. Suggestions on how to test this are welcome.

Well, this plugin can help to prove or disprove it.
Title: DSP plugin that adds white noise or DC offset
Post by: Chris Norman on 2009-07-05 11:36:32
See this topic (http://www.hydrogenaudio.org/forums/index.php?showtopic=72996), maybe.


Now, I understand the purpose...
Title: DSP plugin that adds white noise or DC offset
Post by: solomonkane456 on 2010-02-07 00:36:31
This is genius and  a great solution for hdmi audio "silent stream" problem. Could you, by any chance
develop this plugin for other players, for instance KMPlayer?
Title: DSP plugin that adds white noise or DC offset
Post by: lvqcl on 2010-02-07 11:03:26
Sorry, I don't plan to do this.
Title: DSP plugin that adds white noise or DC offset
Post by: solomonkane456 on 2010-02-07 18:05:02
Thanks anyway:)
Title: DSP plugin that adds white noise or DC offset
Post by: amiti on 2012-10-02 15:07:44
In this plugin one can choose to which bit to add the noise. Should the desired output bit depth influence this decision? If I wanted to mimic TPDF noise what would I choose?
Title: DSP plugin that adds white noise or DC offset
Post by: lvqcl on 2012-10-02 15:23:41
Should the desired output bit depth influence this decision?

It depends on what you want.

If I wanted to mimic TPDF noise what would I choose?

It is always tpdf, just with different level.
Title: DSP plugin that adds white noise or DC offset
Post by: amiti on 2012-10-02 18:41:08
Quote
It depends on what you want.


Thank you lvqcl. I was asking what is considered standard or common setting in other software that allow TPDF dither. Would they add the same level of noise to 16 bit and 24 bit target bitdepths? What noise level would be considered normal or common?

Title: DSP plugin that adds white noise or DC offset
Post by: amiti on 2012-10-10 20:51:51
I opened a separate thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=97341&hl=) to understand the dither and noise terminology a little better.

Now , may I ask , if I wanted to dither to 16 bit output format , using your plugin , would the usual way be to set the noise to the 16th bit? Similarly if the target format is 24 bit should the noise in your plugin be set to the 24th bit?
Title: DSP plugin that adds white noise or DC offset
Post by: lvqcl on 2012-10-11 15:23:12
if I wanted to dither to 16 bit output format , using your plugin , would the usual way be to set the noise to the 16th bit? Similarly if the target format is 24 bit should the noise in your plugin be set to the 24th bit?


Yes, that's right