I'm sorry, I'm not a programmer. However it should be possible to use if statements to detect the precision of the current sample, and multiply the dither by the appropriate amount depending on precision.steve wrote:If you can show me an implementation of your proposed u-Law dither that works, then I'll suggest it to the developers.Piotr Grochowski wrote:However, it would still be nice to have a Preferences...
U-Law dithering
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
-
Piotr Grochowski
- Posts: 364
- Joined: Fri Jun 23, 2017 12:45 pm
- Operating System: Windows 10
Re: U-Law dithering
-
Piotr Grochowski
- Posts: 364
- Joined: Fri Jun 23, 2017 12:45 pm
- Operating System: Windows 10
Re: U-Law dithering
And isn't the statement "to the developers" redundant, as you are the main developer?steve wrote:If you can show me an implementation of your proposed u-Law dither that works, then I'll suggest it to the developers.Piotr Grochowski wrote:However, it would still be nice to have a Preferences...
-
Piotr Grochowski
- Posts: 364
- Joined: Fri Jun 23, 2017 12:45 pm
- Operating System: Windows 10
Re: U-Law dithering
Exactly the "weird effect" I am talking about. Is it evolutionary or something? (the answer to this question does not belong in this forum; it belongs in some biology forum)steve wrote:The "equal loudness curve" becomes flatter as the volume level increases (https://en.wikipedia.org/wiki/Equal-loudness_contour)Piotr Grochowski wrote:I don't know what causes the weird effect that two noises may suddenly seem similar volume when increased in volume by the same factor.
Re: U-Law dithering
I'm not the main developer. I'm the forum administrator, and I do some development, some bug fixing, and some documentation.Piotr Grochowski wrote:And isn't the statement "to the developers" redundant, as you are the main developer?
It doesn't have to be code written by you. If you can show me an implementation of u-Law dither by anyone, that is implemented in the way that you describe, and works, then I'll bring it to the attention of the (other) developers. As far as I'm aware, no such implementation exists, because dithering as you propose does not give useful results, so unless you can show me otherwise, I'm done with this topic.Piotr Grochowski wrote:I'm sorry, I'm not a programmer.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Piotr Grochowski
- Posts: 364
- Joined: Fri Jun 23, 2017 12:45 pm
- Operating System: Windows 10
Re: U-Law dithering
This is your last straw. I'm sorry, I can't find any dithering implementation for U-law online. By the way; Rectangular dithering has also been tested with u-law, it did not work either. Rectangular dithering is supposed to add a random value between 0 and 0.9999999998 times the step size, and then round DOWN to a possible sample value, right? (similarly to no dithering, which adds 0.5 times the step size before rounding down)steve wrote:I'm not the main developer. I'm the forum administrator, and I do some development, some bug fixing, and some documentation.Piotr Grochowski wrote:And isn't the statement "to the developers" redundant, as you are the main developer?
It doesn't have to be code written by you. If you can show me an implementation of u-Law dither by anyone, that is implemented in the way that you describe, and works, then I'll bring it to the attention of the (other) developers. As far as I'm aware, no such implementation exists, because dithering as you propose does not give useful results, so unless you can show me otherwise, I'm done with this topic.Piotr Grochowski wrote:I'm sorry, I'm not a programmer.