Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Z F
--- Miguel Lobo <[EMAIL PROTECTED]> wrote: > > > > No, you do not... :) Ever heard of texture synthesis? All you need > > is statistical properties, not the signal itself to generate which > > looks like a cat. So, it can be done without the original :) Since > the > > main features of the signal

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Mihail Zenkov
On Fri, 11 May 2007 12:54:45 -0700 (PDT) Z F <[EMAIL PROTECTED]> wrote: > > --- Miguel Lobo <[EMAIL PROTECTED]> wrote: > > > > > > > It does not matter if you add random float to a float and truncate > > or > > > trancate and add a random bit, the outcome will be exactly the same > > > sequence

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Miguel Lobo
No, you do not... :) Ever heard of texture synthesis? All you need is statistical properties, not the signal itself to generate which looks like a cat. So, it can be done without the original :) Since the main features of the signal are preserved after truncation (otherwise it would have been use

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Z F
--- Miguel Lobo <[EMAIL PROTECTED]> wrote: > > > > It does not matter if you add random float to a float and truncate > or > > trancate and add a random bit, the outcome will be exactly the same > > sequence of bits so it does not matter, you can always add dither > > later. > > > > Write it out.

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Miguel Lobo
It does not matter if you add random float to a float and truncate or trancate and add a random bit, the outcome will be exactly the same sequence of bits so it does not matter, you can always add dither later. Write it out... trun(signal + noise) = trun(signal) + noise' notice that noise' is

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Z F
--- Miguel Lobo <[EMAIL PROTECTED]> wrote: > > I'm with Mihail on this one: turning off dithering would serve no > purpose. > The moment you truncate certain signals without dithering you will be > introducing high-energy harmonics and nothing you do later will get > rid of > them. Therefore, if

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Miguel Lobo
Just to chime in on my opinion once more. When FluidSynth converts to 16 bit, I think dithering should be a runtime configurable option, which is by default turned on. If you want to turn it off just set "synth.dither = 0" and be happy ;) I'm with Mihail on this one: turning off dithering wo

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Z F
> Just to chime in on my opinion once more. When FluidSynth converts > to > 16 bit, I think dithering should be a runtime configurable option, > which > is by default turned on. If you want to turn it off just set > "synth.dither = 0" and be happy ;) Or if sending output to your > lovely > high

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Mihail Zenkov
On Thu, 10 May 2007 11:24:51 -0700 (PDT) Z F <[EMAIL PROTECTED]> wrote: > > --- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > > > > > :) Where are you read this? I six years do amplifiers (mainly on > > tubes) > > and acoustics. All amplification strongly linear. Otherwise, we have > > big THD and

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Josh Green
On Thu, 2007-05-10 at 12:56 -0700, Z F wrote: > My point was that there is something wrong in the setup which Mihail > uses and not with > the synthesizer itself. The fix was proposed to modify the synthesizer > which I think is not correct. This is where we are arguing. Can you > make > a comment