Copyright © 2013-2017 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 AnalyzeSoundFromFile, AnalyzeSoundFromFileRaw or ExternalSoundAnalysisStop methods.

 

 

Syntax

 

[Visual Basic]

WaveAnalysisDone (

ByVal nTotalPeaksDetected as Long,

ByVal fPeakDurationInMs as Single,

ByVal nMaxPeakLeft as Long,

ByVal nMaxPeakRight as Long

)


 

[C++]

void WaveAnalysisDone (

long nTotalPeaksDetected,

float fPeakDurationInMs,

long nMaxPeakLeft,

long nMaxPeakRight

);


 

 

Parameter

Description

 

 

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 the highest peak detected on the left channel; the peak value can be in the range from 0 to 32767

nMaxPeakRight

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