Copyright © 2011-2018 MultiMedia Soft

OnWaveformAnalyzerWaveRangeReached event

Previous pageReturn to chapter overviewNext page



Occurs when the playback position reaches a graphic item of type "wave range" inside the waveform analyzer.


This event replaces the usage of the CallbackWaveformAnalyzerWaveRangeReached delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventsEnable method.


For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.

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.




[Visual Basic 6]

Private Sub EditorApi_OnWaveformAnalyzerWaveRangeReached ( _

ByVal nUniqueID as Integer, _

ByVal nStartPosInMs as Long, _

ByVal nEndPosInMs as Long _



where "EditorApi" is declared in Visual Basic 6 code as:


Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj



Event Data







Unique identifier of the wave range; this unique identifier matches the unique identifier used when the wave range was created through the WaveformAnalyzer.GraphicItemWaveRangeAdd method.


Start position of the wave range expressed in milliseconds


End position of the wave range expressed in milliseconds