Copyright © 2005-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 Waveform.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 WaveAnalysisDoneEventArgs having the following parameters:

 

Parameters

Description

 

 

nPlayerIndex

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