Table of Contents

TryMeasureSampleInterval

Methods
public bool TryMeasureSampleInterval(out double measuredSampleInterval)

Finds the second largest duration between two samples frames in the last Coherence.Interpolation.SampleBuffer`1.sampleCountForMeasuringInterval samples. It also stops measuring when it reaches a stopped sample. Used for measuring real SampleRate.

Parameters
Type Name Description
double measuredSampleInterval
Returns
Type Description
bool

True if there are enough samples to measure the interval, with measuredSampleInterval set to maximum duration between two adjecent samples.