Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-04-2014, 04:32 AM   #1
lossius
Human being with feelings
 
Join Date: Jul 2011
Location: Bergen, Norway
Posts: 123
Default 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.
lossius is offline   Reply With Quote
 

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 11:22 PM.


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