Accord.Audio.Signal.NumberOfSamples C# (CSharp) Метод

NumberOfSamples() публичный статический Метод

Gets the number of samples contained in a signal of given duration and sampling rate.
public static NumberOfSamples ( int duration, int samplingRate ) : int
duration int
samplingRate int
Результат int
        public static int NumberOfSamples(int duration, int samplingRate)
        {
            return (duration / 1000) * samplingRate;
        }