Huge latency when calling any function
System Information
SoundFlow 5.1.4
OS: darwin 18.7.0
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G4032
Steps to Reproduce
- For example, in Pro Tools, launch the function "Select between markers" via a Stream Deck.
Expected Result
The selection should probably be visible in a matter of 2 sec maximum
Actual Result
The selection is visible 10 or more real seconds later.
Workaround
I try not to use Pro Tools functions and always do the maximum directly in SF.
For example, in a script to select the shot length thanks to a 'Video Cut' track, I frist create with sound flow a EDL txt from the track that I write in the computer and then, in the script 'Select Shot Length', I find the timecodes around the current selection from this txt.
The frist script was mostly using PT with Link Edit to Timeline, by jumpig to the Video Cut Track, press 'alt+tab' then 'shift+tab' and finaly go back to the originaly selected tracks. That took ages.
Other Notes
The PT session is massive, some delay is predictable but is there a way to make all the process faster ? Before using SF, we used Keymaestro and there were not such latency. SF is really amazing otherwise and we will be glad to continu using it.
Thank you very much for your time and your work.
Tifanie Ashba
Intern from Studio Vermaas
Links
User UID: FpDBkRX7RLPjGOpG5E1LmWcpG9n1
Feedback Key: sffeedback:FpDBkRX7RLPjGOpG5E1LmWcpG9n1:-N1hLppyVXMPgf43MYF-
- Christian Scheuer @chrscheuer2022-05-10 09:46:48.889Z
Hi
Are you seeing this delay with anything other than marker related functions?
Markers are very slow to be read from Pro Tools at this point, if there's a high number of markers in the session. The "Select between markers" function needs to read all markers before it can do its work. It then caches this so subsequent calls should be faster :)
- SStudioC Vermaas @StudioC_Vermaas
Hi,
Thank you for your fast reply, yes this was just an example, every other function is very slow.
Christian Scheuer @chrscheuer2022-05-10 09:55:44.048Z
That sounds very odd. SoundFlow is usually lightening fast and much faster than AppleScript / KM.
I can see in your log file that there's a very long range of errors like this:
10.05.2022 09:48:24.95 <info> [Backend]: AXUIElementException in LoadUIElement: Couldn't get count of attribute 'AXChildren' of element with title '', role '': kAXErrorCannotComplete
This indicates that Pro Tools is not responding in time to the requests. Something in Pro Tools appear to be blocking SF from talking to it.
I would troubleshoot:
- Close any potential open AudioSuite windows
- Upgrade to a newer PT version
- Try with a different session
- Check on another machine with the same session
- SStudioC Vermaas @StudioC_Vermaas
Ok I will check all that !
I'll let you know if it's any better really soon.
Thank you ! - In reply tochrscheuer⬆:SStudioC Vermaas @StudioC_Vermaas
Hello Christian !
Once the Insight plug-in disactivated, everything went back to normal ! It's still a problem that this plug-in cause that much latency but at least now we know and we can use SF again ! (Quitting Keyboard Maestro also helped).
Thank you very much for your help !
Christian Scheuer @chrscheuer2022-05-16 08:56:33.671Z
Awesome, thank you for the info :)