Old 09-02-2016, 12:06 PM   #1
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default Lua: Align Items by transients



===============
===

Currently the script supports items with different playrate, offset, loopped items.
Note: Needed SWS - latest version.
Short info
  • The script works well only with audio, which has bright transients. Drums, rhythm guitar, percussion and more.
  • It is recommended that of items were approximately the same in level.
  • Select two audio-items, set time selection.
  • Use sliders for change transient detection setting.
  • Don't use large values sensitive and low threshold unnecessarily.
  • The final result depends mainly on the correctness of the settings. We need a little experimentation to understand how it works

Another and old demo
===============
Guitar to guitar demo
Guitar to guitar demo
Drums to guitar demo

===============
Link (will be updated):
Align Items by transients

===============
How install - it is actual for all lua-scripts(unless otherwise stated):
Open Reaper. Actions>Show Action List. ReaScript: press "New".
Select the folder for scripts(By default - ...\Reaper\Scripts).
Specify the name and extension - .lua(it's mandatory). For Example, MyScript.lua. Click save. You will see a black window.
Copy the text of the script(link in the first post) in this window. Press Ctrl+S. Close the window. Now the script is available in the Action List.
===
In addition, you can use Reapack, but the link to my repository must be added manually
__________________
ReaScripts

Last edited by eugen2777; 12-26-2017 at 04:55 AM.
eugen2777 is offline   Reply With Quote
Old 09-02-2016, 06:58 PM   #2
Frank B
Human being with feelings
 
Frank B's Avatar
 
Join Date: Nov 2015
Posts: 137
Default

awesome! thanks
Frank B is offline   Reply With Quote
Old 09-04-2016, 04:25 AM   #3
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

Updated, added setting reference - item, quantize markers.
Supports different playrate, minor fixes.
__________________
ReaScripts
eugen2777 is offline   Reply With Quote
Old 09-04-2016, 08:22 AM   #4
Jae.Thomas
Human being with feelings
 
Join Date: Jun 2006
Posts: 22,567
Default

these would seem to work like a poor man's "plural eyes"

is there a way to have it normalize the files but only to the processing and not ACTUALLY normalize them? So it can "see the waves" equally?
Jae.Thomas is offline   Reply With Quote
Old 09-04-2016, 10:16 AM   #5
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

You mean automatic normalization before searching markers, creating the markers and return to the original level?
I just want to clarify:
Store level>Normalize>Create Markers>Align>Restore level(it's all in the background)
Is that so?
__________________
ReaScripts
eugen2777 is offline   Reply With Quote
Old 09-04-2016, 10:53 AM   #6
The-Zeronaut
Human being with feelings
 
Join Date: Mar 2009
Posts: 308
Default

Seems pretty useful

Would it be possible to make them not aligned perfect 100%?
like only a certain percent%
The-Zeronaut is offline   Reply With Quote
Old 09-04-2016, 11:39 AM   #7
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

Ok, it will be added.
===================
Updated.
__________________
ReaScripts

Last edited by eugen2777; 09-04-2016 at 04:04 PM.
eugen2777 is offline   Reply With Quote
Old 09-04-2016, 05:08 PM   #8
semiquaver
Human being with feelings
 
Join Date: Jun 2008
Posts: 4,923
Default

Will you include in ReaPack ?
semiquaver is offline   Reply With Quote
Old 09-05-2016, 03:55 AM   #9
Indiscipline
Human being with feelings
 
Indiscipline's Avatar
 
Join Date: Apr 2016
Posts: 143
Default

This is a very sought after feature for working with non-multitrack material, such as double guitars. Thanks a lot!

Too bad there's no possibility to lock corresponding stretch markers between multiple tracks for further manual editing.
Indiscipline is offline   Reply With Quote
Old 09-05-2016, 04:54 AM   #10
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

I think we can block them - this is no big deal. However, we need to know how much this is convenient.
Я тут слова подбираю на английском - смотрю наверх > GitHub repo > Kirill - Вы на русском говорите?
__________________
ReaScripts

Last edited by eugen2777; 09-05-2016 at 05:12 AM.
eugen2777 is offline   Reply With Quote
Old 09-05-2016, 06:25 AM   #11
raiirock
Human being with feelings
 
raiirock's Avatar
 
Join Date: Mar 2013
Location: Moscow
Posts: 99
Default

Wow ! Serious stuff !! Женя, это просто бомба
raiirock is offline   Reply With Quote
Old 09-05-2016, 06:40 AM   #12
The-Zeronaut
Human being with feelings
 
Join Date: Mar 2009
Posts: 308
Default

Quote:
Originally Posted by eugen2777 View Post
Ok, it will be added.
===================
Updated.
amazing!!
Thanks a lot!
The-Zeronaut is offline   Reply With Quote
Old 09-05-2016, 11:23 AM   #13
raiirock
Human being with feelings
 
raiirock's Avatar
 
Join Date: Mar 2013
Location: Moscow
Posts: 99
Default

guys can you please help to install this script. where should i put the txt file ?
raiirock is offline   Reply With Quote
Old 09-05-2016, 12:09 PM   #14
CoryT
Human being with feelings
 
Join Date: Aug 2015
Location: Kentucky
Posts: 37
Default

So how does one get this script?
CoryT is offline   Reply With Quote
Old 09-05-2016, 12:36 PM   #15
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

Link in the first post. And a short information about the installation.
__________________
ReaScripts

Last edited by eugen2777; 09-05-2016 at 12:56 PM.
eugen2777 is offline   Reply With Quote
Old 09-05-2016, 02:45 PM   #16
Javi_Metal
Human being with feelings
 
Join Date: Sep 2014
Posts: 18
Default

Looks good! Unfortunately, not working on V5.24
Javi_Metal is offline   Reply With Quote
Old 09-05-2016, 02:54 PM   #17
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

I test it on V5.24. The script works. Maybe, SWS? Needed SWS - latest version.
__________________
ReaScripts
eugen2777 is offline   Reply With Quote
Old 09-06-2016, 11:02 AM   #18
Javi_Metal
Human being with feelings
 
Join Date: Sep 2014
Posts: 18
Default

This is what happens to me. I don't know if I am doing something wrong.

Javi_Metal is offline   Reply With Quote
Old 09-06-2016, 11:42 AM   #19
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

you need to make a time selection
Sexan is online now   Reply With Quote
Old 09-06-2016, 11:53 AM   #20
Subz
Human being with feelings
 
Subz's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 3,210
Default

Quote:
Originally Posted by Sexan View Post
you need to make a time selection
Thanks!!!!
Subz is offline   Reply With Quote
Old 09-06-2016, 12:05 PM   #21
Subz
Human being with feelings
 
Subz's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 3,210
Default

this tool is really good!!

would be great if it could align more than one file at a time?!

currently i have to do one backing track at a time,

great extension though!!

thank you for sharing!!

PS could there be an option to not need to select a time selection??

thanks humbly

Subz
Subz is offline   Reply With Quote
Old 09-09-2016, 07:01 PM   #22
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

Update.
https://raw.githubusercontent.com/EU...ini-demo)4.gif
__________________
ReaScripts

Last edited by eugen2777; 09-09-2016 at 07:07 PM.
eugen2777 is offline   Reply With Quote
Old 09-09-2016, 10:14 PM   #23
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Do you have any negative stretch markers protection in the code?
(Negative markers crash REAPER, but only while playing. So user can potentially save damaged project and note it is damaged only after reopening again)
mpl is offline   Reply With Quote
Old 09-10-2016, 12:31 AM   #24
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

Perhaps, it is necessary to specify, thanks for the information. I used special projects for the test - they were not injured.
If you are not difficult to write in more detail - I'll fix it.
(Если на русском, вообще хорошо).
__________________
ReaScripts
eugen2777 is offline   Reply With Quote
Old 09-10-2016, 01:30 AM   #25
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

What does this script do,
that is not possible in mpl's Q-tool?
http://forum.cockos.com/showthread.php?t=165672

And separating stretch-marker detection/making
and the quantizing seems like a good idea.
As not everything is always so perfect.
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp

Last edited by G-Sun; 09-10-2016 at 03:57 AM.
G-Sun is offline   Reply With Quote
Old 09-10-2016, 03:26 AM   #26
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Looking good, Eugen!

I just had an interesting idea for the retrigger time. It's kinda hard to guess what 200ms looks like in context of the audio, especially if you zoom in and out a lot.
The idea is for your script to draw a time selection which corresponds to the retrig time in the middle of the screen while the GUI is open.
Or perhaps it could draw this for only 3 seconds whenever retrig was adjusted? Then, if there was an existing time selection, it could be restored after 3 seconds?
Anyone think of something this might break?
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 09-10-2016, 06:26 PM   #27
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

eugen2777, simply check srcpos of stretch markers not crossing each other (sm`s are sorted by their position already so positions aren`t crossing). So when you move stretch marker, you should check - if new source position is before existing SM srcpos (or later then next SM srcpos), limit srcpos and (relatively) pos to some value or just don`t move this marker.

Last edited by mpl; 09-12-2016 at 01:49 PM.
mpl is offline   Reply With Quote
Old 09-11-2016, 07:30 AM   #28
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

mpl, thank you!
__________________
ReaScripts
eugen2777 is offline   Reply With Quote
Old 09-12-2016, 12:00 PM   #29
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,924
Default

We learned this the hard way




>
__________________
Nathan, Lincoln, UK. | Item Marker Tool. (happily retired) | Source Time Position Tool. | CD Track Marker Tool. | Timer Recording Tool. | dB marks on MCP faders FR.
planetnine is online now   Reply With Quote
Old 05-06-2017, 07:49 AM   #30
xinky
Human being with feelings
 
Join Date: Apr 2016
Posts: 68
Default

Really Thanks!

you've saved my ass (I was having out of worldclock-recorded overheads. Your plugin fixed it.

PS I believe i discovered small bug (feature ? )
When we want to align 2nd item, and "master" take was set, to the same that before - our 1st item got unsynchronised again.
xinky 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 04:25 AM.


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