TCustomRVMicrophone.NoiseReduction, NoiseReductionLevel, UseRNNoise

<< Click to display table of contents >>

TCustomRVMicrophone.NoiseReduction, NoiseReductionLevel, UseRNNoise

Noise reduction.

property NoiseReduction: Boolean;

property NoiseReductionLevel: Integer;

property UseRNNoise: Boolean;

NoiseReduction turns noise reduction on/off.

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

The component supports two ways of noise reduction.

Built-in noise reduction

RVMediia implements a noise reduction algorithm that performs a fast Fourier transform and filtering results.

NoiseReductionLevel is used if NoiseReduction = True. It defined the level of noise reduction. The recommended range of values is 0..100. 0 means no reduction, higher values apply higher noise reduction (but may lead to higher sound distortion).

RNNoise

If RNNoise library is available, and UseRNNoise = True, the component can use RNNoise, a library that implements a noise reduction based on a recurrent neural network. Usually, RNNoise's results are better than RVMedia's own results.

NoiseReductionLevel is not used in this mode.

Note: this mode works much better for 16-bit samples than for 8-bit samples (see BiitsPerSample).

 

Default value:

NoiseReduction: True

NoiseReductionLevel: 20

UseRNNoise: True

See also

TRVAudioPlayer.NoiseReduction and NoiseReductionLevel