|
|
Thread Tools | Display Modes |
10-04-2014, 04:32 AM | #1 |
Human being with feelings
Join Date: Jul 2011
Location: Bergen, Norway
Posts: 125
|
JS plugin automation data generated by GUI is not always properly recorded (FIXED)
Unless I'm doing something wrong when developing JS plugins, I believe that there is an issue when recording automation data from JS plugins with a GUI:
If you set a track to "Touch" track automation mode, and then interact with JS plugin parameters via a custom GUI, the plugin parameters are not automatically added to the list of parameters to record automation data for, and hence the automation data is not being recorded as supposed to. Here are steps to reproduce: 1) Copy the following code into a new JSFX plugin (and call it e.g. automationtest): https://gist.github.com/lossius/82dd259a50c35f304148 2) Create a Reaper project with a stereo track, and add a stereo sound file onto this track. 3) Add the "automationtest" plugin to the track. 4) Set the track to use "Touch" track automation mode. 5) Start playing from the start, and move the red circle in the plugin gui (you need to click and drag in the GUI to move it). Result: The 2 sliders in the plugin moves, but automation is being recorded. 6) Start playing from the start again, and touch each of the sliders displayed above the gui. Result: Automation is registered. 7) Now play from the start again, and move the circle about. Result: Now automation data is being recorded as expected. NOTE: This issue is not only affecting the Touch Track Automation Mode, the same thing happens with Latch and Write modes. |
Thread Tools | |
Display Modes | |
|
|