Click or drag to resize

TimbreAngularFrequency Method

Computes the angular frequency for the given time.

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.207-beta
Syntax
public static double AngularFrequency(
	double frequency,
	long sampleIndex,
	double sampleRate
)
View Source

Parameters

frequency  Double
Frequency in Hz.
sampleIndex  Int64
Sample index (represents time anywhere from zero to full length of song).
sampleRate  Double
Number of samples per second.

Return Value

Double
The computed angular frequency in radians per second at given time.
See Also