MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
GetMaxPeakFromWaveDataMaxHistory Method (history, bufferSizeToAnalyse, channelType)
NamespacesMPfm.SoundAudioToolsGetMaxPeakFromWaveDataMaxHistory(List<(Of <<'(WaveDataMinMax>)>>), Int32, ChannelType)
Returns the maximum peak of a list of min/max peaks. The values range from -1.0f to 1.0f.
Declaration Syntax
C#Visual Basic
public static float GetMaxPeakFromWaveDataMaxHistory(
	List<WaveDataMinMax> history,
	int bufferSizeToAnalyse,
	ChannelType channelType
)
Public Shared Function GetMaxPeakFromWaveDataMaxHistory ( _
	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)

Assembly: MPfm.Sound (Module: MPfm.Sound) Version: 0.5.3.0 (0.5.3.0)