Overview of the AudioTools Package - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Audio Processing : AudioTools

Overview of the AudioTools Package

Calling Sequence

AudioTools[command](arguments)

command(arguments)

AudioTools[variable]

variable

Description

• 

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.

Accessing AudioTools Package Commands and Variables

• 

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.

  

As the underlying implementation of the AudioTools package is a module, it is also possible to use the form AudioTools:-command or AudioTools:-variable to access a command or variable from the package. For more information,  see Module Members.

List of AudioTools Package Commands

  

The following is a list of available commands:

Clip

clips peaks at the specified low and/or high levels (-1 and 1 if none specified)

Convolution

applies a one-dimensional convolution mask/kernel to a recording

Create

creates an empty recording of the specified length

Duration

computes the duration of a recording in seconds

Extract

extracts a piece of an audio recording

FormatFromName

returns the audio file format from a filename

Modulate

modulates one audio recording using another

Normalize

normalizes audio sample values to a specified maximum amplitude

Play

plays audio data to a speaker

Preview

previews audio data in the worksheet in the form of an audiogram

Read

reads audio data from a file into a rtable

Record

records audio data from a microphone

Resample

resamples audio data to the specified sample rate

Scale

scales audio data by the specified ratio or to the specified size

ToMono

converts a multi-channel audio recording to monophonic

ToStereo

converts an audio record to stereophonic (or more channels)

Write

writes audio data from a rtable into a file

List of AudioTools Package Variables

  

The following is a list of available variables:

Formats

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.

See Also

help, UsingPackages, with


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam