Click or drag to resize
Accord.NET (logo)

SignalNumberOfSamples Method

Gets the number of samples contained in a signal of given duration and sampling rate.

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

Parameters

duration
Type: SystemInt64
samplingRate
Type: SystemInt32

Return Value

Type: Int32
See Also