I have one of the strangest issues I have ever had with process.audio Sugar and Pro Tools on mac OS. It’s related to automation and the key shortcuts in Pro Tools. In Sugar, there are three big sliders on the bottom for controlling some filters cutoff frequencies and a gain. The issue happens only for them.
In Pro Tools, it is possible to enable automation for a given parameter by clicking on it and using the keys CTRL+CMD+OPT at the same time. For that thing to work, we need to write the content of the function PluginEditor::getControlParameterIndex() to tell Pro Tools some controls are associated with some parameter indexes, and that shortcut works.
There is also another shortcut, CTRL+CMD+click on the same control, which shows in the Pro Tools UI track the curve of the associated parameter automation. Then it is possible to draw a curve and to do whatever you want there. It is also possible to select the parameter automation curve you want to see by selecting it in a combo box displayed on the left of the track waveforms in Pro Tools. These two methods are supposed to be equivalent to show the wanted parameter automation curve.
However, for a reason I don’t get, if I use the two previous shortcuts to enable automation + to display the curve, I can draw whatever I want and play the track, the three parameters I have written before won’t move at all ! If I close the UI, or replace the use of the second shortcut with clicking on the combo box and then drawing the curve, automation works as expected. In the case the automation is doing nothing, the setParameters functions in juce_AAX_Wrapper.cpp are not even called during playback. And once I do anything to make that automation curve do something (closing the UI, selecting another automation parameter with a ComboBox), the given parameter automation works.
I have even put a breakpoint during the call of PluginEditor::getControlParameterIndex() to be sure the index given is the right one, and everything seems to work there. I don’t know what to do to solve that issue…
Has someone any idea about why this is happening ? Have you ever seen something like this ?
Thanks in advance !