AudioPan

AudioPan[audio]

returns a center-panned stereo audio object from a mono audio.

AudioPan[audio,pan]

returns a stereo audio object after panning left and right channels using the specified pan.

Details

  • AudioPan works only with mono and stereo audio objects.
  • The panning parameter pan can be a scalar value between and 1, a Quantity, an Audio object, a TimeSeries, or a pure function.
  • AudioPan uses sinusoidal panning.
  • AudioPan returns an audio object of a real type.

Examples

open allclose all

Basic Examples  (2)

Transform a mono audio object to a stereo one:

Modify the leftright balance of a stereo object:

Scope  (2)

The panning can be controlled dynamically with a pure function:

With a TimeSeries:

With an Audio object:

AudioPan is listable:

Properties & Relations  (3)

AudioPan uses a sinusoidal panning algorithm to keep the sum of the powers of the output channels constant:

With a mono input, AudioPan duplicates the signal on the two output channels, and the pan parameter controls the leftright balance of the resulting audio object:

In the case of a stereo input, pan controls the relative levels of the two channels without any mixing:

On a stereo audio object, AudioPan[audio] or AudioPan[audio,0] does not modify the input.

Pan an audio object using AudioChannelMix:

Wolfram Research (2016), AudioPan, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioPan.html.

Text

Wolfram Research (2016), AudioPan, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioPan.html.

BibTeX

@misc{reference.wolfram_2020_audiopan, author="Wolfram Research", title="{AudioPan}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/AudioPan.html}", note=[Accessed: 06-May-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_audiopan, organization={Wolfram Research}, title={AudioPan}, year={2016}, url={https://reference.wolfram.com/language/ref/AudioPan.html}, note=[Accessed: 06-May-2021 ]}

CMS

Wolfram Language. 2016. "AudioPan." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AudioPan.html.

APA

Wolfram Language. (2016). AudioPan. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioPan.html