Set new default crossfade settings

Videoimpressions0622 wrote on 11/19/2025, 5:54 PM

Vegas Pro 23 apparently does NOT use “eDefEnvVideoASRType” nor “eDefEnvAudioASRType” in it’s “Preferences>Internal ” settings. At least I can’t find it! So any ideas how to set new default crossfade settings types? So is there an easier way to do this similar to that which we were able to accomplish in the internal settings in the past?

Comments

Dexcon wrote on 11/19/2025, 6:22 PM

Exploring Internal Preferences in pre-VP23 versions, the last version which contained those 2 items in Int Prefs was Vegas Pro 17.

Not being familiar with those two settings, could you please advise what they did (e,g, exactly which crossfade settings?) as there might be another way to do the same thing.

Last changed by Dexcon on 11/19/2025, 6:36 PM, changed a total of 1 times.

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition; Samsung S23 Ultra smart phone

Installed: Vegas Pro 13, 15, 16, 17, 18, 19, 20, 21, 22 & 23, HitFilm Pro 2021.3, DaVinci Resolve Studio 20.3, BCC 2026, Mocha Pro 2026, NBFX TotalFX 7, Neat NR 6, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 12, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11 25H2

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

EricLNZ wrote on 11/19/2025, 6:25 PM

It would be preferable to have these as readily available options rather than internal preferences. Perhaps this has happened and they are now there somewhere? Not having VP23 I cannot check.

Anyway I've added it to the now very long Feature Requests thread https://www.vegascreativesoftware.info/us/forum/vegas-pro-feature-requests--134374/?page=28#ca945301 with a link to this thread.

EricLNZ wrote on 11/19/2025, 6:43 PM

@Dexcon That's interesting. I wrongly assumed they are in my VP21 as I used to change them in VMS17 but you are correct they are not available in VP21.

The settings affect the nature of the crossfade - linear, fast slow smooth etc. But the Internal Preferences didn't enable you to change to all of the different 25 options that are available when you right click on a crossfade and select Fade Type.

Personally I prefer the default to be Linear.

zzzzzz9125 wrote on 11/20/2025, 12:42 AM

@Videoimpressions0622 I just took a look and it seems that the higher versions deliberately hide them. I also couldn't find them directly in the internal preferences of VP23.

Fortunately, however, Script API in higher versions allows you to access and edit preferences. Here's the script I wrote for you:

using System.Drawing;
using System.Windows.Forms;

using ScriptPortal.Vegas;

namespace Test
{
    public class TestClass
    {
        public Vegas myVegas;
        int valueVideo = 0, valueAudio = 0;
        public void Main(Vegas vegas)
        {
            myVegas = vegas;
            myVegas.ResumePlaybackOnScriptExit = true;

            // get values
            TPreferenceIntType preferenceVideo = TPreferenceIntType.TPT_eDefEnvVideoASRType;
            TPreferenceIntType preferenceAudio = TPreferenceIntType.TPT_eDefEnvAudioASRType;
            valueVideo = myVegas.GetPreference(preferenceVideo);
            valueAudio = myVegas.GetPreference(preferenceAudio);

            if (ShowWindow())
            {
                // set values
                myVegas.SetPreference(preferenceVideo, valueVideo);
                myVegas.SetPreference(preferenceAudio, valueAudio);
            }
        }

        public bool ShowWindow()
        {
            Form form = new Form
            {
                ShowInTaskbar = false,
                AutoSize = true,
                BackColor = Color.FromArgb(45, 45, 45),
                ForeColor = Color.FromArgb(200, 200, 200),
                Font = new Font("Arial", 9),
                Text = "EnvASRType Edit",
                FormBorderStyle = FormBorderStyle.FixedToolWindow,
                StartPosition = FormStartPosition.CenterScreen,
                AutoSizeMode = AutoSizeMode.GrowAndShrink
            };

            Panel p = new Panel
            {
                AutoSize = true,
                AutoSizeMode = AutoSizeMode.GrowAndShrink
            };
            form.Controls.Add(p);

            TableLayoutPanel l = new TableLayoutPanel
            {
                AutoSize = true,
                AutoSizeMode = AutoSizeMode.GrowAndShrink,
                GrowStyle = TableLayoutPanelGrowStyle.AddRows,
                ColumnCount = 2
            };
            p.Controls.Add(l);

            Label label = new Label
            {
                Margin = new Padding(12, 9, 6, 6),
                Text = "Video",
                AutoSize = true
            };
            l.Controls.Add(label);

            TextBox videoBox = new TextBox
            {
                AutoSize = true,
                Margin = new Padding(6, 6, 6, 6),
                Text = valueVideo.ToString(),
                Dock = DockStyle.Fill
            };
            l.Controls.Add(videoBox);

            label = new Label
            {
                Margin = new Padding(12, 9, 6, 6),
                Text = "Audio",
                AutoSize = true
            };
            l.Controls.Add(label);

            TextBox audioBox = new TextBox
            {
                AutoSize = true,
                Margin = new Padding(6, 6, 6, 6),
                Text = valueAudio.ToString(),
                Dock = DockStyle.Fill
            };
            l.Controls.Add(audioBox);

            FlowLayoutPanel panel = new FlowLayoutPanel
            {
                AutoSize = true,
                AutoSizeMode = AutoSizeMode.GrowAndShrink,
                Anchor = AnchorStyles.None,
                Font = new Font("Arial", 8)
            };
            l.Controls.Add(panel);
            l.SetColumnSpan(panel, 2);

            Button ok = new Button
            {
                Text = "OK",
                DialogResult = DialogResult.OK
            };
            panel.Controls.Add(ok);
            form.AcceptButton = ok;

            DialogResult result = form.ShowDialog(myVegas.MainWindow);

            int tmp = 0;
            valueVideo = int.TryParse(videoBox.Text, out tmp) ? tmp : valueVideo;
            valueAudio = int.TryParse(audioBox.Text, out tmp) ? tmp : valueAudio;

            return result == DialogResult.OK;
        }
    }
}

