Event: OnWaveData
|
Function: |
This event occurs every 1/8 second when VoiceAngel is playing or recording, if the fGetWaveData parameter of the StartPlaying or StartRecording methods is set to TRUE. |
|
| Parameters: |
LineIndex: The index of the line on which the event occurs. WaveData: Stores the wave data sample returned from the sampling. Values of samples are separated by "/". Sampling occurs 8 times per second. |
|
| Description: |
The second parameter of the StartPlaying and StartRecording methods, is fGetWaveData. When this parameter is set TRUE, sampling will take place and this event will be raised. If you do not require any wave data, please do not use this event. Using it requires considerable system resources. |
|
| Raised By: |
StartPlaying or StartRecording, if fGetWaveData is set to TRUE. |
|
Sample Code In Visual Basic:
Sub VoiceAngel1_OnWaveData(LineIndex as Integer, WaveData as String )
OnWaveData(LineIndex as Integer, WaveData asString )
'Draw beautiful curves by yourself.
End sub
¡¡