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 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 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 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-10 Thread Z F
--- Edenyard <[EMAIL PROTECTED]> wrote: > Can somebody please re-assure me that I'm not dreaming all of this: > I've tried pinching myself and I SEEM to be awake, but > > Mihail Zenkov <[EMAIL PROTECTED]> wrote, very reasonably: > > > :) Where are you read this? I six years do amplif

Re: [fluid-dev] Purpose of dither?

2007-05-10 Thread Z F
--- 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 IMD. Well, what can I say, tubes afford huge dynamic range and so they go as linear as

Re: [fluid-dev] Purpose of dither?

2007-05-09 Thread Z F
--- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > > 1. Dynamic gain just fake. I can change velocity curve in midi and > get > something similarities gamma-correction. This sounds like cheap > hardware synth. I need _full_ emulation real piano (and want better > then real, with greater dynamic ran

Re: [fluid-dev] Purpose of dither?

2007-05-09 Thread Z F
--- Z F <[EMAIL PROTECTED]> wrote: > > --- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > > > > > > > Yes, I hear. > > > > 1. 16bit accuracy give 96 dB resolution. Human limit 120dB. > > > > 2. For mostly purpose 96 dB enough.

Re: [fluid-dev] Purpose of dither?

2007-05-09 Thread Z F
> > I appreciate the discussion on the dithering additions made by > Mihail. > I'm no DSP expert unfortunately, so its nice to have others around > who > know more than me and are interested in FluidSynth. I can > conceptually > understand how converting from a higher bit width to a lower could >

Re: Fwd: [fluid-dev] Purpose of dither?

2007-05-09 Thread Z F
--- Miguel Lobo <[EMAIL PROTECTED]> wrote: > -- Forwarded message -- > From: Miguel Lobo <[EMAIL PROTECTED]> > Date: May 9, 2007 3:02 PM > Subject: Re: [fluid-dev] Purpose of dither? > To: Mihail Zenkov <[EMAIL PROTECTED]> > > Admittedly I have forgotten a lot about signal proces

Re: [fluid-dev] Purpose of dither?

2007-05-09 Thread Z F
--- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > > > > Yes, I hear. > > > 1. 16bit accuracy give 96 dB resolution. Human limit 120dB. > > > 2. For mostly purpose 96 dB enough. But when we truncate audio to > 16 > > > bit, we get new harmonics (distortion) with -60 dB level. > > > 3. When i play on

Re: [fluid-dev] Purpose of dither?

2007-05-09 Thread Z F
--- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > On Wed, 9 May 2007 01:36:13 +0100 > Miguel Lobo <[EMAIL PROTECTED]> wrote: > > > > 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-

Re: [fluid-dev] Purpose of dither?

2007-05-08 Thread Z F
Dear Mihail > My English bad, but i try answer. I am relatively sure that my native lanugage is the same as yours :) and what you wrote in English is perfectly readible to me :) > > > > First of all I do not understand why dithering is needed at all. > > All professional quality audio apps us

Re: [fluid-dev] Purpose of dither?

2007-05-08 Thread Z F
--- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > On Tue, 8 May 2007 01:22:45 +0200 > "Miguel Lobo" <[EMAIL PROTECTED]> wrote: > > > Hi list, > > > > We have this code in fluid_synth.c: > > > > #define DITHER_SIZE 48000 > > #define DITHER_CHANNELS 2 > > > > static float rand_table[DITHER_CHANNEL

Re: [fluid-dev] Delay and buffer size

2006-10-24 Thread Z F
Dear Josh Green Thank you very much for your thorough explanations. I did put "-o audio.alsa.device=hw:0" option to make fluidsynth consume 10% instead of 100% of CPU. Thanks again ZF --- Josh Green <[EMAIL PROTECTED]> wrote: > On Thu, 2006-10-12 at 19:41 -0700, Z F wrote:

[fluid-dev] Delay and buffer size

2006-10-12 Thread Z F
Hello everybody, I have read in the list archives that if there is noise while switching windows, than the buffers and the number of them needs to be increased. this will, however, will increase the delay in responce. On my system I had to do fluidsynth -c 16 -z 1024 to get rid of the noise. The q