Jump to content

OBD:OSBD/OSGr: Difference between revisions

m
testing new OBDtr template
m (version (thanks to Neo))
m (testing new OBDtr template)
Line 4: Line 4:


{{Table}}
{{Table}}
{{OBD_Table_Header}}
{{OBD Table Header}}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | 4cc   |FF0000| 72 47 53 4F | OSGr | Oni Sound Group }}
|0x00||4cc||BGCOLOR="#FF0000"|72 47 53 4F||OSGr||ALIGN=LEFT|Oni Sound Group
{{OBDtr| 0x04 | int32 |FFFF00| B4 00 00 00 | 180 | size of OSGr chunk (from after this field and to the end) }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x08 | bool32 |FFC8C8| 06 00 00 00 | 6   | OSGr version (see below) }}
|0x04||int32||BGCOLOR="#FFFF00"|B4 00 00 00||180||ALIGN=LEFT|180 bytes; size of the part that follows
{{OBDtr| 0x0C | float |FFFFC8| 00 00 80 3F | 1.| playback volume (present for version 2 and above, default is 1) }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x10 | float |C8FFC8| 00 00 80 3F | 1.| playback speed AKA pitch (present for version 3 and above, default is 1) }}
|0x08||bool32||BGCOLOR="#FFC8C8"|06 00 00 00||6||ALIGN=LEFT|version (see below)
{{OBDtr| 0x14 | int16 |C8FFFF| 00 00       | 0   | unknown flag (present for version 6 and above, default is 0) }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x16 | int16 |FFC8FF| 00 00       | 0   | prevent repeats (present for version 6 and above, default is 0) }}
|0x0C||float||BGCOLOR="#FFFFC8"|00 00 80 3F||1.000000||ALIGN=LEFT|playback volume (present for version 2 and above, default is 1)
{{OBDtr| 0x18 | int32  |FFC800| 00 00 00 00 | 1   | unknown }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x1C | int32 |C800C8| 72 47 53 4F | 3   | array size }}
|0x10||float||BGCOLOR="#C8FFC8"|00 00 80 3F||1.000000||ALIGN=LEFT|playback speed AKA pitch (present for version 3 and above, default is 1)
|- ALIGN=CENTER VALIGN=TOP
|0x14||int16||BGCOLOR="#C8FFFF"|00 00||0||ALIGN=LEFT|unknown flag (present for version 6 and above, default is 0)
|- ALIGN=CENTER VALIGN=TOP
|0x16||int16||BGCOLOR="#FFC8FF"|00 00||0||ALIGN=LEFT|prevent repeats (present for version 6 and above, default is 0)
|- ALIGN=CENTER VALIGN=TOP
|0x18||unknown||BGCOLOR="#FFC800"|01 00 00 00||1||ALIGN=LEFT|unknown
|- ALIGN=CENTER VALIGN=TOP
|0x1C||int32||BGCOLOR="#C800C8"|03 00 00 00||3||ALIGN=LEFT|array size
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|BGCOLOR="#000000" COLSPAN=5|<FONT SIZE=2 COLOR="#FFFFFF">First element detailed below.</FONT>
|BGCOLOR="#000000" COLSPAN=5|<FONT SIZE=2 COLOR="#FFFFFF">First element detailed below.</FONT>
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | int32   |C87C64| 0A 00 00 00 | 10 | weight }}
|0x00||int32||BGCOLOR="#C87C64"|0A 00 00 00||10||ALIGN=LEFT|weight
{{OBDtr| 0x04 | float   |B0C3D4| 00 00 80 3F | 1.0 | minimum volume }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x08 | float   |E7CEA5| 00 00 80 3F | 1.0 | maximum volume }}
|0x04||float||BGCOLOR="#B0C3D4"|00 00 80 3F||1.000000||ALIGN=LEFT|minumum volume
{{OBDtr| 0x0C | float   |FFDDDD| 33 33 33 3F | 0.7 | minimum pitch }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x10 | float   |64AAAA| 33 33 33 3F | 0.7 | maximum pitch }}
|0x08||float||BGCOLOR="#E7CEA5"|00 00 80 3F||1.000000||ALIGN=LEFT|maximum volume
|- ALIGN=CENTER VALIGN=TOP
|0x0C||float||BGCOLOR="#FFDDDD"|33 33 33 3F||0.700000||ALIGN=LEFT|minimum pitch
|- ALIGN=CENTER VALIGN=TOP
|0x10||float||BGCOLOR="#64AAAA"|33 33 33 3F||0.700000||ALIGN=LEFT|maximum pitch
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x14||char[32]||BGCOLOR="#EBEBEB" COLSPAN=2|<TT>ac5lp1.aif</TT>||ALIGN=LEFT|permutation sound name (reference to f.e. 09376-ac5lp1.aif.[[OBD:SNDD|SNDD]] of level 3)
|0x14||char[32]||BGCOLOR="#EBEBEB" COLSPAN=2|<TT>ac5lp1.aif</TT>||ALIGN=LEFT|permutation sound name (reference to f.e. 09376-ac5lp1.aif.[[OBD:SNDD|SNDD]] of level 3)