Crate bwavfile

Crate bwavfile 

Source
Expand description

§bwavfile

Rust Wave File Reader/Writer with Broadcast-WAV, MBWF and RF64 Support

Refer to the individual modules for relevant documentation. For opening and writing files begin with WaveReader and WaveWriter respectively.

§Objectives and Roadmap

This package aims to support read and writing any kind of WAV file you are likely to encounter in a professional audio, motion picture production, broadcast, or music production.

Apps we test against:

  • Avid Pro Tools
  • iZotope RX Audio Editor
  • FFMpeg
  • Audacity
  • Sound Devices field recorders: 702T, MixPre-10 II

Structs§

ADMAudioID
ADM Audio ID record.
AudioFrameReader
Read audio frames
AudioFrameWriter
Write audio frames to a WaveWriter.
Bext
Broadcast-WAV metadata record.
ChannelDescriptor
Describes a single channel in a WAV file.
Cue
A cue point recorded in the cue and adtl metadata.
I24
WaveFmt
WAV file data format record.
WaveFmtExtended
Extended Wave Format
WaveReader
Wave, Broadcast-WAV and RF64/BW64 parser/reader.
WaveWriter
Wave, Broadcast-WAV and RF64/BW64 writer.

Enums§

ChannelMask
A bitmask indicating which channels are present in the file.
CommonFormat
Sample format of the Wave file.
Error
Errors returned by methods in this crate.

Constants§

WAVE_TAG_EXTENDED
Format tag indicating extended format
WAVE_TAG_FLOAT
Format tag for float LPCM
WAVE_TAG_MPEG
Format tag for MPEG1
WAVE_TAG_PCM
Format tag for integer LPCM
WAVE_UUID_BFORMAT_FLOAT
Extended format for float Ambisonic B-Format
WAVE_UUID_BFORMAT_PCM
Extended format for integer Ambisonic B-Format
WAVE_UUID_FLOAT
Extended format UUID for float PCM
WAVE_UUID_MPEG
Extended format UUID for MPEG1 data
WAVE_UUID_PCM
Extended format UUID for integer PCM

Traits§

ReadWavAudioData
Sample