|
|
|
10-12-2014, 06:09 AM
|
#1
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
EEL: Quantize tool for stretch markers
Quantize tool for stretch markers
- Take playrate has to be 1 (I'm going to fix that later)
- "Snap to grid" has to be enabled (works also if this is "off", but the toolbar button possibly blinks)
- slider values from 0% to 100% -> quantizes stretch markers by X percent towards grid
- slider values from 0% to -100% -> unquantizes stretch markers by X percent away from grid
While the script window is focused: - ctrl + z to undo
- esc to close
Download:
https://stash.reaper.fm/22082/Quantiz...%20percent.eel
Last edited by spk77; 10-12-2014 at 06:37 AM.
|
|
|
10-12-2014, 09:28 AM
|
#2
|
Human being with feelings
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,924
|
Nice job.
Not thought of lumping them together in one tool with a select switch..?
>
|
|
|
10-12-2014, 11:09 PM
|
#3
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
Fantastic!!! Thank you so much spk77!
|
|
|
10-13-2014, 04:13 AM
|
#4
|
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
|
Wohoho. I have to try this tonight.
Thanks for making and sharing this.
|
|
|
10-13-2014, 09:18 AM
|
#5
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Quote:
Originally Posted by planetnine
Nice job.
Not thought of lumping them together in one tool with a select switch..?
>
|
That would be Heaven 2.0 for me.
|
|
|
10-13-2014, 09:47 AM
|
#6
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Quote:
Originally Posted by planetnine
Nice job.
Not thought of lumping them together in one tool with a select switch..?
>
|
Quote:
Originally Posted by vanhaze
That would be Heaven 2.0 for me.
|
Haven't decided yet - it shouldn't be too hard, but...
It might be better to keep them separated - it would be easier to add new features, like this "align feature" for the "Quantize tool for stretch markers": - Topmost/upper item is the source/guide item
- The item is copied to other tracks -> that's why the waveforms/peaks are aligned almost perfectly. (Don't know how well this would work in real projects and different takes)
Note: "Quantize tool for stretch markers" doesn't have this feature yet
Quote:
Originally Posted by amagalma
Fantastic!!! Thank you so much spk77!
|
Quote:
Originally Posted by airon
Wohoho. I have to try this tonight.
Thanks for making and sharing this.
|
Thanks!
EDIT - Posted a test version to post#12 - ("Align stretch markers TEST1.eel")
Last edited by spk77; 10-14-2014 at 02:53 PM.
|
|
|
10-13-2014, 02:34 PM
|
#7
|
Human being with feelings
Join Date: Sep 2010
Location: Finland
Posts: 776
|
Groove quantize with stretch markers O_O amazing work once again! THANK YOU!
__________________
Grey, flat and minimal theme for Reaper: Symbiosis
|
|
|
10-13-2014, 03:43 PM
|
#8
|
Human being with feelings
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,924
|
Groove quantise now spk, grind those brain cells together
>
Last edited by planetnine; 10-13-2014 at 04:43 PM.
|
|
|
10-14-2014, 04:25 AM
|
#9
|
Human being with feelings
Join Date: Dec 2007
Location: Germany
Posts: 253
|
Hi spk77.
Thanks for this. Only for your information:
I gave it a shot from the hip for my grouped drumtracks, but that didn't work.
In the future, that might be a cool improvement.
BR,
HoJo
|
|
|
10-14-2014, 06:03 AM
|
#10
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
And it could also be cool for auto-aligning background vox to main vox.
|
|
|
10-14-2014, 06:27 AM
|
#11
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
This thang has enormous potential, can't wait for a final version !
|
|
|
10-14-2014, 08:19 AM
|
#12
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Here's a very rough test version of " Align stretch markers".
Download:
https://stash.reaper.fm/22101/Align%2...rs%20TEST1.eel
There are a lot of "restrictions", unnecessary functions, hardcoded things etc. - well, this is a "test script"
Info- The first item is the "guide item" or "source item" (hard coded atm)
- Select it and an another item. (the second selected item is the "target item". The stretch markers in this item will be moved)
- Works only if 2 items are selected (topmost/upper selected item is always the "guide item"
Example usage of "Align stretch markers" - I'm adding the stretch markers manually, but I think this is still a quite fast process.
(btw. I'm using the free downloadable vocal takes from synchroarts->downloads->Tutorials and Sample Audio->stand alone->WAV audio collection ) - Remove all stretch markers
- First, add stretch markers to start/end of each item - i.e. start/end of audio (use the slider to align the audio)
- This script reads the stretch marker positions from left to right (from the "source item")
- Start adding markers from left to right - always add the same amount of markers to all items
- If it doesn't sound good -> add more markers - always add the same amount of markers to all items
- Try to add markers to start/end of silence (this will work the best)
|
|
|
10-14-2014, 12:12 PM
|
#13
|
Human being with feelings
Join Date: Dec 2007
Location: Germany
Posts: 253
|
Hell yeah...spk77...wow that lloks promising.
WIll give it another try in the next days...
|
|
|
10-14-2014, 12:15 PM
|
#14
|
Human being with feelings
Join Date: Feb 2006
Location: decepticon mothership in a hidden place inside a mountain
Posts: 3,754
|
Thank you so much.
But... I might be dumb, but i have no idea what a EEL script, where i should install it (into the Reaper folder ?), and, most of all : how am i supposed to "call" it when i am in Reaper : will it appear in the menus ? In the SWS actions list ?
|
|
|
10-14-2014, 02:31 PM
|
#15
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Thanks everyone!
sinkmusik, EEL scripts are really easy to "install":
1) load a script file to your computer (ReaScript EEL files have ".eel" extension)
2) from the action list -> Select ReaScript: New/load... -> choose the file - press OK
Now you should see it in the Action list.
|
|
|
10-14-2014, 02:43 PM
|
#16
|
Human being with feelings
Join Date: Feb 2006
Location: decepticon mothership in a hidden place inside a mountain
Posts: 3,754
|
Quote:
Originally Posted by spk77
2) from the action list -> Select ReaScript: New/load... -> choose the file - press OK
Now you should see it in the Action list.
|
Great, thank you !
|
|
|
11-06-2014, 01:16 PM
|
#17
|
Human being with feelings
Join Date: Nov 2011
Location: Denver, CO, USA
Posts: 447
|
This doesn't seem to work quite right. I wanted to test if it was working on the grid settings or "the visible grid", and I used an item that already had a stretch marker on every snare snapped to the .2 and .4, but sliding toward quantize just moved them all to the left (almost to the previous 16th note, but not quite). Did I do something wrong? (this happens even when both grid and visible grid are at 1/4 and whether snap settings follows grid visibility is on or off)
|
|
|
01-19-2015, 10:47 AM
|
#18
|
Human being with feelings
Join Date: May 2011
Posts: 150
|
spk77 you are a GOD! You cant believe how much potential this has and how much you have helped!
|
|
|
01-19-2015, 11:03 AM
|
#19
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Quote:
Originally Posted by Infidel
spk77 you are a GOD! You cant believe how much potential this has and how much you have helped!
|
Thanks ...I had already forgotten this thing. I have to think how to improve this.
@djjedidiah, this probably doesn't work well in every situations. There has to be exactly the same amount of stretch markers in source and target takes to make this work correctly.
|
|
|
01-23-2015, 12:22 PM
|
#20
|
Human being with feelings
Join Date: May 2011
Posts: 150
|
I have a suggestion/request that i am hoping for, and if this works its gonna be a massive time saver:
Lets say we got two tracks, a reference one with some stretch markers added, and a second one that needs to be aligned to the first one.
Lets say we dynamically split the second one.
Would it be possible to align the beginnings of the sliced items of the second track to the stretch markers of the reference track by moving the items and not by stretching(like a "move items to stretch markers" action or something?
|
|
|
01-23-2015, 01:33 PM
|
#21
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Quote:
Originally Posted by Infidel
I have a suggestion/request that i am hoping for, and if this works its gonna be a massive time saver:
Lets say we got two tracks, a reference one with some stretch markers added, and a second one that needs to be aligned to the first one.
Lets say we dynamically split the second one.
Would it be possible to align the beginnings of the sliced items of the second track to the stretch markers of the reference track by moving the items and not by stretching(like a "move items to stretch markers" action or something?
|
That should be possible...if I modify this script:
EEL: Quantize tool (for item positions):
http://forum.cockos.com/showthread.php?t=145243
(first item would move towards first stretch marker, second item would move towards second stretch marker etc.)
|
|
|
01-23-2015, 02:11 PM
|
#22
|
Human being with feelings
Join Date: May 2011
Posts: 150
|
That would be extremely awesome man! XD
|
|
|
01-25-2015, 01:40 AM
|
#23
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Quote:
Originally Posted by Infidel
I have a suggestion/request that i am hoping for, and if this works its gonna be a massive time saver:
Lets say we got two tracks, a reference one with some stretch markers added, and a second one that needs to be aligned to the first one.
Lets say we dynamically split the second one.
Would it be possible to align the beginnings of the sliced items of the second track to the stretch markers of the reference track by moving the items and not by stretching(like a "move items to stretch markers" action or something?
|
I've made some progress:
Time selection selects the guide markers:
I don't know how to handle the situations when item/marker count doesn't match...
|
|
|
01-25-2015, 05:00 AM
|
#24
|
Human being with feelings
Join Date: May 2011
Posts: 150
|
Way to go spk77, really looking forward to this!
|
|
|
01-25-2015, 10:40 AM
|
#25
|
Human being with feelings
Join Date: May 2011
Posts: 150
|
Quote:
Originally Posted by spk77
I don't know how to handle the situations when item/marker count doesn't match...
|
Hmmm maybe the items could be resized(the ending only,without stretching of course)??
|
|
|
01-25-2015, 10:46 AM
|
#26
|
Human being with feelings
Join Date: Mar 2007
Posts: 21,551
|
I'm in AWE of what SPK77 does with scripting.
My... main concern ... about it is why he even has to do it, why those things aren't already built into the application. I get why some of the more obscure stuff should be relegated to scripts, but in a great DAW like Reaper no new user should have to go seek out a script to quantize stretch markers imo. That should already be built into the application and should work from the same quantize dialog you use for everything else.
Reaper now has like... what ... at least 3 different quantize dialogs (maybe more)? The factory one, the fingers thing, and this one and whatever may show up in SWS. It's a little fragmented no?
Great work though. SPK77 should get the Reaper lifetime scripting award for all the great stuff he does.
|
|
|
01-25-2015, 11:14 AM
|
#27
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
awesome! great work!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
01-25-2015, 01:21 PM
|
#28
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Many thanks to you all
Quote:
Originally Posted by Infidel
Hmmm maybe the items could be resized(the ending only,without stretching of course)??
|
I'll try that.
At 31s-> in the gif, there are 3 stretch markers "selected" and 9 selected (target)items. The first three items aligns nicely to the first 3 stretch markers, but the rest 6 items are packed to the third stretch marker. Hmm...how to solve that situation?
|
|
|
01-25-2015, 02:59 PM
|
#29
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
This very useful thanks!
I tried it with triplets in the grid and although moving it towards quantised works great, "unquastised" doesn't do anything with triplets.
apart from that small issue, all working well so far!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
01-26-2015, 08:33 AM
|
#30
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Quote:
Originally Posted by musicbynumbers
This very useful thanks!
I tried it with triplets in the grid and although moving it towards quantised works great, "unquastised" doesn't do anything with triplets.
apart from that small issue, all working well so far!
|
Thanks!
Yes, "Unquantize" doesn't do anything if stretch markers are already perfectly in the grid.
|
|
|
01-26-2015, 02:53 PM
|
#31
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
Quote:
Originally Posted by spk77
Thanks!
Yes, "Unquantize" doesn't do anything if stretch markers are already perfectly in the grid.
|
noted
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
02-07-2015, 02:54 AM
|
#32
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
your diagram above gave me the idea of a tool for taking a selection of items and either moving them closer or further apart in a relative fashion.
I'd find that super useful!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
Last edited by musicbynumbers; 02-07-2015 at 03:02 AM.
|
|
|
02-07-2015, 03:02 AM
|
#33
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
|
Quote:
Originally Posted by spk77
At 31s-> in the gif, there are 3 stretch markers "selected" and 9 selected (target)items. The first three items aligns nicely to the first 3 stretch markers, but the rest 6 items are packed to the third stretch marker. Hmm...how to solve that situation?
|
maybe those last end set of items can be made so the first item sits on the marker but the following ones end up just either sequentially on the normal quantised grid or just one after the other but touching.
It might be good to have a tick box option though for 'all on top of each other' just in case its useful to someone
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
04-14-2015, 09:28 PM
|
#34
|
Human being with feelings
Join Date: Nov 2011
Location: Denver, CO, USA
Posts: 447
|
I just figured out my problem with this script (awesome work by the way).
It appears that the quantizing is affected by the grid "minimum pixels" setting.
Is there any way to decouple the script from this and just work on the snap division, ignoring the minimum pixels?
|
|
|
04-14-2015, 09:35 PM
|
#35
|
Human being with feelings
Join Date: Nov 2010
Posts: 2,436
|
Quote:
Originally Posted by djjedidiah
I just figured out my problem with this script (awesome work by the way).
It appears that the quantizing is affected by the grid "minimum pixels" setting.
Is there any way to decouple the script from this and just work on the snap division, ignoring the minimum pixels?
|
I actually have this solved in the SWS, I can export something like SnapToGridDivision(position) for the next SWS pre, so spk77 can reuse it in his script.
|
|
|
05-28-2015, 08:22 AM
|
#36
|
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
This is quantize-heaven for me :thumbsup:
Is it:
- all stretch-markers in item
or
- selected stretch-markers
or both?
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
|
|
|
06-12-2015, 08:06 AM
|
#37
|
Human being with feelings
Join Date: Oct 2009
Posts: 357
|
How can I install this?
|
|
|
06-24-2015, 05:20 AM
|
#38
|
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
I'll be looking forward to use this script.
Any chance for:
- Quantize stretch markers in time-selection?
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
|
|
|
06-24-2015, 05:28 AM
|
#39
|
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
I'd love to have a groove track in Reaper, one that I can Quantize my other tracks against.
Like having one main groove, then adding some triplets a few places, tweaking a few spots.
The quantize my bass, drums etc. to that, eg. 80%.
Would love that
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
|
|
|
09-27-2015, 09:15 AM
|
#40
|
Human being with feelings
Join Date: May 2011
Posts: 150
|
Hey spk77, any progress on the "move item" variation??
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:01 AM.
|