Lip File Format: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "y[ _]*\|[ _]*(arma[0-9]+)[ _]*\|[ _]+" to "y|$1|")
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{unsupported-doc}}
{{Feature|UnsupportedDoc}}
Lip is a humanly readable text file via bis tool [[Wave2Lip]] that analyses a wss or ogg sound file and produces lip sync for the speaking character.
Lip is a humanly readable text file via bis tool [[Wave2Lip]] that analyses any wss, wav, or ogg sound file and produces lip expressions (lip sync) for the speaking character.
 
The source sound must be mono, 16 bit, to have any meaning in a lip file.
 
The data within is sampled every <frame> seconds which happens to be a fixed in concrete 40msec, but could be changed by oem, or bis.
 
Only changes of expression are stored in a lip file. If there's nothing stated at that <frame> interval, no change (obviously) takes place.
 
The expression is a filtered delta change between one sample interval and the next.
 
<pre>
<pre>
frame = 0.040// constant
frame = 0.040// A constant.
0.000, 0 //start time to millisecs, range 0..7
time  expression(range 0..7)
0.000, 0 //start time always 0
0.080, 2
0.080, 2
.....
.....
11.080, -1 //end 11.080 is also length of sound file
11.080, -1 //end time. which is also the length in seconds of sound file
</pre>
</pre>




*The range appears to be the various 'mimics' you can have on character's face.
*The last time parm == length of sound file
<nowiki>
[[Category:BIS_File_Formats]]
[[Category:BIS_File_Formats]]
[[Category:ArmA: File Formats]]
{{GameCategory|arma1|File Formats}}
</nowiki>

Latest revision as of 14:09, 22 June 2021

bi symbol white.png
Disclaimer: This page describes internal undocumented structures of Bohemia Interactive software.

This page contains unofficial information.

Some usage of this information may constitute a violation of the rights of Bohemia Interactive and is in no way endorsed or recommended by Bohemia Interactive.
Bohemia Interactive is not willing to tolerate use of such tools if it contravenes any general licenses granted to end users of this community wiki or BI products.

Lip is a humanly readable text file via bis tool Wave2Lip that analyses any wss, wav, or ogg sound file and produces lip expressions (lip sync) for the speaking character.

The source sound must be mono, 16 bit, to have any meaning in a lip file.

The data within is sampled every <frame> seconds which happens to be a fixed in concrete 40msec, but could be changed by oem, or bis.

Only changes of expression are stored in a lip file. If there's nothing stated at that <frame> interval, no change (obviously) takes place.

The expression is a filtered delta change between one sample interval and the next.

frame = 0.040// A constant.
time   expression(range 0..7)
0.000, 0 //start time always 0
0.080, 2
.....
11.080, -1 //end time. which is also the length in seconds of sound file