Copyright © 2006-2018 MultiMedia Soft

WaveformAnalyzer.AnalyzeFullSound method

Previous pageReturn to chapter overviewNext page

Remarks

 

Starts the analysis of the recorded sound in order to allow the creation of bitmaps of the sound's waveform.

 

During the analysis phase, the container application will be notified about the current advancement through the following events: WaveAnalysisStart, WaveAnalysisPerc and WaveAnalysisDone: after receiving the WaveAnalysisDone event, it will be possible calculating the width in pixels of a bitmap view through the WaveformAnalyzer.SnapshotViewGetWidthForWaveform method and creating bitmaps of the waveform through the WaveformAnalyzer.SnapshotViewSaveToFile and WaveformAnalyzer.SnapshotViewSaveToMemory methods.

 

Data resulting from an analysis session can be discarded from memory using the WaveformAnalyzer.FreeMemory method.

 

This method doesn't require a previous call to the WaveformAnalyzer.Create method because it doesn't need displaying the Waveform Analyzer user interface.

 

For details about generating a waveform bitmap of the recorded sound and about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer object section.

 

 

Syntax

 

[Visual Basic]

control.WaveformAnalyzer.AnalyzeFullSound (

) as enumErrorCodes


 

[C++]

short control.WaveformAnalyzer.AnalyzeFullSound (

);


 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.