No internet connection
  1. Home
  2. Macro and Script Help

Commit edit selection problem!

By Matthew Bronleewe @Matthew_Bronleewe
    2024-04-01 17:21:30.851Z

    Title

    Commit edit selection problem!

    What do you expect to happen when you run the script/macro?

    This preset (and others like it) *almost* work for me, however, here's my problem: I select a track and the portion of the song that I want to commit (for example, from zero to a bar marker at the end of the song), and click this preset. It commits the track, but doesn't do it as an "edit selection", even though that's how the preset it set. Maybe the consolidate feature isn't working? Not sure if this is user error, or a bug with the new Mac OS (I'm running Sonoma 14.3.1)? Help?

    Are you seeing an error?

    What happens when you run this script?

    I run the preset expecting it to commit the edit selection and consolidate any sections of audio, but instead it processes it as a track selection, ignoring whatever edit selection I've made.

    How were you running this script?

    I clicked the "Run Script" or "Run Macro" button in SoundFlow

    How important is this issue to you?

    4

    Details

    {
        "inputExpected": "This preset (and others like it) *almost* work for me, however, here's my problem: I select a track and the portion of the song that I want to commit (for example, from zero to a bar marker at the end of the song), and click this preset. It commits the track, but doesn't do it as an \"edit selection\", even though that's how the preset it set. Maybe the consolidate feature isn't working? Not sure if this is user error, or a bug with the new Mac OS (I'm running Sonoma 14.3.1)? Help?",
        "inputIsError": false,
        "inputWhatHappens": "I run the preset expecting it to commit the edit selection and consolidate any sections of audio, but instead it processes it as a track selection, ignoring whatever edit selection I've made.",
        "inputHowRun": {
            "key": "-MpfwYA4I6GGlXgvp5j1",
            "title": "I clicked the \"Run Script\" or \"Run Macro\" button in SoundFlow"
        },
        "inputImportance": 4,
        "inputTitle": "Commit edit selection problem!"
    }

    Source

    //Preset converted to script
    
    
    //Invoking preset "Commit edit up to insert  ALL" of template "Commit or Freeze up to Selected Insert" in package "Commit and Freeze"
    sf.soundflow.runCommand({
        commandId: 'user:cltkomue30000qn10aiargg5h:ckfjjq34x00030y103bt2x0cg',
        props: {
            affectAux: true,
            commitAction: "Hide and Make Inactive",
            commitConsolidateClips: true,
            commitOrFreeze: "Commit",
            commitRenderPan: undefined /* unknown error converting property value */,
            commitRenderVolAndMute: undefined /* unknown error converting property value */,
            commitTarget: "Edit Selection",
            insertChoice: "all",
            multipleTracksProcessMode: "Individually",
            skipEmptyAudio: undefined /* unknown error converting property value */,
        },
    })
    

    Links

    User UID: ZJThBgjWOiYIRoV2xvzYGkmadl52

    Feedback Key: sffeedback:ZJThBgjWOiYIRoV2xvzYGkmadl52:-NuPfY14ia-0gD02VhvO

    Feedback ZIP: uuzShT4ueG9B6voCnieA0HZMq+iunxJw4Vtg1gn4r0NX6ZUFBTLt0rLlLZMphQJxYSLXFZsxiWNC6yDzJmIlkYHz3pZhVxHUVmattvFoRlUf6T+qEUpFjp/145ssyudjw7VInJSX8CGFdxr9DT+JAET15Hlaf2GlgQ3vAS8Lorn3BzS7vo4uodGShWtCaEk5P6bgNtCu37Dvd9FuX5SEJ/UXTA/5EZF4aMWcJnWNLmDWo6y+w6gbhiusKwONHg5BZRdVMAC34KZzlZRCBi4riMuNCQJYtEZbYmFA0mdHysrjwQrym6pYFQfy9qGYMaJvRHz3PNm9V6BOLaI15zokmw==

    • 12 replies
    1. Andrew Scheps @Andrew_Scheps
        2024-04-04 09:41:32.394Z

        Hi @Matthew_Bronleewe ,

        It's working here, can you send a screenshot of how you have the preset set up?

        Thanks,
        Andrew

        1. Here's how I have the preset set up:

          1. Note: on "Multiple Track Selection Commit Mode", I have "Individually" selected, not sure why this other option is slightly blue as well, maybe my mouse was hovering when I took a screenshot!

            1. Andrew Scheps @Andrew_Scheps
                2024-04-05 15:03:57.294Z

                I tried the exact same setup here and it works as expected. Unfortunately I don't have time to troubleshoot for you but I'll post an update to the package making it open source so somebody else can have a look.

                1. Weird! Gosh, I wonder what's up? Ok, yes, totally understand that you've got a lot on your plate! Hopefully I'll be able to get to the bottom of this!

            2. M
              Matthew Bronleewe @Matthew_Bronleewe
                2024-06-04 17:25:25.698Z

                Hi! Curious to see if anyone has been able to take a look at this? I'm still experiencing the same problem. I'm posting a screenshot of the preset settings, and a link to a short screen recording of running the preset. I'd appreciate it if anyone can help figure this out, thanks!

                Screen recording:
                https://www.dropbox.com/scl/fi/o3nlne6sdvpasnb3cgjaq/Commit-Edit-TEST-01.mov?rlkey=l4k84xl3uftngdsbpq3unmyu6&dl=0

                1. Andrew Scheps @Andrew_Scheps
                    2024-06-04 21:32:03.692Z

                    I'm not sure I'm understanding the problem. The dialog seems to be set up properly and it's committing the selection. Are you saying you want it to consolidate the selection as well? If you can make Pro Tools do what you want without the script then please send a video with the dialog set up and the result. The script only sets up the dialog and then PTs does what it does. If I'm misunderstanding let me know!

                    Thanks!
                    Andrew.

                    1. Yes, sorry if I wasn't more clear... It's doing everything correctly, except consolidating the clips... For some reason it doesn't seem to tick that box when the script opens the "commit" command in pro tools. Is that what it should do when "yes" is selected for "Commit - Consolidate Clips" in the script?

                      1. One note: One of the key reasons this is so helpful to me is that I've discovered that a number of my virtual instruments get clipped at the beginning if I just commit the instrument track rather than selecting an area BEFORE the midi starts and committing the edit area I've selected. (It must be a small bug in pro tools that causes this to happen, but committing / consolidating an area that begins before the midi starts fixes it!)

                        1. Andrew Scheps @Andrew_Scheps
                            2024-06-04 21:47:04.305Z

                            Ah, ok, it must be a bug or they’ve changed the dialog. What version of PTs are you on? I’ll have a look tomorrow

                            1. I'm on Pro Tools 2024.3.1

                              I really appreciate it! Such a useful tool!