mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
個人BLOG
it developer
  1. Main page
  2. dev
  3. Main content

Wave Files

2016-04-19 122hotness 0likes 0comments

Overview
The Wave file format is Windows'
native file format for storing digital audio data. It has become one of
the most widely supported digital audio file formats on the PC due to
the popularity of Windows and the huge number of programs written for
the platform. Almost every modern program that can open and/or save
digital audio supports this file format, making it both extremely useful
and a virtual requirement for software developers to understand. The
following specification gives a detailed description of the structure
and inner workings of this format. Little-Endian (least significant byte first) order.

Data Formats
Since the Wave file format is native to Windows and therefor Intel processors, all data values are stored in

Strings
Wave files may contain strings of text for
specifying cue point labels, notes, etc. Strings are stored in a format
where the first byte specifies the number of following ASCII text bytes
in the string. The following bytes are of course the ASCII character
bytes that make up the text string. Pascal programmers will notice that
this is the same format used for Pascal strings.

 

7 'e' 'x' 'a' 'm' 'p' 'l' 'e'

Wave String Format Example

File Structure

Basic Wave File Layout

 

Chunk ID "RIFF"
Chunk Data Size
RIFF Type ID "WAVE"

Chunk ID "fmt "
Chunk Data Size
Sample Format Info

Tag: Nothing
Last updated:2016-04-19

mikebai

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang