Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

AudioFrequencyShift

AudioFrequencyShift[audio,freq]
gives audio by shifting the spectrum of audio by freq.

AudioFrequencyShift[audio,freq, mix]
uses mix to control the ratio between the original and shifted audio.

Details and OptionsDetails and Options

  • AudioFrequencyShift shifts every frequency freq in the input signal to frequency .
  • The frequency freq can be a scalar or a frequency quantity, an Audio object, a pure function, or a TimeSeries.
  • The mixing parameter mix can be any real number between 0 and 1. The default value is 1.
  • AudioFrequencyShift accepts a Method option. Possible settings are:
  • "UpperSideband"the spectrum is shifted by freq
    "LowerSideband"the spectrum is reversed and shifted by freq
    "AmplitudeModulation"both effects are present at the same time
  • The absolute amount of shift should be less than half of the Nyquist frequency.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Shift the spectrum of an audio signal by 1000 Hz:

In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Out[5]=

Plot the power spectrum of the original and shifted signals:

In[6]:=
Click for copyable input
Out[6]=

Mix the original signal with the shifted one:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2016
(11.0)