No internet connection
  1. Home
  2. How to

Stream deck for pre named marker notes

By Stefan Holm @Stefan_Holm
    2025-01-15 12:11:11.307Z

    I am thinking of buying a small stream deck to put near the seats in the back of my editing room for screening and making notes.
    In such a way that the stream deck has buttons like:
    DX
    FOLEY
    BAD EDIT
    VOLUME
    AAF
    MX
    ... You get the idea.

    So, is it possible to make these pre named markers and trigger them via the stream deck as you are doing a playback?

    Thanks

    Solved in post #21, click to view
    • 20 replies

    There are 20 replies. Estimated reading time: 7 minutes

    1. Dustin Harris @Dustin_Harris
        2025-01-15 14:37:24.868Z

        Here's a script that you can duplicate a bunch of times, change the value of markerName to the different names you need, then add them to a deck.

        const markerName = "DX";
        
        function createMarker(name) {
            sf.app.proTools.createMemoryLocation({
                colorIndex: 1, //your choice
                name: name,
                startTime: sf.app.proTools.getTimelineSelection().inTime,
                reference: "Absolute",
            })
        }
        
        sf.ui.proTools.appActivateMainWindow();
        createMarker(markerName);
        
        1. It can also be made into a template, so that the script itself is shared, but the input to it varies.

          Other options include:

          • Using the Notes app with the "Notes Client" surface. This can give you a full iPad surface with predefined marker names + categories. These can then be spotted (while playing back, or when stopped) as notes into the Notes app, which can then be exported into Pro Tools markers, printed, shared with other users, etc.
          1. Dustin Harris @Dustin_Harris
              2025-01-15 15:57:16.829Z

              Yeah the Notes App is incredible!

          2. O
            In reply toStefan_Holm:

            Check out my Advanced Memory Locations package in the store. Templates designed for just this, and navigating between like markers.

            1. One more great option!

            2. S
              In reply toStefan_Holm:
              Stefan Holm @Stefan_Holm
                2025-01-16 08:27:19.480Z

                Thanks for the great replies.
                I feel like I almost there.

                But for some reason the first marker i make just keeps changing name instead of making a new one when i hit the buttons.
                I bet I am just missing a small thing .. but I am not techy enough to figure it out.

                1. I think there's a chance you might need to specify the desired marker number in the createMemoryLocation call. This means the script needs to first look through all existing memory locations and find the first free number to use.

                  1. Something like:

                    
                    const markerName = "DX";
                    
                    function getNextFreeMemLocNumber() {
                        var usedNumbers = {};
                        var memLocs = Array.from(sf.app.proTools.memoryLocations.invalidate().allItems);
                        for (let memLoc of memLocs)
                            usedNumbers[memLoc.number] = true;
                    
                        for (let i = 1; i < 9999; i++)
                            if (!usedNumbers[i])
                                return i;
                    
                        throw `No free memory location numbers found`;
                    }
                    
                    function createMarker(name) {
                        var number = getNextFreeMemLocNumber();
                        sf.app.proTools.createMemoryLocation({
                            number: number,
                            colorIndex: 1, //your choice
                            name: name,
                            startTime: sf.app.proTools.getTimelineSelection().inTime,
                            reference: "Absolute",
                        })
                    }
                    
                    sf.ui.proTools.appActivateMainWindow();
                    createMarker(markerName);
                    
                    
                    1. @Stefan_Holm this script works fine for me - no jumping back - it keeps working just fine, no matter where I go. Note, if you hit the Reply button to the bottom-right of a post, it's easier to keep track of which comment you're replying to.

                      If you're having trouble using that script, it's likely that you copy/pasted it wrong or are not actually running this version of the script.

                      1. SStefan Holm @Stefan_Holm
                          2025-01-17 14:39:46.675Z

                          Yes it works, but not during play back. Then it keeps creating the marker at the same spot.

                          1. Ah, I see.

                    2. In reply toStefan_Holm:

                      Is this with my Advanced Memory Locations package?

                      1. I see that the SDK version of my package does indeed not work in chasing in real time but instead places a marker at the current timeline insertion. I see that as a feature not a bug :P

                        However if you use the older version of the package that uses UI it will work as you'd like.

                        In Advanced Memory Locations package, there is a folder called Legacy Package and in that is a Command Template called Advanced Memory locations Template :

                        Create your presets in that and populate your deck with that one and it will drop markers while playing.

                        Bests,
                        Owen

                          1. SStefan Holm @Stefan_Holm
                              2025-01-21 11:19:37.912Z

                              well, I simply can not make it work like i want to. I did it with the notes app and that actually solves all my needs. Thanks guys

                              Reply2 LikesSolution
                        1. S
                          In reply toStefan_Holm:
                          Stefan Holm @Stefan_Holm
                            2025-01-17 13:22:47.000Z

                            It seems to me like when I use your package it will just make markers with numbers, like hitting the numeric enter button.
                            And when I use the other script manually it keeps jumping back and renaming.

                            I really hope this can be done as I think it would be a powerful tool for screenings

                          • S
                            In reply toStefan_Holm:
                            Stefan Holm @Stefan_Holm
                              2025-01-17 13:54:36.247Z

                              I have tried that script and it only works once. So it will make a marker called DX but when you press again nothing happens

                              1. Hi Stefan,

                                Please use the "Reply" button on the right-hand side of the comment you're responding to, otherwise it becomes difficult to understand who you're replying to, and we lose the context. The script I shared works just fine when I test it here.

                                1. SStefan Holm @Stefan_Holm
                                    2025-01-17 14:40:13.312Z

                                    yes of course, that makes sense