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[Resample] - resamples audio data to the specified sample rate
Calling Sequence
Resample(audArray, samplesPerSec, options)
Parameters
audArray
-
Array or Matrix containing the audio data to resample
samplesPerSec
desired sampling rate
options
options modifying the resampling operation
Description
The Resample command resamples audio data, producing a new audio object with the specified sample rate.
The audArray parameter specifies the audio to resample, and must be a dense, rectangular, one or two dimensional Array, Vector, or Matrix with datatype=float[8].
The samplesPerSec parameter specifies the desired sample rate. Typical values are 11025, 22050, and 44100 samples per second.
By default, resampling is done using B-spline interpolation. This produces excellent results reasonably fast.
If the method=nearest option is specified, resampling is done using the nearest-neighbor algorithm. This produces poorer results, but the algorithm is very fast. This method is often suitable for producing low-quality resamplings of audio data.
Specifying method=bspline is equivalent to the default behavior.
Examples
See Also
Array, AudioTools, AudioTools[Convolution], AudioTools[Scale], Matrix, Vector
Download Help Document