Convert Clip Groups to Markers
Has anyone developed a script to convert clip groups into markers? I love the search marker functionality in SoundFlow, but it's more stable to initially make clip groups for a project because of conforms. So I'd like to have the ability to select one track, or multiple tracks with clip groups and have it take the clip name and copy it to a marker/memory location. I don't need the length or end point converted; just the start point and name. Once those are converted then I can utilize the "search marker" feature as I'm sound editing/designing.
- JJonas Orantin @Jonas_Orantin
Hi everyone,
I have exactly the same request.
I know @samuel_henriques managed to do the opposite (Rename clips by markers in Pro Tools) but is it possible to create and rename markers from a "note track" with the names of the clips groups ?- OOwen Granich-Young @Owen_Granich_Young
SDK IS SO COOl! Needs to be on PT 2022.12 or later for this to work but man it works fast. You can get more detailed with colors etc but for now, select any number of clips on any number of tracks and press the button. Boom. It ignores all Fade in's Out's and Crossfades and drops a marker for ever clip name.
let currentClip = sf.app.proTools.getSelectedClipInfo(); let filteredClips = currentClip.Clips.filter(clip => !clip.ClipName.includes('(fade') && !clip.ClipName.includes('(cross fade')); let clipsArray = filteredClips.map(({ ClipName, StartTime }) => ({ ClipName, StartTime })); clipsArray.forEach(({ ClipName, StartTime }) => { sf.app.proTools.createMemoryLocation({ startTime: StartTime.toString(), name: ClipName, colorIndex : 1 ///or any number you want }); });
- JJonas Orantin @Jonas_Orantin
Thank you so much @Owen_Granich_Young !!! Is there a simple way to choose the color of my markers ? With your script, every marker has a different color...
Thank you again !- OOwen Granich-Young @Owen_Granich_Young
Never mind sorry guys!
just go like this
clipsArray.forEach(({ ClipName, StartTime }) => { sf.app.proTools.createMemoryLocation({ startTime: StartTime.toString(), name: ClipName, colorIndex : 1 ///or any number you want }); });
- JJonas Orantin @Jonas_Orantin
Thank you so much ! Just for my knowledge, I tried to find a way to choose the color by myself by searching this "colorIndex" parameter. How can I find online these type of simple commands ? I tried to look for the properties of sf.app.proTools.createMemoryLocation, but I didn't manage ti find anything interesting...
Thank's again !
- JIn reply toMac_Smith⬆:Jonas Orantin @Jonas_Orantin
Hi everyone, hi @Owen_Granich_Young,
I've been using this "convert Clip Groups to Markers" function so many times, but today I got a new demand for you. I'm sure it's too easy for you all...
Is there a way to do the exact same thing from a video track with multiple clips. Typically I need it to work on a cut track (which is an AAF VIDEO Track from Media Composer imported as a satellite track).It would be so great.
Thank's !