WaveformAnalyzer.AnalyzeFullSound method |
|
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 CallbackPercentage delegate is invoked, with the nOperation parameter set to OPERATION_WAVE_ANALYSIS, in order to notify about the percentage of advancement.
After completing the analysis, 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 further details about callback delegates see the How to synchronize the container application with the API tutorial. For details 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
Return value
|