Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
AudioTools[Extract] - extracts a piece of an audio recording
Calling Sequence
Extract(audArray, timeRange)
Parameters
audArray
-
the Array, Vector, or Matrix containing the audio data
timeRange
the time period to extract
Description
The Extract command extracts a piece of an audio recording and returns a new audio object containing the extracted piece.
The audArray parameter must be a dense, rectangular, one or two dimensional Array, Vector, or Matrix with datatype=float[8].
The timeRange parameter can be either a number, or a range of numbers. In either case, positive values refer to times relative to the beginning of audArray, whereas negative values refer to times relative to the end of audArray.
If a number is specified, Extract extracts that many seconds from the beginning (if positive) or end (if negative) of audArray.
If a range is specified, the data between those two points in time is extracted. Negative values are treated as described above.
Because Extract can only work to the nearest whole sample, the precise duration of the result may be slightly more or less than what was specified by timeRange.
Examples
See Also
Array, AudioTools, AudioTools[Duration], Matrix, Vector
Download Help Document