Editing voice messages

The editing functions enable you to access and modify data in a voice object without actually playing or recording. You can open a file and edit it without needing a voice board.

The Voice Message service provides functions for the following editing tasks:

Copying and converting messages

Use the following functions to copy and convert messages:

To...

Use...

Create or replace a message in a destination object with a copy of a message in a source object when the encoding is the same

vceCopyMessage

Create or replace a message in a destination object with a copy of a message in a source object when the encoding is different or you want to change the amplitude

vceConvertMessage


The vcecopy demonstration program demonstrates copying messages from one voice file to another.

Erasing messages

Use the following functions to erase messages:

To...

Use...

Remove an entire message from a specified voice object by changing the message size to zero (0)

vceEraseMessage

Remove a specified number of milliseconds of data at the current position in the current message

vceErase


Reading and writing messages

Use the following functions to read and write messages:

To...

Use...

Read data at the current position in the current message

vceRead

Write data at the current position in the current message

vceWrite