[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Purpose of dither?
From: |
Miguel Lobo |
Subject: |
Re: [fluid-dev] Purpose of dither? |
Date: |
Wed, 9 May 2007 01:36:13 +0100 |
User-agent: |
KMail/1.9.3 |
> Yes, you absolutely right. But look at that code again:
>
> for (c = 0; c < DITHER_CHANNELS; c++) {
> dp = 0;
> for (i = 0; i < DITHER_SIZE-1; i++) {
> d = rand() / (float)RAND_MAX - 0.5f;
> rand_table[c][i] = d - dp;
> dp = d;
> }
> rand_table[c][DITHER_SIZE-1] = 0 - dp;
>
> We subtract previous dither value from current to prevent noise
> modulation. I use dither table to get maximum speed.
I actually felt curious about the subtraction of the previous value too. What
do you mean by "noise modulation"? (And yes, this time I have looked it up
in Wikipedia ;)).
Regards,
Miguel
- [fluid-dev] Purpose of dither?, Miguel Lobo, 2007/05/07
- Re: [fluid-dev] Purpose of dither?, Mihail Zenkov, 2007/05/08
- Re: [fluid-dev] Purpose of dither?, Miguel Lobo, 2007/05/08
- Re: [fluid-dev] Purpose of dither?, Z F, 2007/05/08
- Re: [fluid-dev] Purpose of dither?, Mihail Zenkov, 2007/05/08
- Re: [fluid-dev] Purpose of dither?, Z F, 2007/05/08
- Re: [fluid-dev] Purpose of dither?, Mihail Zenkov, 2007/05/08
- Re: [fluid-dev] Purpose of dither?,
Miguel Lobo <=
- Re: [fluid-dev] Purpose of dither?, Mihail Zenkov, 2007/05/09
- Re: [fluid-dev] Purpose of dither?, Z F, 2007/05/09
- Re: [fluid-dev] Purpose of dither?, Josh Green, 2007/05/09
- Re: [fluid-dev] Purpose of dither?, Z F, 2007/05/09
- Re: [fluid-dev] Purpose of dither?, Josh Green, 2007/05/09
- Message not available
- Fwd: [fluid-dev] Purpose of dither?, Miguel Lobo, 2007/05/09
- Re: [fluid-dev] Purpose of dither?, Miguel Lobo, 2007/05/09
- Re: Fwd: [fluid-dev] Purpose of dither?, Z F, 2007/05/09
- Re: Fwd: [fluid-dev] Purpose of dither?, Mihail Zenkov, 2007/05/09
- Re: [fluid-dev] Purpose of dither?, Z F, 2007/05/09