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[Normalize] - normalizes audio sample values to a specified maximum amplitude
Calling Sequence
Normalize(audArray, amplitude=value)
Parameters
audArray
-
Array, Vector, or Matrix containing the audio data to normalize
amplitude=value
(optional) the peak amplitude of the result
Description
The Normalize command adjusts the amplitude of samples in a recording so the maximum amplitude of any one sample is as specified.
The audArray parameter specifies the audio data to normalize, and must be a dense, rectangular, one or two dimensional Array, Vector, or Matrix with datatype=float[8].
The amplitude=value option specifies the maximum amplitude that any sample may have. If omitted, this defaults to 1.0.
The Normalize command is often useful after performing other audio processing operations that may have produced out-of-bound values, or very low amplitudes.
Examples
0.378 -0.547 0.465 0.921 0.535 0.898 0.598 0.992 0.638 0.898 0.669 -0.625 0.685 -0.734 0.685 -0.945 0.669 0.669 0.646 -0.281 0.606 -0.828 0.559 -0.891 0.504 -0.586 0.449 0.976 0.378 -0.477 0.315 -0.602
0.186 -1.041 0.300 0.906 0.394 0.875 0.478 1.000 0.530 0.875 0.572 -1.145 0.593 -1.290 0.593 -1.569 0.572 0.572 0.541 -0.689 0.488 -1.414 0.426 -1.497 0.353 -1.093 0.279 0.979 0.186 -0.948 0.102 -1.113
See Also
Array, AudioTools, Matrix, Vector
Download Help Document