View Single Post
Old 03-23-2017, 03:16 PM   #1446
mlprod
Human being with feelings
 
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,344
Default

Quote:
Originally Posted by X-Raym View Post
@mlprod
Indeed, it is possible.

I don't plan to release that as a new script as it is a bit too specific, but here is some code to help you mod the script :

What you have to do is to add
Code:
zoom = reaper.GetHZoomLevel()
Somewhere at the top of the script (after user variable definition for eg).

Then, find the Set fades functions and divide the whole value by the zoom level this way
Code:
reaper.SetMediaItemInfo_Value(item, "D_FADEINLEN", value/zoom)
But there is few calculations with fades in seconds inside my script which check for fades overlapping, this may a bit more complicated to deal with, but the part without overlapping, (line 133), it is prety straighforward.

Hope that help !
Thanks a lot!
Please pm me your paypal address as your button leads to some non secure stuff that my browser doesnt like.
mlprod is offline   Reply With Quote