SoundRecorder.setProcessingInterval

Set the processing interval.

The processing interval controls the period between calls to the onProcessSamples function. You may want to use a small interval if you want to process the recorded data in real time, for example.

Note: this is only a hint, the actual period may vary. So don't rely on this parameter to implement precise timing.

The default processing interval is 100 ms.

class SoundRecorder
protected
void
setProcessingInterval
(
Duration interval
)

Parameters

interval
Type: Duration

Processing interval

Meta