Converting from float to integer is an interesting case.

We actually should dither 32 bit float to 32 bit integer when the RMS signal is
below .004, since in that range we are effectively downsampling.  We should
dither 32 bit float to 24 bit integer when the signal is below 1.0 RMS, i.e all
the time.  

However, if the original signal came from a 24 bit integer source, and it has
not been modified, i.e. no effects applied, then the dither noise should be
adding to low significance bits which are zero, and so should not affect the
output.  So if we test importing 24 bit to 32 bit float, then exporting to 24
bit, we should not see the dither noise.  

I really think getting dither noise exactly right for float to 24 bit is
council of perfection.  How many of our users are even sampling with 24 bit
accuracy?  24 bit to 16 bit matters, but I think we can shift what we are
worrying about here to P4.

The issue of applying dither when we shouldn't, or too much dither, is P3, I
agree.  The issue of not applying dither when perhaps we should is far less of
a worry.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/608964

Title:
  Select-all + Export Selected produces different .wav file

To manage notifications about this bug go to:
https://bugs.launchpad.net/audacity/+bug/608964/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to