public class EntryPoint
{
    public void FromVegas(Vegas vegas)
    {
        Test.TestClass test = new Test.TestClass();
        test.Main(vegas);
    }
}

For VP23, the default values are 4 for video & 2 for audio. If you like Linear, change them to 1 & 1, and so on.

 

By the way, is there anyone else who needs an internal preferences editor like this? I might write a complete one later instead of using the one that comes with VEGAS Pro.

Last changed by zzzzzz9125 on 11/20/2025, 12:45 AM, changed a total of 1 times.

Using VEGAS Pro 22 build 250 & VEGAS Pro 21 build 208.

Information about my PC:
Brand Name: HP VICTUS Laptop
System: Windows 11.0 (64-bit) 10.00.22631
CPU: 12th Gen Intel(R) Core(TM) i7-12700H
GPU: NVIDIA GeForce RTX 3050 Laptop GPU
GPU Driver: NVIDIA Studio Driver 560.70

RogerS wrote on 11/20/2025, 10:31 AM

An internal preferences interface for the handful of preferences that are useful to modify would be great. Most of it is undocumented and better to stay out of.

Videoimpressions0622 wrote on 11/20/2025, 10:51 AM

 

zzzzzz9125, THANK YOU SO MUCH FOR THE SCRIPT!! Works perfectly for me, and I changed the default to Linear (1) for both audio and video!! May I suggest that all users who want to control this function copy/paste zzzzzz9125's script to Notepad, save it as a .cs file with a name you'll remember in the respective version of Vegas Pro's "script menu" folder (for me it is "C:\Program Files\VEGAS\VEGAS Pro 23.0\Script Menu", run Vegas Pro, and go to "Tools>Scripting". If you don't see the script listed, rescan script menu folder and it should now be there. When you have found it, click it to run the script. You then can choose a respective number for video and audio crossfades, respectively, and save your choice, which now will be then new default for any subsequent VP sessions. I do not know all the numbers for each type of fade one can set, but since I prefer Linear I chose "1" for both the video and audio defaults.

Again, thanks to zzzzzz9125 once again, who came up with an easy resolution to this request that I assume will be very helpful and a most want option for MANY VP users!! It's great to have fellow users come to the rescue so often!!!!

john_dennis wrote on 11/20/2025, 11:52 AM

@Videoimpressions0622 @zzzzzz9125 

I often move pixels around on the screen while I get enough coffee in me to move around the house. I created an icon for the script to make it stand out.

Download Here: https://drive.google.com/drive/folders/1lI5OFV3DnGcCbNThBWQqloyGOgin5hiy?usp=sharing

Rename to match the name of your script.

Videoimpressions0622 wrote on 11/20/2025, 12:04 PM

For the uninitiated, John, just exactly how to you incorporate this PNG file into the script?

john_dennis wrote on 11/20/2025, 12:27 PM
  • Create the graphic.
  • Leave at least 1 transparent pixel.
  • Resize to 16x16 pixels.
  • Save as .PNG.
  • Place in C:\Users\Username\Documents\Vegas Script Menu.
  • Rename to match the name of the script.

Videoimpressions0622 wrote on 11/20/2025, 12:35 PM

WORKED...although as I stated above, my Scripts folder is in a totally different location than yours...so if anyone else wants to delve into this, please be advised that YOUR scripts folder may even be in a different location than mine or John's. THX again, John! Such talent out there...

jetdv wrote on 11/20/2025, 4:06 PM

For the uninitiated, John, just exactly how to you incorporate this PNG file into the script?


@Videoimpressions0622