AudioTools - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


AudioTools

Maple 2020 updates AudioTools with features that help you work with high precision audio, PCM WAV files, and more.

 

Read Part of an Audio File

Fast Convolution of Audio and Convolution of Multi-Channel Audio

Floating-Point WAV Files

High Sample Rates

Efficient White Noise Generator

Asymmetric Mapping from Internal Signal Values to External File

Read Part of an Audio File

You can now read part of an audio file with the new samples option for Read.

(1.1)

Fast Convolution of Audio and Convolution of Multi-Channel Audio

You can create many audio effects with convolution. For example, you can add reverb, or simulate how audio would sound in a specific room with its convolution with an impulse response.

 

For Maple 2020, AudioTools:-Convolution is significantly faster (for the default case) for those CPUs where the Intel IPP libraries can run optimized code.

 

Consider this violin note (to interact with the audio playback buttons below, open this page as a worksheet)

   

Read the kernel for the convolutiona "ding" sound.

   

Convolution of the violin note with the ding sound (on an i7-8650U processor, Maple 2019 takes 2.6 s, while Maple 2020 takes 0.02 s)

(2.1)

   

Moreover, AudioTools:-Convolution now supports multi-channel audio. For audio with M channels, the kernel can be specified as an M-column Matrix or Array. Each channel of the kernel is applied to the corresponding channel of the audio.

Floating-Point WAV Files

You can now create 32-bit and 64-bit WAV files.

(3.1)

High Sample Rates

You can now write audio files with sample rates of up to 232 - 1 Hz = 4.29 GHz.

(4.1)

Efficient White Noise Generator

You can now quickly generate audio filled with white noise.

(5.1)

   

Asymmetric Mapping from Internal Signal Values to External File

PCM audio is asymmetricthe highest possible value is not equal in magnitude to the lowest possible value. For example, 16-bit audio ranges in value from -32768 to +32767. This means that positive half-cycles of a waveform are compressed compared to negative ones.

AudioTools:-Write and AudioTools:-Read now offer new options to change the mapping of minimum and maximum values in the internal representation of an audio file to external values when written to a PCM WAV file. This now reflects the reality of working with PCM audio.

(6.1)

(6.2)

(6.3)

Warning, one or more samples could not be represented in the range -32768..32767 and were clipped

(6.4)


Download Help Document