Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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.
Create
creates an empty recording of the
specified length
Read
reads audio data from a file into an
Array, Matrix, or Vector
Write
writes audio data from an Array, Matrix,
or Vector into a file
Preview
produces an audiogram from an audio
Duration
computes the duration of a recording
in seconds
Extract
extracts a section of a recording
between a specified start and end time
Convolution
applies a one-dimensional convolution
mask/kernel to a recording
Scale
lengthens or shortens a recording (which
will also affect the pitch)
Resample
resamples a recording without affecting
the pitch
Modulate
modulates one recording with another
Clip
clips peaks at the specified low
and/or high levels (-1 and 1 if none
specified)
Normalize
normalizes the amplitude of a recording
ToMono
converts a multi-channel recording
to mono
ToStereo
converts a mono recording to stereo
(or more channels)
FormatFromName
try to determine the audio format based on
a filename
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