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

Reply
 
Thread Tools Display Modes
Old 05-18-2019, 08:27 AM   #1
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default Dfk Multiple Track Zero-Cross Detector (Optional: Place Env. Points)

[center]Disclaimer:
Test/use my scripts at your own risk. While it is atypical that a REAPER Lua script would damage or harm your hardware/software/data, I will not accept any liability if this were to occur. The download, installation, and operation of my scripting code and its structures are strictly an operative of free will, and signify an agreement to these terms. You are responsible for any damages that might occur, however unlikely. All my scripts are licensed as GPL v.3.
Suggested Instructions/Recommended Use:
1. Select multiple items.

1. Place a time-selection (not loop selection) over the portion of the selected items in which you want to 'find' the sample closest to being a multi-track zero-cross. Time-selection must be 5 seconds or less in length.

2. Run script.

3. Read message, and follow prompt.

NOTE: If you choose to place pre-volume envelope points, a 'V' shaped envelope will be created for each item at the sample closest to being a multi-track zero-cross. This 'V' will be equal in length to your grid division (i.e., 1/32), and does not require 'snap' to be enabled in order to properly operate.

4. Enjoy!
Comments:

Despite its name, this script only finds the sample point amongst items in a time-selection closest to being a zero-cross; as realistically, a true zero-cross wouldn't exist among multiple tracks/items. However, that's where the second function of the script comes into play. By placing pre-fx envelope points this script will actually take this sample-point of most similitude to a zero-cross and 'tweak' it into an actually zero-cross.

This script requires REAPER 5.979, SWS/S&M 2.10.0, and js_ReaScriptAPI .987

Here's the video for the v.1.0:


Release Log:[Size=-2]
[v.1.01]
-Recoded script for greater efficiency and speed
-Removed inability to process stereo items
-Changed envelope placement to length of one grid-division unit (i.e., 1/8, 1/16, 1/32, etc.)
-Altered script 'undo' handling

Last edited by Dafarkias; 03-26-2020 at 05:47 AM. Reason: Clarity
Dafarkias is offline   Reply With Quote
Old 05-18-2019, 08:52 AM   #2
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

The video doesn't work.
vitalker is offline   Reply With Quote
Old 05-18-2019, 08:59 AM   #3
Dafarkias
Human being with feelings
 
Dafarkias's Avatar
 
Join Date: Feb 2019
Location: Southern Vermont
Posts: 864
Default

Quote:
Originally Posted by vitalker View Post
The video doesn't work.
Thanks!

I was actually in the process of re-posting the video...

Should work now, I think?
Dafarkias is offline   Reply With Quote
Old 05-18-2019, 09:31 AM   #4
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by Dafarkias View Post
Should work now, I think?
Works now.
vitalker 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 02:13 PM.


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