|
Waveform.AnalyzeFullSound method |
![]() ![]()
|
Remarks
Starts the analysis of the sound loaded inside the given player 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 Waveform.BitmapViewGetWidth method and creating bitmaps of the waveform through the Waveform.BitmapViewSaveToFile and Waveform.BitmapViewSaveToMemory methods.
NOTE: Remember that a call to a method of a certain .NET component should be never performed from within a management function of an event generated by the same .NET component: see the How to synchronize the container application with the control tutorial for further details.
Started analysis can be aborted through the Waveform.AnalyzeAbort method.
This method doesn't need a previous call to the Waveform.Create method.
For further details about generating a waveform bitmap of the loaded sound, before starting its playback, refer to the How to obtain the sound's waveform tutorial.
Syntax
Return value
|