Click or drag to resize

Damping Class

Defines a few damping functions.
Inheritance Hierarchy
SystemObject
  GSF.Media.MusicDamping

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.218-beta
Syntax
public static class Damping
View Source

The Damping type exposes the following members.

Methods
 NameDescription
Public methodStatic memberInverseLogarithmic Produces an inverse logarithmic damping curve - slowly damping with a sharp end from 1 to 0 over the samplePeriod.
Public methodStatic memberLinear Produces a linear damping curve - damping with a perfect slope from 1 to 0 over the samplePeriod.
Public methodStatic memberLogarithmic Produces a logarithmic damping curve - strong at first and damping quickly over time from 1 to 0 over the samplePeriod.
Public methodStatic memberNatural Produces a natural damping curve very similar to that of a string based instrument - strong at first and damping quickly over time from 1 to 0 over the samplePeriod.
Public methodStatic memberReverseLinear Produces a reverse linear damping curve - damping with a perfect slope from 0 to 1 over the samplePeriod.
Public methodStatic memberSinusoidal Produces a sinusoidal damping curve oscillating from 1 to 0 to 1 over the samplePeriod.
Public methodStatic memberZero Produces a damping signature that represents no damping over time.
Top
See Also