Use SaveVoiceSegment to save the digitized voice data that speaks a voice segment from temporary workspace to disk.
When a voice segment is first recorded, it is saved in a temporary workspace so that it can be rerecorded if necessary. SaveVoiceSegment saves the voice segment to disk.
The parameters for SaveVoiceSegment distinguish this particular voice segment from all the others in the file.
SaveVoiceSegment can have one of the following results:
With an ASCII editor, use these parameters in the following order:
Or:
For example:
label: "Check Edges" SaveVoiceSegment("VDIR_NAME", System, loc1_n, SV142) # SV142...App Profile Language edge EDGE_SAVE_VCE_SUCCESSFUL: successful edge EDGE_SAVE_VCE_UNSUCCESSFUL:unsuccessful edge EDGE_SAVE_VCE_INV_REQ: inv_req ; SaveVoiceSegment("VDIR_ID", 1, loc1_n, SV142); # SV142...App Profile Language
The parameters and edges are described above under "Parameters" and "Possible results". For more information, see Testing a state table using the debugger.