TCustomRVMicrophone.SoundIgnoreInterval

<< Click to display table of contents >>

TCustomRVMicrophone.SoundIgnoreInterval

Defines the minimal acceptable interval of changes of the sound amplitude.

property SoundIgnoreInterval: Byte;

For the given period of time, the component calculates the average value of the sound amplitude (Av). If sound amplitude varies in the interval [Av-SoundInterval, Av+SoundInterval], the sound is ignored.

This property allows to cut off a monotonous hum.

This property is applied to sound read from a microphone. If WAVUseOptions=True, it is applied to sound from WAV-files as well.

Note: value of this property corresponds to 8-bit sound audio samples (BitsPerSample = rvbps8). If BitsPerSample = rvbps16, the value of this property is multiplied by 256 before the comparison with samples.

Default value:

5