Copyright © 2001-2018 MultiMedia Soft

WaveAnalysisDone event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the analysis of a sound's waveform has been completed or aborted. The analysis is started through a previous call to the Waveform.AnalyzeFullSound method.

 

 

Syntax

 

[Visual Basic]

WaveAnalysisDone (

ByVal nPlayer as Integer,

ByVal nTotalPeaksDetected as Long,

ByVal fPeakDurationInMs as Single,

ByVal nMaxPeakLeft as Long,

ByVal nMaxPeakRight as Long

)


 

[C++]

void WaveAnalysisDone (

short nPlayer,

long nTotalPeaksDetected,

float fPeakDurationInMs,

long nMaxPeakLeft,

long nMaxPeakRight

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that fired the event.

nTotalPeaksDetected

Number representing the amount of peaks detected during the sound's analysis.

fPeakDurationInMs

Floating point number representing the duration in milliseconds of each detected peak.

nMaxPeakLeft

Level of max peak detected on the left channel; the peak value can be in the range from 0 to 32767

nMaxPeakRight

Level of max peak detected on the right channel; the peak value can be in the range from 0 to 32767