Overview of the AudioTools Package
Accessing AudioTools Package Commands and Variables
List of AudioTools Package Commands
List of AudioTools Package Variables
The AudioTools package is a collection of utilities for reading and writing common audio file formats, and for performing basic audio processing operations within Maple.
Within Maple, audio data is represented as dense rectangular Arrays of 64-bit hardware floating-point numbers. Monophonic audio data is one-dimensional, whereas stereo (or more channel) audio data is two-dimensional (the second dimension representing the individual channels).
In addition to the commands in this package, many ordinary Array and Matrix operations are useful for audio processing. For example, combining one recording with another is done with the expression aud1*0.5 + aud2*0.5.
Each command and variable in the AudioTools package can be accessed by using either the long form or the short form of the name in the calling sequence.
The long form, AudioTools:-command, is always available. The short form can be used after loading the package.
The following is a list of available commands:
clips peaks at the specified low and/or high levels (-1 and 1 if none specified)
applies a one-dimensional convolution mask/kernel to a recording
creates an empty recording of the specified length
computes the duration of a recording in seconds
extracts a piece of an audio recording
returns the audio file format from a filename
modulates one audio recording using another
normalizes audio sample values to a specified maximum amplitude
plays audio data to a speaker
previews audio data in the worksheet in the form of an audiogram
reads audio data from a file into a rtable
records audio data from a microphone
resamples audio data to the specified sample rate
scales audio data by the specified ratio or to the specified size
converts a multi-channel audio recording to monophonic
converts an audio record to stereophonic (or more channels)
writes audio data from a rtable into a file
The following is a list of available variables:
names of the supported audio file formats
To display the help page for a particular AudioTools command or variable, see Getting Help with a Command in a Package.
Download Help Document