Method: AppendWaveFile
|
Function: |
Add another Wave file to an existing one |
|
| Parameters: |
fileName as String. "fileName" is the name of the file to be added. It should be the same format and status (sample rate, bits, etc.) as the existing file, and it should be on a path where it can be found (current directory or fully specified path) |
|
| Description: |
Use this Method to concatenate Wave Files. For example, you could append a "Beep" file to an OGM (outgoing message) so that Beep plays immediately after the OGM, but only ONE "PlayDone" event is raised. After the insertion ,the current position of the current wave file moves to the end of the inserted wave file. So if you intend to play or record the wave file from the start of the wave file, you should use SeekWaveFile to move the current position to the start of the wave file. |
|
| Dependencies: |
You must have a currently Open Wave file to append to. See OpenWaveFile and NewWaveFile. |
|
| Events Raised: |
None. |
|
Sample Code In Visual Basic:
The following code shows how to merge three wave files and play them together after a "1" digit has been detected.