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