After adjusting the AUv2 plug-in parameters and stopping the DAW playhead, the plug-in parameters are reset to the default Faust dsp code values (this is noticeable if I start the playhead again, but visually the position of the knobs does not change).
It is not very good that the user has to adjust the parameters each time again. This problem is not observed in VST3 plug-in (tested in Live 10), but is present in the AudioUnit v2 (Logic Pro X 10.5, macOS Catalina).
example from project with parameter control initialization:
After adjusting the AUv2 plug-in parameters and stopping the DAW playhead, the plug-in parameters are reset to the default Faust dsp code values (this is noticeable if I start the playhead again, but visually the position of the knobs does not change). It is not very good that the user has to adjust the parameters each time again. This problem is not observed in VST3 plug-in (tested in Live 10), but is present in the AudioUnit v2 (Logic Pro X 10.5, macOS Catalina).
example from project with parameter control initialization:
I will be grateful for any help on storing parameters without resetting.