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[ToMono] - converts a multi-channel audio recording to monophonic
AudioTools[ToStereo] - Converts an audio record to stereophonic (or more channels)
Calling Sequence
ToMono(audArray)
ToStereo(audArray, optNumChannels)
Parameters
audArray
-
Array, Vector, or Matrix containing the audio data to convert
optNumChannels
(optional) integer representing the number of input channels
Description
The ToMono command takes multi-channel audio data and produces a single-channel monophonic audio object.
The ToStereo command takes single channel monophonic audio data and produces two-channel stereo audio (with corresponding samples in both channels having the same values). This is useful if a monophonic recording is to be combined in some way with a stereo recording.
The optional optNumChannels parameter of ToStereo can be used to specify that more than two channels are to be created. The number of channels must be a multiple of the number of input channels, and each input channel is repeated an appropriate number of times in the output.
The audArray parameter specifies the data to convert, and must be a dense, rectangular, one or two dimensional Array, Vector, or Matrix with datatype=float[8].
If either command is passed audio data that is already of the correct type, the audio data is returned. Otherwise, a new object of the appropriate type is created.
Examples
See Also
Array, AudioTools, Matrix, Vector
Download Help Document