Old 04-19-2016, 04:18 AM   #1
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default Scripts: Regions and Markers (various)

Hi !

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

Last edited by X-Raym; 01-26-2019 at 03:04 AM.
X-Raym is offline   Reply With Quote
Old 04-20-2016, 01:36 AM   #2
Sumalc
Human being with feelings
 
Join Date: Oct 2009
Location: France
Posts: 743
Default

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
Sumalc is online now   Reply With Quote
Old 04-20-2016, 01:43 AM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@Sumalc
Thanks !

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.
X-Raym is offline   Reply With Quote
Old 04-20-2016, 02:23 AM   #4
Sumalc
Human being with feelings
 
Join Date: Oct 2009
Location: France
Posts: 743
Default

Thank you for your explanation, everything is fine. So much utilities to discover in your folder now ;-)

Last edited by Sumalc; 04-20-2016 at 02:29 AM.
Sumalc is online now   Reply With Quote
Old 11-10-2016, 10:13 AM   #5
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

New script for our YouTubers friends :
  • X-Raym_Export markers as YouTube timecode for video description.lua


Screenshot in first post.

Donations are welcome is you appreciate my work. Thanks for your consideration
X-Raym is offline   Reply With Quote
Old 09-22-2017, 06:44 AM   #6
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

New scripts:

ReaScripts: Advanced Renamers (Items-Takes, Tracks, Markers, Regions) / ExtremRaym

  • X-Raym_Rename regions in time selection or current region with patterns.lua
  • X-Raym_Rename markers in time selection or current region




Useful if you want to have prefix, suffix, counters, wildcards etc... to your markers and regions !
X-Raym is offline   Reply With Quote
Old 09-22-2017, 06:50 AM   #7
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,260
Default

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.
karbomusic is offline   Reply With Quote
Old 09-22-2017, 07:24 AM   #8
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@karbomusic
Item: Import item media cues as project markers
Native :P
X-Raym is offline   Reply With Quote
Old 09-22-2017, 08:00 AM   #9
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,260
Default

Quote:
Originally Posted by X-Raym View Post
@karbomusic
Item: Import item media cues as project markers
Native :P
Duh, I must be search challenged to day so thanks!
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Old 11-30-2018, 03:33 PM   #10
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

Just released in my free pack:



  • X-Raym_Create regions from selected items notes and color.lua



Enjoy !
X-Raym is offline   Reply With Quote
Old 12-09-2018, 07:17 AM   #11
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

New free script


  • X-Raym_Set closest edge of closest region to edit cursor.lua



X-Raym is offline   Reply With Quote
Old 01-26-2019, 03:06 AM   #12
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

New scripts:




  • X-Raym_Export markers and regions as tab-delimited CSV file.lua
  • X-Raym_Import markers and regions from tab-delimited CSV file.lua



This is to overcome the issue there


Bug: Importing regions bugs with quote and accent
https://forum.cockos.com/showthread.php?t=211781


These scripts took more than a couple of hours to make right please consider making a donation if you like it Thanks for your consideration !
X-Raym is offline   Reply With Quote
Old 01-26-2019, 03:22 AM   #13
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

New script:
  • X-Raym_Export markers and regions as Davinci Resolve EDL file.lua
This is because I wanted a tempo map markers into DaVinci Resolve, so that items can be snapped to precize beats.





It can surely be extented to manage color etc but it do the the trick.


Thanks for your support !
X-Raym is offline   Reply With Quote
Old 01-26-2019, 04:02 AM   #14
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

New script:


  1. X-Raym_Adjust length and position of regions according to visible items groups.lua


You will fint it in my Item Grouping Pack.

Cheers !
X-Raym is offline   Reply With Quote
Old 01-15-2020, 03:42 PM   #15
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

Update:


Now the Import markers and regions from tab-delimited CSV script also support import time offset from edit cursor pos. Very handy !

Thanks for considering donation if you like this script
X-Raym is offline   Reply With Quote
Old 01-15-2020, 04:03 PM   #16
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default New script

  • Script: X-Raym_Color current region or regions in time selection randomly.lua



X-Raym is offline   Reply With Quote
Old 04-27-2020, 05:23 PM   #17
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default New script

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 !


Enjoy, and thanks for your support !
X-Raym is offline   Reply With Quote
Old 02-08-2021, 04:44 PM   #18
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

New free script:


  • X-Raym_Swap regions names and subtitles notes.lua



Enjoy !
X-Raym is offline   Reply With Quote
Old 04-13-2021, 09:19 AM   #19
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

Region Clock script have been showcased in video in the Let's Talk About REAPER youtube series :P


X-Raym is offline   Reply With Quote
Old 01-05-2022, 09:17 AM   #20
loTrT
Human being with feelings
 
Join Date: Feb 2021
Posts: 13
Default

Hi X-Raym !

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

Is it possible by adding some functions maybe?
loTrT is offline   Reply With Quote
Old 01-05-2022, 10:15 AM   #21
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default Script Update

@loTrT
Just updated the script, you can dock via right click on region progress bar or on no region text.


I also removed dependency for saving window state, so script doesn't require and create a file for this.


Thank you for considering a donation if you enjoy the script!
X-Raym is offline   Reply With Quote
Old 01-07-2022, 08:38 AM   #22
loTrT
Human being with feelings
 
Join Date: Feb 2021
Posts: 13
Default

Quote:
Originally Posted by X-Raym View Post
@loTrT
Just updated the script, you can dock via right click on region progress bar or on no region text.


