WAV - Maple Help

Online Help

All Products    Maple    MapleSim


WAV (.wav) File Format

WAV file format

 

Description

Notes

Examples

Description

• 

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.

Notes

• 

Content-Type: audio/wav, audio/wave, audio/x-wav

Examples

Read a WAV file to an Audio object.

audiofileFileTools:-JoinPathaudio,stereo.wav,base=datadir

C:\Program Files\Maple 2016\data\audio\stereo.wav

(1)

sampleAudioTools:-Readaudiofile

sampleSample Rate22050File FormatPCM File Bit Depth8Channels2Samples/Channel19962Duration0.90531s

(2)

AudioTools:-Previewsample

See Also

AudioTools

AudioTools[Formats]

Formats