Media_ExtractSound ( container ; beginTime ; endTime )
Media_ExtractSound extracts a specified segment of a sound.
Parameter | Description |
---|---|
container | Sound location ( container field or file path ) |
beginTime | Time in original sound to begin extraction (HH:MM:SS.S). | endTime | Time in original sound to end extraction (HH:MM:SS.S). |
The result must be returned to a container field.
Use Media_GetLastError to get possible error of this function.
Example
To extract the first 2 minutes of a sound:
Set Field [ MyTable::Sound Result ;
Media_ExtractSound (
MyTable::Original Sound ;
"00:00:00" ;
"00:02:00"
) ]