WAV (.wav) File Format
WAV file format
Description
Notes
Examples
WAV (Waveform Audio) is a popular format for storing a digital audio bitstream.
The AudioTools[Read] and AudioTools[Write] commands can read to and write from this format.
There are multiple sub-formats of WAV files, but the two most common are PCM (sub-format 1) and ADPCM (sub-format 2).
Both PCM and ADPCM WAV files can be read by AudioTools[Read].
PCM WAV files can be written by AudioTools[Write].
The general-purpose commands Import and Export also support this format.
Content-Type: audio/wav, audio/wave, audio/x-wav
Read a WAV file to an Audio object.
audiofile≔FileTools:-JoinPath⁡audio,stereo.wav,base=datadir
C:\Program Files\Maple 2016\data\audio\stereo.wav
sample≔AudioTools:-Read⁡audiofile
sample≔Sample Rate22050File FormatPCM File Bit Depth8Channels2Samples/Channel19962Duration0.90531⁢s
AudioTools:-Preview⁡sample
See Also
AudioTools
AudioTools[Formats]
Formats
Download Help Document