Is there an effect or plugin that can automatically pan a track from left to right repeatedly?

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
123123123123
Posts: 1
Joined: Sat Jan 09, 2021 7:50 pm
Operating System: Windows 10

Is there an effect or plugin that can automatically pan a track from left to right repeatedly?

Post by 123123123123 » Sat Jan 09, 2021 8:07 pm

Sorry for the long title, but basically what I want is to know if there is some effect or plugin that can automatically make a track pan from left to right repeatedly like this > https://vocaroo.com/11nE22h7iQM7. If there is something that can do this, I have been looking for a long while now, thank you to anyone who can help me.

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Is there an effect or plugin that can automatically pan a track from left to right repeatedly?

Post by steve » Sat Jan 09, 2021 8:34 pm

Assuming that your sound is in both channels of a stereo track,
apply this code using the Nyquist Prompt effect (https://manual.audacityteam.org/man/nyquist_prompt.html)

Code: Select all

(setf hz 4)
(let ((left-mod (mult 0.5 (sum 1 (osc-pulse hz 0)))))
  (setf right-mod (sum 1 (mult -1 left-mod)))
  (mult *track* (vector left-mod right-mod)))

The first line sets the number of times per second to pan.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply