Pianoteq Default Options (Internal Sampling Rate)

Hi there,
I’m experimenting with Pianoteq 8 demo. love it! (And also my Zynthian :smiling_face_with_three_hearts:).
With some Overclocking I seams to work also fine with 44100 internal sampling (at least D6 :)) . But I have to switch this always via vnc.
I found a promising file: zynthian-data/pianoteq6/Pianoteq6.prefs and changed the value there but its still on 22050 when I restart Zynthian.
Can someone help me where I can set default options for Pianoteq?

now i found it :sweat_smile:
It is done at every start in zynthian-ui/zyngine/zynthian_engine_pianoteq.py (PIANOTEQ_CONFIG_INTERNAL_SR)

maybe this will help someone who wants to adapt that as well

It would be nice to be able to override these constant values in a user configuration file, I haven’t checked the code. Patching the code means that for every update you’ll have to update it again,