<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wexosmk.xyz/index.php?action=history&amp;feed=atom&amp;title=WAV_%28File_Format%29</id>
	<title>WAV (File Format) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wexosmk.xyz/index.php?action=history&amp;feed=atom&amp;title=WAV_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=WAV_(File_Format)&amp;action=history"/>
	<updated>2026-04-07T18:45:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.wexosmk.xyz/index.php?title=WAV_(File_Format)&amp;diff=357&amp;oldid=prev</id>
		<title>Wexos: Wexos moved page WAV (File Format).txt to WAV (File Format) without leaving a redirect: Accidental .txt suffix</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=WAV_(File_Format)&amp;diff=357&amp;oldid=prev"/>
		<updated>2024-05-01T19:01:43Z</updated>

		<summary type="html">&lt;p&gt;Wexos moved page &lt;a href=&quot;/index.php?title=WAV_(File_Format).txt&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WAV (File Format).txt (page does not exist)&quot;&gt;WAV (File Format).txt&lt;/a&gt; to &lt;a href=&quot;/index.php/WAV_(File_Format)&quot; title=&quot;WAV (File Format)&quot;&gt;WAV (File Format)&lt;/a&gt; without leaving a redirect: Accidental .txt suffix&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:01, 1 May 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
	<entry>
		<id>https://wiki.wexosmk.xyz/index.php?title=WAV_(File_Format)&amp;diff=332&amp;oldid=prev</id>
		<title>Wexos: Imported from avsys wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=WAV_(File_Format)&amp;diff=332&amp;oldid=prev"/>
		<updated>2024-05-01T18:07:52Z</updated>

		<summary type="html">&lt;p&gt;Imported from avsys wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;WAV&amp;#039;&amp;#039;&amp;#039; is a common file format for storing sound data. The WAV format is extended from RIFF.&lt;br /&gt;
&lt;br /&gt;
= File Format =&lt;br /&gt;
The file byte order is always little endian.&lt;br /&gt;
&lt;br /&gt;
== RIFF Header ==&lt;br /&gt;
The file starts with the common RIFF header which has the following structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;File magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;RIFF&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Size of data&amp;#039;&amp;#039;&amp;#039; after this field.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt32 || &amp;#039;&amp;#039;&amp;#039;RIFF type&amp;#039;&amp;#039;&amp;#039;. For WAV files this must be &amp;#039;&amp;#039;WAVE&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== fmt Block ==&lt;br /&gt;
The fmt block contains general information about the sound. It has the following structure: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;fmt &amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Size of data&amp;#039;&amp;#039;&amp;#039; following this structure, which is included in this block.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Audio format&amp;#039;&amp;#039;&amp;#039; Specifies what type of audio the [[#data Block|data block]] stores.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || UInt16 || &amp;#039;&amp;#039;&amp;#039;Number of channels&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Sample rate&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Byte rate&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Block align&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x16 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Bits per sample&amp;#039;&amp;#039;&amp;#039;. Specifies the size of one channel audio sample in bits.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== data Block ==&lt;br /&gt;
The data block stores all the actual audio data.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;data&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Size of data&amp;#039;&amp;#039;&amp;#039; after this field, which is the size of the audio data (&amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte[&amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;] || &amp;#039;&amp;#039;&amp;#039;Audio data&amp;#039;&amp;#039;&amp;#039;. The data stores the samples frame, meaning the sample of channel 1 in the first frame is stored first, then the sample of channel 2 in the first frame, and so on. After that comes the samples for the next frame, and so on.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Misc File Formats]]&lt;/div&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
</feed>