I also removed dependency for saving window state, so script doesn't require and create a file for this.


Thank you for considering a donation if you enjoy the script!
Thank you very much it works great! and wow so quick!! i will consider a donation of course
loTrT is offline   Reply With Quote
Old 04-18-2022, 08:36 AM   #23
iNX
Human being with feelings
 
Join Date: Dec 2012
Posts: 139
Default

Hello,

Do you think you can do the same thing (with progress bar) but with marker instead of region?
iNX is offline   Reply With Quote
Old 04-18-2022, 08:43 AM   #24
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@iNX
You mean the region clock script ?
I would need few tweaks but it is possible.
X-Raym is offline   Reply With Quote
Old 04-18-2022, 09:15 AM   #25
iNX
Human being with feelings
 
Join Date: Dec 2012
Posts: 139
Default

Quote:
Originally Posted by X-Raym View Post
@iNX
You mean the region clock script ?
I would need few tweaks but it is possible.
Yes, sorry there's more than one script here and yes about the Regions Clock
iNX is offline   Reply With Quote
Old 04-18-2022, 10:36 AM   #26
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@iNX
If this is urgent or for professional projects contact me in PM, thx !
Else I'll take a look soon.
X-Raym is offline   Reply With Quote
Old 04-19-2022, 02:56 AM   #27
iNX
Human being with feelings
 
Join Date: Dec 2012
Posts: 139
Default

Quote:
Originally Posted by X-Raym View Post
@iNX
If this is urgent or for professional projects contact me in PM, thx !
Else I'll take a look soon.
Not urgent, I've tried to mod your script to fit with my needs.

You can check it here (add a second progress bar with markers)

https://www.dropbox.com/s/qeyir2u4ai...clock.lua?dl=0
iNX is offline   Reply With Quote
Old 04-19-2022, 05:15 AM   #28
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@iNX
Hmmm you have moded an obsolete version of the script :S


But as long as it works for you
X-Raym is offline   Reply With Quote
Old 08-29-2022, 03:30 AM   #29
Input_studio
Human being with feelings
 
Join Date: Feb 2015
Location: Matosinhos, Portugal
Posts: 23
Default Regions clock with regions overlapping

Hi there.
First of all, thanks for your work on these amazing tools.

After some years of using your clock script, today I've found that whenever I have regions overlapped, the script only reads the smaller region.

Is there a way to select the longer region to be read by the clock?
Attached Images
File Type: png reaper_ktZxk9BjPh.png (63.6 KB, 70 views)
Input_studio is offline   Reply With Quote
Old 08-29-2022, 03:37 AM   #30
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@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 ^^).
X-Raym is offline   Reply With Quote
Old 10-11-2022, 09:10 AM   #31
mcconnor
Human being with feelings
 
Join Date: Feb 2020
Posts: 87
Default Jumping the play cursor by region lenghts

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 is offline   Reply With Quote
Old 10-11-2022, 10:18 AM   #32
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@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.
X-Raym is offline   Reply With Quote
Old 10-26-2022, 10:36 PM   #33
alexnoclain
Human being with feelings
 
Join Date: Apr 2022
Location: Lille - France
Posts: 27
Default Regions clock on web browser interface

Hey X-Raym,

I'm trying to find a way to implement the "Regions Clock" window in a web browser interface ?

Any idea?

Thanks

Alex
alexnoclain is offline   Reply With Quote
Old 10-27-2022, 12:15 AM   #34
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@alexnoclain
Start by getting the data,

https://github.com/ReaTeam/Doc/blob/...ace_modding.md

then do the layout
X-Raym is offline   Reply With Quote
Old 01-01-2023, 03:16 PM   #35
jimosity
Human being with feelings
 
Join Date: Jul 2007
Location: Cincinnati, Ohio
Posts: 58
Default

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?
jimosity is offline   Reply With Quote
Old 01-01-2023, 05:36 PM   #36
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@jimosity
I dont think I can propose a solution (SWS playlist) for that which would be better what what exists already (SWS playlist)


maybe take a look at cfillion Live switcher: https://forum.cockos.com/showthread.php?t=181159
X-Raym is offline   Reply With Quote
Old 01-16-2023, 07:49 AM   #37
Miscreant
Human being with feelings
 
Miscreant's Avatar
 
Join Date: Mar 2012
Posts: 375
Default

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.
Miscreant is offline   Reply With Quote
Old 01-16-2023, 07:53 AM   #38
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@Miscreant
Hi, thank for your feedback!


This action is exist in SWS extension. You just need to find the right keywords :P



Cheers !
X-Raym is offline   Reply With Quote
Old 01-16-2023, 08:13 AM   #39
Miscreant
Human being with feelings
 
Miscreant's Avatar
 
Join Date: Mar 2012
Posts: 375
Default

Quote:
Originally Posted by X-Raym View Post
@Miscreant
Hi, thank for your feedback!


This action is exist in SWS extension. You just need to find the right keywords :P



Cheers !
Thanks for chiming in so quickly. Here's what I'm seeing after the most obvious keyword search...?



https://drive.google.com/file/d/1H2x...usp=share_link

Edit:

I'm also seeing this:

Script: X-Raym_Convert tempo and time signature markers into project markers.lua

But nothing quite for 'convert regions into markers, preserving names'?
Miscreant is offline   Reply With Quote
Old 01-16-2023, 08:16 AM   #40
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@Miscreant
It is all about the keywords.





https://sws-extension.org
X-Raym 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 06:18 AM.


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