Class DitherResponse
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
Dithers responses by adding noise before passing it to a step response. The noise is provided by an arbitrary generator, and errors are diffused over several calls.
public class DitherResponse
- Inheritance
-
DitherResponse
- Inherited Members
- Extension Methods
Constructors
- DitherResponse(IResponseCurve<float>, IGenerator<float>, float[])
Constructs a new DitherResponse.
- DitherResponse(IResponseCurve<float>, int, float, float[])
Dithers responses by adding noise before passing it to a step response. If the quality of the noise is 1, the noise is uniform noise. If the quality of the noise is 2, the noise is triangular noise. The higher the quality, the closer the noise follow a random distribution.
Properties
- this[float]
Gives the quantized value of the given input.