Click or drag to resize

DampingZero Method

Produces a damping signature that represents no damping over time.

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.218-beta
Syntax
public static double Zero(
	long sampleIndex,
	long samplePeriod,
	int sampleRate
)
View Source

Parameters

sampleIndex  Int64
Sample index (0 to samplePeriod - 1).
samplePeriod  Int64
Total period, in whole samples per second (i.e., seconds of time * sampleRate), over which to perform damping.
sampleRate  Int32
Number of samples per second, if useful for calculation.

Return Value

Double
Returns a scalar of 1.0 regardless to time.
Remarks
Zero damped sounds would be produced by synthetic sources such as an electronic keyboard.
See Also