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
AudioTools[Preview] - previews audio data in the worksheet in the form of an audiogram
Calling Sequence
Preview(audArray, optDuration, options)
Parameters
audArray
-
Array, Vector, or Matrix containing the audio data to preview
optDuration
the amount of the data, in seconds, to preview (optional)
options
options modifying the preview operation
Description
The Preview command generates a plot of audio data.
The audArray parameter must be a dense, rectangular, one or two dimensional Array, Vector, or Matrix with datatype=float[8].
The optional optDuration parameter indicates the amount of the recording, in seconds, to preview. If omitted, the entire recording is previewed.
A positive value for the optDuration parameter indicates that samples from the beginning of the recording are to be previewed.
A negative value for optDuration specifies that samples from the end of audArray are to be previewed. The last seconds will appear in the preview.
The duration can also be specified as a range of time values, in which case the samples falling in that time interval are previewed. Negative values are treated as above.
The audio is resampled for previewing, and is displayed with the x-axis corresponding to elapsed time.
By default, the data is resampled for previewing using B-spline interpolation (the default mode for the AudioTools[Scale] function). If the option method=nearest is specified, the Preview command will use the nearest-neighbor algorithm. This method is significantly faster, but produces a poorer quality audiogram.
The default color for the audiogram is green, as this makes it easier to read the axis labels superimposed on what is typically a very dense plot. The option color=colorSpec can be used to override this behavior. The colorSpec can be any color specification as described in the plot[color] help page, or it can be a list of such specifications. If a list is given, each entry is used as the color for the corresponding channel of audio data.
Examples
See Also
Array, AudioTools, AudioTools[Write], Matrix, Vector
Download Help Document