Copyright © 2006-2019 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 CallbackForRecordersEvents delegate which is invoked with the nEvent parameter set to EV_REC_WAVE_ANALYSIS_PERC, after the method is completed 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 class section.

 

 

Syntax

 

[Visual Basic]

Public Function AnalyzeFullSound (

) as enumErrorCodes


 

[C#]

public enumErrorCodes AnalyzeFullSound (

);


 

[C++]

public: enumErrorCodes 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.