|
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
)
Public Shared Function DurationOfSamples (
samples As Long,
samplingRate As Integer
) As TimeSpan
Request Example
View SourceParameters
- samples
- Type: SystemInt64
- samplingRate
- Type: SystemInt32
Return Value
Type:
TimeSpanSee Also