Returns the maximum peak (in decibels) of a list of min/max peaks.
The values range from -1.0f to 1.0f.
Declaration Syntax
C# | Visual Basic |
public static float GetMaxdBPeakFromWaveDataMaxHistory( List<WaveDataMinMax> history, int bufferSizeToAnalyse, ChannelType channelType )
Public Shared Function GetMaxdBPeakFromWaveDataMaxHistory ( _ history As List(Of WaveDataMinMax), _ bufferSizeToAnalyse As Integer, _ channelType As ChannelType _ ) As Single
Parameters
- history (List<(Of <(<'WaveDataMinMax>)>)>)
- List of min/max peaks
- bufferSizeToAnalyse (Int32)
- Buffer size to analyse
- channelType (ChannelType)
- Channel type
Return Value
PeakInfo data structure (peak + position)