Old 01-12-2021, 07:32 PM   #1
mgrtoma
Human being with feelings
 
Join Date: Aug 2020
Posts: 16
Default Pro Tools Markers to Reaper Markers converter

Hello, I'm trying to figure out how to import in Reaper the Pro Tools Markers. Fortunately, Pro Tools has a very complete option to export all the data from the session including file names, plugins, positions, markers, etc. as a text file well organized.
I don't want to try to do a full converter like AA translator but just a small markers converter will be a good start.

I created 6 Markers in Pro Tools, then I did same in Reaper at the exact same position, and both session setup to 30fps.

Here is how it looks in Pro Tools Export text :
----------------------
# LOCATION TIME REFERENCE UNITS NAME
1 00:00:01:00 96096 Samples First Marker
2 00:00:04:00 384384 Samples Second Marker
3 00:00:10:00 960960 Samples Third Marker
4 00:01:00:00 5760000 Samples Fourth Marker
5 00:01:30:00 8640000 Samples Fifth Marker
6 01:01:30:00 354240000 Samples Sixth Marker

----------------------
Here in Reaper :
----------------------
MARKER 1 1 "First Marker" 0 0 1 B {60C6BA3C-264E-004C-A9DE-C96DCBAFB29F}
MARKER 2 4 "Second Marker" 0 0 1 B {498D3275-9CFF-8749-B245-B2335F1A0F65}
MARKER 3 10 "Third Marker" 0 0 1 B {6187A424-C84F-F042-A7C4-7A9116EAF88A}
MARKER 4 60 "Fourth Marker" 0 0 1 B {E17935B1-0062-8743-9660-C099932EE6AB}
MARKER 5 90 "Fifth Marker" 0 0 1 B {D851CE1F-0B48-A247-84E8-8457B316586B}
MARKER 6 3690 "Sixth Marker" 0 0 1 B {2BEA4E7A-E4FD-F245-8289-59B3A861742E}


I think the only interesting info to convert from PT Text is the Timecode and the marker name. But I'm a bit confused how Reaper markers system is working...

Is there already someone who did this before ? I'm a bit unexperienced, I just know basic scripting but I'm sure this feature could save a lot of time to people who get PT sessions from their clients and using Reaper as a daily driver.

Any clues how to do that ?

Thanks for your help, I putted the 2 text files attached to my post.
Attached Files
File Type: txt Pro Tools.txt (566 Bytes, 98 views)
File Type: txt Reaper.txt (462 Bytes, 88 views)
mgrtoma is offline   Reply With Quote
Old 01-12-2021, 08:47 PM   #2
daniellumertz
Human being with feelings
 
daniellumertz's Avatar
 
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
Default

So you need to analise your file by lines and use LUA strings functions to get the info you need. Then use https://www.extremraym.com/cloud/rea...dProjectMarker too add the project markers where you need. And, if you want, delete the old ones ( to just have the imported ones)


Hey bonus trick: You can use reaper.JS_File_Stat(file_source) to check if your item was modfied every defer cycle and if it was it then triggers your action to sync the markes ( this way every time you export the markers from pro tools REAPER will automatically get updated! )
daniellumertz is offline   Reply With Quote
Old 01-12-2021, 11:16 PM   #3
sonictim
Human being with feelings
 
sonictim's Avatar
 
Join Date: Feb 2020
Location: Los Angeles
Posts: 463
Default

I think AATranslator might be able to do that...
__________________
My Reapack Repository: I write scripts for my own personal use.
I offer no support, but if you find one that helps you, go for it!
sonictim is offline   Reply With Quote
Old 01-13-2021, 03:26 AM   #4
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,902
Default

@mgrtoma
This ProTools markers list format seems very close to other Markers imports script I have made here or there.
You can definitely write a script for supporting this format
I think utlimately my version could be moded to also support this position format in seconds (the other columns have nothing special). - I don't remember in which script I have made the timecode parsing function but it can be redone from scratch.



(note sure what is the separator in your ProTools format though cause you paste it as text, not within CODE tags so few things may have been stripped).
X-Raym is offline   Reply With Quote
Old 01-13-2021, 06:12 AM   #5
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,969
Default

Quote:
Originally Posted by daniellumertz View Post
So you need to analise your file
No, don't. It's not hygienic.
__________________
it's meant to sound like that...
jrk is offline   Reply With Quote
Old 01-16-2021, 01:32 AM   #6
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default

Quote:
Originally Posted by sonictim View Post
I think AATranslator might be able to do that...
Not from that txt file - just directly from the PT session file
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 01-16-2021, 01:41 AM   #7
Runaway
Human being with feelings
 
Runaway's Avatar
 
Join Date: Jun 2009
Location: Sydney, Australia
Posts: 2,510
Default

If you are writing a marker entry from memory it would be something like..

"MARKER " + marker number, Offset in samples / session sample rate, marker name
If it is a region marker you will need a second one
"MARKER " + marker number, (Offset + Length) in samples / session sample rate, marker name
__________________
AATranslator
Runaway is offline   Reply With Quote
Old 01-16-2021, 06:18 AM   #8
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,902
Default

I will surely make a script about this to parse the tetx file into reaper markers directly.
X-Raym is offline   Reply With Quote
Old 01-16-2021, 08:14 AM   #9
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,630
Default

is it only markers(no regions)? And is the format of the stored markers always like this, including the first # LOCATION TIME REFERENCE UNITS NAME line?

Quote:
# LOCATION TIME REFERENCE UNITS NAME
1 00:00:01:00 96096 Samples First Marker
2 00:00:04:00 384384 Samples Second Marker
3 00:00:10:00 960960 Samples Third Marker
4 00:01:00:00 5760000 Samples Fourth Marker
5 00:01:30:00 8640000 Samples Fifth Marker
6 01:01:30:00 354240000 Samples Sixth Marker
Edit: is "Samples" part of the marker-name or is it the length of the marker, like "96096 Samples" for the first one?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 01-23-2021, 10:51 AM   #10
mgrtoma
Human being with feelings
 
Join Date: Aug 2020
Posts: 16
Default

After doing some research, there is a trick that does the job from PT markers to Reaper markers without using PT Text file format.

First : make sure that your Pro Tools session and the Reaper target session have the same framerate/bars setup.

In Pro Tools :
- open your session
- create a blank midi track
- export the session in midi format (.mid)

In Reaper :
- import the .mid file and you will see all the markers from Pro Tools properly named.


It doesn't keep Pro Tools advanced markers features like notes, but it's enough for basic works.
Of course, it requires to have license for both PT and Reaper which is not the best, AA translator can do 1000x more things without even having the need of PT.

Last edited by mgrtoma; 01-23-2021 at 10:57 AM.
mgrtoma is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.