WRID>RIFF-WAVE>LIST-wavl
TODO: overview
A WAVE file usuall contains just one data
chunk, however
[RIFF1991]
allows multiple ‘data’ and ‘slnt’ chunks enclosed in
a ‘wavl’ LIST chunk. It is specified to contain a sequence of repeating chunks,
each of which can be either a data
chunk or slnt
chunk.
Usage
While this chunk is defined in [RIFF1991] , it seems to be extremely rarely included in WAVE files. I haven't been able to find a single example in my collection of files.
LIST-wavl
chunk
Chunk | Name | Bytes | Type | condition | Description | WRID |
---|---|---|---|---|---|---|
LIST-wavl | id |
4 |
u8[4] |
id = LIST
|
...>id | |
LIST-wavl | size |
4 |
u32 |
|
...>size | |
LIST-wavl | list_type |
4 |
u8[4] |
list_type = wavl
|
...>list_type |
data
chunk
See: data
- Wave sample data
slnt
chunk
Chunk | Name | Bytes | Type | condition | Description | WRID |
---|---|---|---|---|---|---|
slnt | id |
4 |
u8[4] |
id = slnt
|
The ‘slnt’ chunk represents silence, not necessarily a repeated zero volume or baseline sample. | ...>slnt>id |
slnt | size |
4 |
u32 |
|
...>slnt>size | |
slnt | samples |
4 |
u32 |
|
Number of samples. | ...>slnt>samples |
Note: The ‘slnt’ chunk represents silence, not necessarily a repeated zero volume or baseline sample. In 16-bit PCM data, if the last sample value played before the silence section is a 10000, then if data is still output to the D to A converter, it must maintain the 10000 value. If a zero value is used, a click may be heard at the start and end of the silence section. If play begins at a silence section, then a zero value might be used since no other information is available. A click might be created if the data following the silent section starts with a nonzero value.
[RIFF1991]
Learning References
Specification
- [RIFF1991] Multimedia Programming Interface and Data Specifications (1991). See pages 56-65.