I made quite few scripts for markers and regions,
But they are all lost on the forum, because they don't have a dedicated thread.
So, I will put my new regions or markers scripts or their update here.
Let's Start !
Regions Clock
Styles can be customized within the script.
Update 2016-04-02
Regions Clock now has a save and restore position and docked state (thanks to heda and spk77 for !) and has On/Off button states for toolbars.
EDIT 2016-11-10
New script:
X-Raym_Export markers as YouTube timecode for video description.lua
EDIT 2018-09-12
New free script
X-Raym_Set closest edge of closest region to edit cursor.lua
2019-01-26
X-Raym_Export markers and regions as tab-delimited CSV file.lua
X-Raym_Import markers and regions from tab-delimited CSV file.lua
Interresting and works ok with previous version but doesn't remind window position.
I reload it this morning but i get this error message :
cannot open /Users/Library/Application Support/REAPER/Scripts/../Functions/spk77_Save table to file and load table from file_functions.lua: No such file or directory
Indeed, to remind window position, the script need an external script, the spk77_Save table to file and load table from file_functions.lua, which you be based on a sibling Functions folder of the script directory.
File structure is
Script in Regions Folder
Extra Script in Functions Folder
and a preset file will be written in the parent folder, which contains both Regions and Functions folder.
If you download my whole free script file, then you file structure will be ok right out of the box.
Great job on these. I'm looking for something that can take the markers in an item - such as a WAV that I previously rendered and imported into a new project. I need to be able to run an action that finds those embedded markers in that item and creates new markers in Reaper. Is this possible?
__________________ Music is what feelings sound like.
New script for the next REAPER version 6.09 with take markers feature:
Create project markers from selected takes markers
There is a lot we can imagine for take markers, (copy pasting from one item to another, export as list, add random colors etc), but I'll stay focus on the need I face before being swallow into a ReaScript black hole :P
AT leats this script can serve a base for other take markers related scripts !
Thank you for the great work,; I would ike to be able to dock the "Region's Clock" reascript window, because right now i can't by right+click the window name.
I am on Mac OS Catalina 10.15.7
running Reaper v6.43
@Input_studio
Hi ! The script simply use a Get Currention Region provided by reascript, which is the use case in most of time. Current is not related to length but to last region start.
Any different behavior would need to code custom functions... A bit specific IMHO (first request and only request for that in years as you said ^^).
After searching for some time on my way to creating a solution to my problem I stumbled upon this. As I am until now merely making music it might be way over my head but anyway:
While playing is it possible to get the length of the current/last region in an easy way and utilize it to make a jump in playback? Reason is that quite frequently a singer will miss a "repeat" in our arrangements and goes on the next part of the song - unfortunately the backing tracks will then no longer be in sync. The band would easily follow the singer but I need to advance the rest of the project accordingly.
My idea was to have the playcursor simply advance (rewind) by the lenght of the current (last) region (either at the end of the current bar or instantanously) which will put playback to the next (previous) region at the same place in relation to the region-start as it was before the jump.
By searching the actions (including SWS) I could not find anything that sounded like it could help me. But as you here are managing regions and lengths like a charm I thought I might get help here...
@mcconnor
Hi, I leave this thread for support of me free scripts,
for free custom dev, better make a dedicated thread so other scripters can also answer :P This is is simple script, would be good practice for any beginner.
With all of thise effort around regions; I'm wondering if you could help me with a solution I've been fighting with forever.
I'd basically like a 'MarkerList' sort of solution but one that works better with regions/media so that I can save and recall various orders of regions.
Here's the situation:
I have one master project that has a ton of songs in it that are inserted as subprojects; each song is a region.
These are our backing tracks, video, midi automation, dmx lighting changes, click, etc.
For each show, I put the regions in the same order of the setlist and then I can just hit play at the beginning of the set and it will run thru the entire show without intervention.
I know there's a 'Playlist' feature that I could use and for the most part, it kind of does what I need - but it's very limiting. If I need to stop a song for some kind of break in the middle of a set - I can't resume the show at the next song without exiting out of the playlist and manually going to that region - it's a real pain.
What I would love is a way to put the regions in order that I want them; save that as a 'playlist' - such as '3x60 minute sets' --- then change the order of regions and save it again as maybe a '2x90 minute sets' -- or whatever.
Basically I want to save different orders of regions but only have one master project that I'm working with.
I know I can save a separate project with the order as I want them.
The problem with that method is that if we add in a new song and I update one project; now I have to make sure to add it to every other project as well.
It's a real pain to do that.
I guess one thing to keep in mind is that if a new song (region) is added and I recall a previously saved "playlist" - it wouldn't know where that new addition would go, so it should go to the end of the order.
Can anyone help me come up with a way to do this sort of thing?
Thanks for your fantastic scripts, X-Raym. I've gotten a lot of use out of them.
I'm wondering if you have any ideas about whether a script could convert all regions into markers (posted where the region starts), with the region names turning into the marker names?
I'm trying to send some midi info to a friend, and it would be really helpful if I could take all the regions delineating song sections and turn them into markers that will go with the exported midi file.