Global settings and project file


#1

Hope it is not too hot with you guys, we have around 40 degrees here in Berlin…

I would like to save/load global parameters like directory paths into a global file
on disk while all parameters should go into the host its project file.

I am aware of setStateInformation/getStateInformation but where do I make the
distinction which one goes where?

Thanks for your input.


#2

May I should describe it some better…

My plugin has for example a file browser where you can set your favorite paths.
But the plugin also has its own parameter of cause. What I want to achieve is to save those favorite paths into a global
settings file to not always re-set the favorite paths when opening a new plugin instance while
all parameters should go into the host its project file.

Couldn’t figure out how to do this.

Thanks


#3

PropertiesFile?


#4

Thanks Jules,

can I make use of it inside the AudioProcessor its setStateInformation/getStateInformation methods
or is it dangerous?


#5

I don’t think there’d be any problem using it in there.


#6

Cool, thanks