Copyright © 2008-2019 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 WaveformAnalyzer.AnalyzeFullSound method.

 

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event WaveAnalysisDone As WaveAnalysisDoneEventHandler


 

[C#]

public event WaveAnalysisDoneEventHandler WaveAnalysisDone;


 

[C++]

public: __event WaveAnalysisDoneEventHandler WaveAnalysisDone;


 

 

Event Data

 

The event handler receives an argument of type WaveAnalysisDoneEventArgsEventArgs having the following parameters:

 

Parameters

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.