Click or drag to resize
Accord.NET (logo)

SignalDurationOfSamples Method

Gets the duration of each sample in a signal with the given number of samples and sampling rate.

Namespace:  Accord.Audio
Assembly:  Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax
public static TimeSpan DurationOfSamples(
	long samples,
	int samplingRate
)
Request Example View Source

Parameters

samples
Type: SystemInt64
samplingRate
Type: SystemInt32

Return Value

Type: TimeSpan
See Also