|
|
|
09-17-2016, 03:29 PM
|
#1
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
EEL: Create stretch-markers at transients
The script will create stretch markers based on the detected transients.
This is EEL-script. EEL-version works totally faster than the Lua version, at least for me.
Short Info:- Threshold - The threshold in dB.
- Sensitivity - Min diff(in dB) between the fast and slow envelope. The smaller the value - more the detected transients.
- Retrig - Time of inactivity after the last trig in seconds.
LINK
Last edited by eugen2777; 09-24-2016 at 03:54 PM.
|
|
|
09-17-2016, 03:50 PM
|
#2
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
|
Nice, yes EEL is usually quite a bit faster for DSP type things
|
|
|
09-17-2016, 04:12 PM
|
#3
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Quite a bit, only ten times faster
It's amazing really.
|
|
|
09-17-2016, 09:53 PM
|
#4
|
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,688
|
Seems Great !
Can this be used to easily synchronize the (warped) BPM gird to a "non-clicked" recording ? (e.g. to synchronize the metronome with the Kick in the recording.)
(Silly me even after the tenth try of mastering tempo mapping, and reading the docs again and again, fails to understand the relation between the "Tempo Map" envelope in the master track, "Stretch Markers" and "Tempo/Time Change Signature Markers", and the resulting BPM modulation.)
-Michael
|
|
|
09-18-2016, 12:45 AM
|
#5
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Just tested on a full mp3 song, imported in Reaper.
It's blazing fast !
Now i only have to figure out the 3 settings, how to tweak them the proper way to just detect
kickdrum transients in a song, but after fiddling around with these settings, i can already see this script does a much greater job than the "native" transient detection in Reaper.
Many thanks, so happy with this !!
|
|
|
09-18-2016, 01:56 AM
|
#6
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@eugen2777
It's quite interesting that you made the two versions. The performance comparison is very impressive !!
What ReaScripts functions make such difference ?
|
|
|
09-18-2016, 02:28 AM
|
#7
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by X-Raym
@eugen2777
It's quite interesting that you made the two versions. The performance comparison is very impressive !!
What ReaScripts functions make such difference ?
|
I could guess the difference is in some code that accesses array elements a lot individually. Lua doesn't exactly shine with stuff like that.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
09-18-2016, 05:31 AM
|
#8
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Yes, it is. Lua very slowly retrieves the elements of the reaper.array. You can convert reaper.array to a table-array("list" in lua), that slightly improve the situation, but not much. Because other operations in Lua also performed significantly more slowly than in the EEL.
As an experiment, You can check the speed using a long loop and some operations. This will show the difference.
However, note that in eel the number of loop iterations is limited(1048576) - use a nested loop.
|
|
|
09-18-2016, 02:46 PM
|
#9
|
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,688
|
Quote:
Originally Posted by mschnell
Can this be used to easily synchronize the (warped) BPM gird to a "non-clicked" recording ? ...
|
Anybody ?!?!
-Michael
|
|
|
09-19-2016, 01:23 AM
|
#10
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
mschnell, Probably, it is possible. I'm not sure I could do it, but I can try. Moreover, it is unclear how it will work for a variety of audio material
|
|
|
09-19-2016, 01:31 AM
|
#11
|
Human being with feelings
Join Date: Jan 2008
Location: Vancouver, BC
Posts: 3,793
|
This will be very useful! Thanks as always.
__________________
FRs: v5 Media Explorer Requests, Global Quantization, Session View
Win10 Pro 64-bit, Reaper 6(x64), AMD 3950x, Aorus X570 Master, 64GB DDR4 3600, PowerColor Red Devil 5700XT, EVO 970 2TB, 10TB HD, Define R6
|
|
|
09-19-2016, 06:32 AM
|
#12
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
super nice and useful... thank you very much
btw, anyone know the file name for the cursor that is used to move the stretch markers?
|
|
|
04-10-2017, 06:02 AM
|
#13
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
eugen2777, I run your script from ReaPack ("Script: gen_Create stretch-markers at transients.eel") but it doesn't seem to do anything.. No stretch markers are created... Is it working?
Edit: It seems it cannot work if the take volume is not set to 0dB and/or if rate is not 1.0
|
|
|
04-10-2017, 06:23 AM
|
#14
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Quote:
Originally Posted by amagalma
eugen2777, I run your script from ReaPack ("Script: gen_Create stretch-markers at transients.eel") but it doesn't seem to do anything.. No stretch markers are created... Is it working?
Edit: It seems it cannot work if the take volume is not set to 0dB and/or if rate is not 1.0
|
Well, I will fix it soon. And maybe I'll add a filter.
|
|
|
04-10-2017, 07:44 AM
|
#15
|
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,688
|
Great news !
I hope in can be used for the purpose I mentioned above.
-Michael
|
|
|
04-11-2017, 01:14 AM
|
#16
|
Human being with feelings
Join Date: Jan 2015
Posts: 794
|
Quote:
Originally Posted by eugen2777
The script will create stretch markers based on the detected transients.
This is EEL-script. EEL-version works totally faster than the Lua version, at least for me.
Short Info:- Threshold - The threshold in dB.
- Sensitivity - Min diff(in dB) between the fast and slow envelope. The smaller the value - more the detected transients.
- Retrig - Time of inactivity after the last trig in seconds.
LINK
|
Thanks nice! What is the difference of this vs using Dynamic Split with "write stretch markers to selected items" option selected?
g
|
|
|
04-13-2017, 02:08 AM
|
#17
|
Human being with feelings
Join Date: Mar 2015
Location: India Mumbai
Posts: 816
|
slamming script
EUGEN !
love it
|
|
|
06-04-2017, 05:59 AM
|
#18
|
Human being with feelings
Join Date: May 2016
Posts: 369
|
Quote:
Originally Posted by Justin
Nice, yes EEL is usually quite a bit faster for DSP type things
|
you guys should hire eugen for a limited contract and let him build his awesome scripts as native c++ and tightly integrated part of the reaper daw.
his ideas (the drumtrigger, compressor ) are good enough to warrant native implementation imo
just think what this guy can do if he has complete access to everything and isn´t held back by script accessibility limitations
|
|
|
06-04-2017, 06:03 AM
|
#19
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
I totally agree with you.
|
|
|
12-10-2018, 03:05 PM
|
#20
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
Quote:
Originally Posted by eugen2777
Well, I will fix it soon. And maybe I'll add a filter.
|
Hello eugen! Have you ever made this version?
|
|
|
07-15-2021, 01:24 PM
|
#21
|
Human being with feelings
Join Date: Dec 2019
Posts: 588
|
possible to disable the popup menu when say I have the values I always use ?
|
|
|
05-09-2022, 02:54 AM
|
#22
|
Human being with feelings
Join Date: Sep 2021
Posts: 2
|
Not working. Says "unexpected character before /"
|
|
|
05-09-2022, 04:26 AM
|
#23
|
Human being with feelings
Join Date: Jul 2020
Posts: 724
|
Quote:
Originally Posted by EdPeterson
Not working. Says "unexpected character before /"
|
Still works perfectly for me. Did you install the script through ReaPack?
|
|
|
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 07:27 PM.
|