No internet connection
  1. Home
  2. Support

Lag when pressing soundflow buttons on Stream Deck

By Peter Gallacher @Peter_Gallacher
    2022-04-26 08:36:31.352Z

    Lag when pressing soundflow buttons on Stream Deck

    System Information

    SoundFlow 5.0.15

    OS: darwin 20.6.0

    ProductName: macOS
    ProductVersion: 11.6
    BuildVersion: 20G165

    Steps to Reproduce

    1. When running a big Pro Tools session, I added a memory location via Owen Granich Young's memory location app.
    2. The memory location would take around 10 seconds to appear after pressing the macros.
    3. This does not happen in smaller sessions, just big sessions with plugins and lots of audio.

    Expected Result

    I would expect the memory location to appear almost instantly.

    Actual Result

    It took around 10 secons to appear in the said session

    Workaround

    No

    Other Notes

    I am currently running MacOS Big Sur and I believe I have the lastest version of Soundflow. I am also running the latest update of Pro Tools.


    Links

    User UID: Xm0t8L8vbddwUSfY4G9a7IsOZqt2

    Feedback Key: sffeedback:Xm0t8L8vbddwUSfY4G9a7IsOZqt2:-N0_-xBudYZCz8CDCAeM

    Feedback ZIP

    • 11 replies
    1. Hi Peter,

      This sounds like it may be an issue with either the particular script or that Pro Tools is just responding very slowly in this case.

      To get help with the particular script, please follow these steps so Owen will be notified: bit.ly/sfscripthelp

      To generally troubleshoot Pro Tools reacting slowly to scripts, one thing that I've found is that having many AudioSuite plugins open generally slows down UI automation as they appear to be handled on the same main thread as AudioSuite plugin drawing.

      1. Peter Gallacher @Peter_Gallacher
          2022-04-26 09:17:26.167Z

          Hi @chrscheuer good to hear from you. I've already been speaking in the forum with @Owen_Granich_Young and @Kitch so this is just something I've been asked to log by Kitch.
          I've bypassed all plugins in Pro Tools and it's not really any better. What I will say, is that your own Pro Tools macros still works super fast even in big sessions. It's just this app for memory locations. At least for me anyway.

          1. Ah ok got it. It's a known issue that whenever the SF cache has been invalidated, if there's a lot of memory locations it will take a long time to read/cache them. Not sure if that's what the script does. But unfortunately, that's a limitation of how PT works so not something we could fix from our end.

            1. Peter Gallacher @Peter_Gallacher
                2022-04-26 10:04:33.624Z

                Hi @chrscheuer that's odd, as it works super fast when I create a memory location in a big session through a keyboard shortcut. Just not via SF.

                1. Adding memory locations should always be quick. I was talking about reading the contents of the entire memory locations table. But again, I have no idea what the script does - just providing general information as I can't see the contents of the script here, nor have I made it.

                  To get script help, this is the best way: bit.ly/sfscripthelp

                  It's totally possible the script is not made in the best way possible - or it's possible there's something else in PT slowing it down. But without the context of the script I can only answer in general terms.

                  1. Kitch Membery @Kitch2022-04-26 17:26:06.703Z

                    Hi @Peter_Gallacher,

                    I just took a closer look at the script you are using from @Owen_Granich_Young's post;

                    I think there may be some code in there that is slowing things down.

                    If you could use the link bit.ly/sfscripthelp to let me know exactly what the script is meant to do, when I get a chance I'll dig a little deeper to see if it can be sped up :-)

                    Rock on!

                    1. Peter Gallacher @Peter_Gallacher
                        2022-04-26 17:47:27.982Z

                        Hi @Kitch I've just watched the video and followed the instructions for getting help with the code. But when I've clicked get help and the window pops up. When I type "Get help with this", nothing appears? So not sure where to post.

                        1. Kitch Membery @Kitch2022-04-26 17:53:37.477Z

                          Hmmm,

                          When you click the "Need Help" button you should see this;

                          Then just click on the "Get help with this script." (the first option in the popup menu).

                          Let me know if that works.

                        2. In reply toKitch:

                          I wonder if I have some redundant invalidates. You can install the package from Advanced Memory Locations in the store if you want. It started as just a 'drop a marker of user defined preset text on button press' and then I bolted some other features on when you switch the Global state to Go To next marker of that name instead.

                          Shift + Button clears all markers o that name.
                          Cmd + Button Pastes Clipboard to all markers of that name.

                          Either way I'll be watching whatever thread you update it on and will update the package with your revisions.

                          1. Kitch Membery @Kitch2022-04-26 17:56:46.914Z

                            Thanks Owen!

                            Will keep you posted. May not get around to it today, but will do my best. :-)

                            1. Peter Gallacher @Peter_Gallacher
                                2022-04-27 08:13:03.474Z

                                Hi @Kitch I've now managed to fill out the form and report the issue via the need help button. Hopefully speak soon.