Difference between revisions of "WAV Audio"

From XentaxWiki
Jump to: navigation, search
(Format Specifications)
(Games)
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== WAV ==
  
{{CompactGRAFTOC}}
+
* ''' Format Type ''':    Audio <br>
 +
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
 +
 
 +
 
 +
=== Format Specifications ===
  
<div style="border:solid 1px #AAAAAA; padding:4px; background-color:#F9F9F9;">
 
<i>Format Type:</i> Audio<br />
 
<i>Extensions:</i> wav<br />
 
<i>Platforms:</i> <i>unknown</i><br />
 
<i>Endian Order:</i> Little Endian
 
</div>
 
<br /><br />
 
== Format Specifications ==
 
 
<pre>
 
<pre>
 
// WAV Audio file format
 
// WAV Audio file format
  
// TODO
+
// little endian
</pre>
+
 
 +
//RIFF chunk
 +
4 bytes (char) - chunk ID // "RIFF"
 +
4 bytes (uint32) - chunk size
 +
4 bytes (char) - format // "WAVE"
  
== MultiEx BMS Script ==
+
//fmt sub-chunk
 +
4 bytes (char) - subchunk ID // "fmt "
 +
4 bytes (uint32) - subchunk size
 +
2 bytes (uint16) - audio format // "1"
 +
2 bytes (uint16) - number of channels
 +
4 bytes (uint32) - sample rate
 +
4 bytes (uint32) - byte rate
 +
2 bytes (uint16) - block align // "2"
 +
2 bytes (uint16) - bits per sample
  
<pre>Do ;
+
//data sub-chunk
SavePos FILESTART 0 ;
+
4 bytes (char) - subchunk ID // "data"
SavePos FILEOFF 0 ;
+
4 bytes (uint32) - data size
Get DUMMYL Long 0 ;
+
x bytes - raw sound data
Get FILESIZE Long 0 ;
 
Math FILESIZE += 8 ;
 
Log "" FILEOFF FILESIZE 0 0 ;
 
Math FILESTART += FILESIZE ;
 
GoTo FILESTART 0 ;
 
While NotEOF <> 0 ;
 
 
</pre>
 
</pre>
  
== Supported Programs ==
+
=== MultiEx BMS Script ===
 +
 
 +
Not written yet.<br>
  
* [[MultiEx Commander|MultiEx Commander]]
+
=== Notes and Comments ===
* [[Game Extractor|Game Extractor]]
 
* Winamp
 
* Windows Media Player
 
  
== Notes ==
+
* These are WAV Audio files.<br>
  
None.
+
=== Compatible Programs ===
  
== Games ==
+
* Winamp
 +
* Windows Media Player
  
 +
=== Games===
 +
List of games using this file format:
 +
* Absolute Evil
 
* [[Donald Duck: Quack Attack]]
 
* [[Donald Duck: Quack Attack]]
 +
* [[Enter the Matrix]]
 +
* [[Giana’s Return]]
 +
* Insane / 1nsane (PC) (*.WAV)
 +
* [[Mat Hoffman's Pro BMX]]
 +
* [[SpongeBob SquarePants: Operation Krabby Patty]]
 +
* [[Stuart Little 2]]
 +
* [[Urban Chaos]]
 +
* Zenek Zombie
 
* Many more...
 
* Many more...
 
<br /><br />
 
  
  
 +
[[Category:Complete WIP|WAVE Audio]]
 +
[[Category:Platform PC|WAVE Audio]]
 +
[[Category:CE Compressed|WAVE Audio]]
 
[[Category:Format_Audio | Type: Audio]]
 
[[Category:Format_Audio | Type: Audio]]
[[Category:Complete_WIP]]
 
 
[[Category:Extension_wav | Extension: wav]]
 
[[Category:Extension_wav | Extension: wav]]
 +
[[Category:BMS_None | BMS: None]]
 
[[Category:File Format]]
 
[[Category:File Format]]

Revision as of 23:33, 25 September 2021

WAV


Format Specifications

// WAV Audio file format

// little endian

//RIFF chunk
4 bytes (char) - chunk ID // "RIFF"
4 bytes (uint32) - chunk size
4 bytes (char) - format // "WAVE"

//fmt sub-chunk
4 bytes (char) - subchunk ID // "fmt "
4 bytes (uint32) - subchunk size
2 bytes (uint16) - audio format // "1"
2 bytes (uint16) - number of channels 
4 bytes (uint32) - sample rate
4 bytes (uint32) - byte rate
2 bytes (uint16) - block align // "2"
2 bytes (uint16) - bits per sample

//data sub-chunk
4 bytes (char) - subchunk ID // "data"
4 bytes (uint32) - data size
x bytes - raw sound data

MultiEx BMS Script

Not written yet.

Notes and Comments

  • These are WAV Audio files.

Compatible Programs

  • Winamp
  • Windows Media Player

Games

List of games using this file format: