Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 07-12-2020, 03:42 AM   #1
Metrobot
Human being with feelings
 
Join Date: Feb 2018
Posts: 205
Default Script Request? -Copy Region and contents but ignore time signature/tempo data?

Hello,
I don't know how to script so I'd like to request a script that allows a user to a) Copy a region and its contents but ignore tempo and time signature data. For example, It would be great if I could have a section/region that is in 7/8, copy it to a section that is in 4/4 and not have reaper automatically insert a 7/8 time signature/tempo marker into the 4/4 section thus leaving the 4/4 grid settings intact.
b) If possible have an option do this with a copy/paste style instead of having to drag/copy the region to its destination.
Would someone be able to do this? Or is there one already available?
Happy to donate some cash for this.

-M

Last edited by Metrobot; 07-12-2020 at 04:14 AM.
Metrobot is offline   Reply With Quote
Old 07-12-2020, 05:37 AM   #2
tufb
Human being with feelings
 
Join Date: Dec 2017
Posts: 152
Default

Copy items to project markers

bfut_Copy items to project markers, remove overlaps.lua
bfut_Copy items within time selection to project markers, remove overlaps.lua

Copies any selected items to project markers.

HOW TO USE:
1) There must be at least one project marker.
2) Select media item(s).
3) Run the script.


You can use as many markers as you like.
Note the differing time signatures.


edit: large-scale images removed because this script is not what OP is looking for

Last edited by tufb; 07-12-2020 at 02:06 PM.
tufb is offline   Reply With Quote
Old 07-12-2020, 08:33 AM   #3
Metrobot
Human being with feelings
 
Join Date: Feb 2018
Posts: 205
Default

Thanks tufb but I'm getting messy results.
It doesn't copy to the right place (usually off by a measure), it also adds some of the selected items to a marker near the selection at the same time, and sometimes still adding various time signature changes.
Don't know if I need to change any settings or not?
-m
Metrobot is offline   Reply With Quote
Old 07-12-2020, 09:48 AM   #4
tufb
Human being with feelings
 
Join Date: Dec 2017
Posts: 152
Default

Can you share screenshots before/after? Which of the scripts did you use? What do you mean when you say "adding various time signature changes" ?

Each script copies to every marker in the project. Here is an old screencapture, maybe that helps https://streamable.com/3crl4

Last edited by tufb; 07-12-2020 at 10:10 AM.
tufb is offline   Reply With Quote
Old 07-12-2020, 10:59 AM   #5
Metrobot
Human being with feelings
 
Join Date: Feb 2018
Posts: 205
Default

I'm running "copy items within time selection to project markers, remove overlaps"
It seems to add the markers if I use it with ripple edit turned on
The pics show it without ripple edit and the paste ends a measure in front of the marker.
the 6/8 time signature marker was already there before I copied and pasted the items.

Edit:
"Each script copies to every marker in the project"
I don't think that will help me I just want to be able to select a region as normal and be able to copy it without its original time signature.
How can it do that if it's copying to every marker?


Sorry about the small image in the "before" pic. I kept on having to resize it smaller and smaller.
-M
Attached Images
File Type: png After.png (44.3 KB, 93 views)
File Type: jpg Before.jpg (20.1 KB, 108 views)

Last edited by Metrobot; 07-12-2020 at 11:27 AM.
Metrobot is offline   Reply With Quote
Old 07-12-2020, 01:41 PM   #6
tufb
Human being with feelings
 
Join Date: Dec 2017
Posts: 152
Default

Quote:
Originally Posted by Metrobot View Post
It seems to add the markers if I use it with ripple edit turned on
That's native Reaper paste behavior, though. My screenshots/screencaptures have ripple editing OFF.


Quote:
Originally Posted by Metrobot View Post
Edit:
"Each script copies to every marker in the project"
I don't think that will help me I just want to be able to select a region as normal and be able to copy it without its original time signature.
How can it do that if it's copying to every marker?
The topic is "Copy Region and contents but ignore time signature/tempo data". My scripts do just that, except you don't even need a region.
You just select items and off you go. You can copy between different time sigs and the arrangement is unaffected by that, i.e. the length in seconds is unaffected.
Maybe you want something else. Good luck.

Last edited by tufb; 07-12-2020 at 01:48 PM.
tufb is offline   Reply With Quote
Old 07-12-2020, 03:18 PM   #7
Metrobot
Human being with feelings
 
Join Date: Feb 2018
Posts: 205
Default

Quote:
Originally Posted by tufb View Post
That's native Reaper paste behavior, though. My screenshots/screencaptures have ripple editing OFF.



The topic is "Copy Region and contents but ignore time signature/tempo data". My scripts do just that, except you don't even need a region.
You just select items and off you go. You can copy between different time sigs and the arrangement is unaffected by that, i.e. the length in seconds is unaffected.
Maybe you want something else. Good luck.
Is it possible to have it copy to just one selected marker or at the edit cursor position?
Also, I tried it in a different project and the items copied right at the marker as it is supposed to so the project I first tried it with is having some weird glitch. It did the same with 'smart copy' as well.
-m
Metrobot is offline   Reply With Quote
Old 07-13-2020, 07:36 PM   #8
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

The chord sheet in ReaTrak will copy regions and items without time signatures.
It can be done in the chord sheet editor or the scripts
Script: ReaTrak copy measures at cursor.lua
Script: ReaTrak paste measures at cursor (insert).lua
Script: ReaTrak paste measures at cursor (over).lua
Script: ReaTrak paste measures at cursor (chords only insert).lua
Script: ReaTrak paste measures at cursor (chords only over).lua

__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote
Old 07-15-2020, 03:21 AM   #9
Metrobot
Human being with feelings
 
Join Date: Feb 2018
Posts: 205
Default

Quote:
Originally Posted by MusoBob View Post
The chord sheet in ReaTrak will copy regions and items without time signatures.
It can be done in the chord sheet editor or the scripts
Script: ReaTrak copy measures at cursor.lua
Script: ReaTrak paste measures at cursor (insert).lua
Script: ReaTrak paste measures at cursor (over).lua
Script: ReaTrak paste measures at cursor (chords only insert).lua
Script: ReaTrak paste measures at cursor (chords only over).lua

Hello Bob,
Thanks for your reply I just saw this.
Is ReaTrak a JS plug-in that can be downloaded through Reapack?
-M
Metrobot is offline   Reply With Quote
Old 07-15-2020, 04:22 AM   #10
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

just download by right click Save Link/Target As ReaTrak_ver.47.ReaperConfigZip and rename ReaTrak_ver.47.ReaperConfig.Zip
put the scripts you need in the Scripts folder then "Load" them in the Action window.
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote
Old 07-15-2020, 08:06 AM   #11
Metrobot
Human being with feelings
 
Join Date: Feb 2018
Posts: 205
Default

Quote:
Originally Posted by MusoBob View Post
just download by right click Save Link/Target As ReaTrak_ver.47.ReaperConfigZip and rename ReaTrak_ver.47.ReaperConfig.Zip
put the scripts you need in the Scripts folder then "Load" them in the Action window.
Thanks very much Bob,
So I just pick and choose the relivant scripts from the "ReaTrak_ver.47.ReaperConfig" folder?
What do I do about the rest of the folders contents (png files.. etc)? Do I put the folder in the Reaper 'Configurations' folder?
Thanks
-M

Last edited by Metrobot; 07-15-2020 at 10:53 AM.
Metrobot is offline   Reply With Quote
Old 07-15-2020, 01:31 PM   #12
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Quote:
Originally Posted by MusoBob View Post
...rename ReaTrak_ver.47.ReaperConfig.Zip...
Drag the scripts you need out into your Scripts folder
(Reaper menu > Options > Show REAPER resource path...)
(Reaper menu > Actions > Show Action List > Load)
(Reaper menu > Actions > Show Action List > Run)

__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak

Last edited by MusoBob; 07-15-2020 at 03:18 PM.
MusoBob is offline   Reply With Quote
Old 08-10-2020, 09:02 AM   #13
Metrobot
Human being with feelings
 
Join Date: Feb 2018
Posts: 205
Default

Thank you very much.
-M
Metrobot 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 07:04 PM.


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