Problem with panning via macro

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
Matriax
Posts: 27
Joined: Sat Aug 17, 2019 6:02 pm
Operating System: Windows 10

Problem with panning via macro

Post by Matriax » Sun Aug 18, 2019 9:09 pm

WHats the problem with this?
Image

So, i have a .wav stereo, so i set to mono, duplicate, select one and apply FadeOut, Select the other and apply FadeIN, and then i do the same as in another batch process to MonoToStero, just add a StereoTrack(New Stereo Track) but the output is the same as input.

I tried also with mix&render but the result is the same, what i'm doing wrong? I apply yhe macro inside Audacity and works all perfect except it not merge to stereo and export.

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

Re: Problem with panning via macro

Post by steve » Sun Aug 18, 2019 9:36 pm

You need to pan track 0 to one side, and pan track 1 to the other side. You can do that with the PanLeft and PanRight commands.
When the tracks are panned, there is no need to add the new stereo track. The exported file will automatically be stereo if any of the exported tracks are panned away from centre.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Matriax
Posts: 27
Joined: Sat Aug 17, 2019 6:02 pm
Operating System: Windows 10

Re: Problem with panning via macro

Post by Matriax » Mon Aug 19, 2019 3:58 am

I did this and still exported is mono;
Image

Tested with adding fade in/out after/before pan but still nothing,

I tried with "Pan Left/Right on focused track" commands and nothing.

EDIT: Fixed, addin Pan Left/Right and i need to add too the new stereo track to make it works. Without the New stereo track, the audio exported is still mono. Maybe is a BUG ?

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

Re: Problem with panning via macro

Post by steve » Mon Aug 19, 2019 10:04 am

Matriax wrote:
Mon Aug 19, 2019 3:58 am
Maybe is a BUG ?
Yes, I think so.

I expected this would work, but it only exports a mono track:

Code: Select all

SelectAll:
StereoToMono:Use_Preset="<Factory Defaults>"
Duplicate:
SelectTracks:Mode="Set" Track="0" TrackCount="1"
FadeOut:Use_Preset="<Factory Defaults>"
PanLeft:
SelectTracks:Mode="Set" Track="1" TrackCount="1"
FadeIn:Use_Preset="<Factory Defaults>"
PanRight:
ExportWav:

After adding an empty stereo track, it does work:

Code: Select all

SelectAll:
StereoToMono:Use_Preset="<Factory Defaults>"
Duplicate:
SelectTracks:Mode="Set" Track="0" TrackCount="1"
FadeOut:Use_Preset="<Factory Defaults>"
PanLeft:
SelectTracks:Mode="Set" Track="1" TrackCount="1"
FadeIn:Use_Preset="<Factory Defaults>"
PanRight:
NewStereoTrack:
ExportWav:

9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply