The Smoother class. Use this to smooth input data from a gui or 3D world at the audio rate to avoid clicks. Also works well for portamento
More...
The Smoother class. Use this to smooth input data from a gui or 3D world at the audio rate to avoid clicks. Also works well for portamento
◆ Smoother()
ATKSharp.Utilities.Smoother.Smoother |
( |
float |
smoothTime = 20f , |
|
|
float |
startValue = 0f |
|
) |
| |
Initializes a new instance of the Smoother class.
- Parameters
-
smoothTime | The initial smooth time. |
startValue | The initial value. |
◆ Smooth()
float ATKSharp.Utilities.Smoother.Smooth |
( |
float |
input | ) |
|
Smooths the input.
- Parameters
-
- Returns
- Returns the smoothed value.Utlities
◆ CurrentSample
float ATKSharp.Utilities.Smoother.CurrentSample |
|
get |
◆ SmoothTime
float ATKSharp.Utilities.Smoother.SmoothTime |
|
getset |
Gets or sets the smooth time.
The documentation for this class was generated from the following file:
- D:/Users/ATLAS/Documents/ATK-Sharp/ATKSharp/Utilities/Smoother.cs