2020-12-29 11:03:08 +00:00
|
|
|
meta:
|
|
|
|
id: wav
|
|
|
|
file-extension: wav
|
|
|
|
encoding: ascii
|
|
|
|
endian: le
|
|
|
|
seq:
|
|
|
|
- id: magic
|
|
|
|
type: str
|
|
|
|
size: 4
|
2020-12-30 07:15:28 +00:00
|
|
|
# We don't actually handle invalid files here.
|
|
|
|
# If we wanted, we could also use this key:
|
|
|
|
# contents: "RIFF"
|
|
|
|
# But then we could not use the type key...
|
2020-12-29 11:03:08 +00:00
|
|
|
- id: size
|
|
|
|
type: u4
|
|
|
|
- id: wave_str
|
|
|
|
type: str
|
|
|
|
size: 4
|
2020-12-30 07:15:28 +00:00
|
|
|
# Same as with the magic field
|
2020-12-29 11:03:08 +00:00
|
|
|
instances: {}
|
|
|
|
types: {}
|
|
|
|
enums: {}
|
|
|
|
doc: Hello, world
|
|
|
|
doc-ref: https://example.com
|