COMMA DELIMITED (v1) .txt FILE FORMAT
File Format Name: Comma Delimited (v1) .txt
Code: SLCD
Version:
V1
This file format is composed of lines of plain ASCII text. Each line is terminated with CR/LF (carriage return/line feed). This file can be viewed or edited by any plain text editor (e.g. Windows NotePad). The file's default extension is ".txt"
The first lines of this file are:
SLCD
V1
fps,<frames per sec.>
frameRange,<startFrame>,<endFrame> frameNo,timeInSecs,timeCode,volume,mouthShape
The succeeding lines in the file are the data elements themselves.
- frameNo
- The Frame Number is an integer value specifying the frame number where the keyframe is placed.
- timeInSecs
- Time In Seconds: This specifies the time in seconds in the timeline where the keyframe is placed.
- timeCode
- This is just another way of specifying the time of the keyframe. This format is HH:MM:SS:FF where HH is hour, MM is minute, SS is second and FF is frame number.
- volume
- This is a value between 0 and 1 and describes the relative loudness of the original waveform audio at this point in time. This can be useful for building file importers that can also adjust mouth size based on the volume of the audio.
- mouthShape
- This is a character string enclosed in quotation marks. This specifies the keyframe or mouthshape that is to be placed at this particular moment in time. The actual string values may differ depending on the mouth shape definition file that was used during creation of the project
The following example file are the contents of the file exported from the Tiger Welcome Sample project. The first line as mentioned is the header and the next lines are the data themselves. For example, let us take a look at the third line: "25, 0.83,00:00:00:25,0.12,"E"".
This means that at frame 25, which is 0.83 seconds from the start of the audio, we should place a mouth shape "E" in the animation. The audio volume is 0.12, or 12% of the maximum setting in the audio (wav) file.
SLCD |