Takes a block of wave data from both channels and detects if the volume level reaches or goes past
the distortion threshold passed in parameter. The distortion threshold is measured in decibels
(ex: 0.0f for 0dB)
Declaration Syntax
Parameters
- waveDataLeft (array<Single>[]()[][])
- Raw wave data (left channel)
- waveDataRight (array<Single>[]()[][])
- Raw wave data (right channel)
- convertNegativeToPositive (Boolean)
- Convert negative values to positive values (ex: true when used for output meters, false when used with wave form display controls (since the negative value is used to draw the bottom end of the waveform).
- distortionThreshold (Single)
- If the volume level reaches or goes past this threshold, the method retuns true.
Return Value
[Missing <returns> documentation for "M:MPfm.Sound.AudioTools.CheckForDistortion(System.Single[],System.Single[],System.Boolean,System.Single)"]